Write the transaction log using Table 10.1 from the textbook as your guide. Assume that product ‘ABCD’ has a PROD_QOH = 1,214 at the start of the transaction and that the transaction is representing the addition of 1 new product. Also assume that PART components “AAAA”, “BBBB”, “CCCC” and “DDDD” have a PROD_QOH equal to 547, 108, 249, and 89 respectively.

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter8: Arrays
Section: Chapter Questions
Problem 3E
icon
Related questions
Question
  1. Write the transaction log using Table 10.1 from the textbook as your guide. Assume that product ‘ABCD’ has a PROD_QOH = 1,214 at the start of the transaction and that the transaction is representing the addition of 1 new product. Also assume that PART components “AAAA”, “BBBB”, “CCCC” and “DDDD” have a PROD_QOH equal to 547, 108, 249, and 89 respectively.

ACTION ITEMS
Suppose you are a manufacturer of product ABCD, which is composed of parts AAAA, BBBB,
CCCC and DDDD. Each time a new product is created, it must be added to the product
inventory, using the PROD_QOH in a table named PRODUCT. And each time the product
ABCD is created, the parts inventory, using PART_QOH in a table named PART, must be
reduced by one each for parts AAAA, BBBB, CCCC and DDDD. The sample database contents
are shown below for these items:
Tablename: PRODUCT
Tablename: PART
PROD_QOH
1,214
PROD_CODE
PART_CODE
PART_QOH
АВCD
AAAA
547
BBBB
108
CCCC
249
DDDD
89
Transcribed Image Text:ACTION ITEMS Suppose you are a manufacturer of product ABCD, which is composed of parts AAAA, BBBB, CCCC and DDDD. Each time a new product is created, it must be added to the product inventory, using the PROD_QOH in a table named PRODUCT. And each time the product ABCD is created, the parts inventory, using PART_QOH in a table named PART, must be reduced by one each for parts AAAA, BBBB, CCCC and DDDD. The sample database contents are shown below for these items: Tablename: PRODUCT Tablename: PART PROD_QOH 1,214 PROD_CODE PART_CODE PART_QOH АВCD AAAA 547 BBBB 108 CCCC 249 DDDD 89
TABLE 10.1
A TRANSACTION LOG
TRL_ TRX_
PREV
NEXT
OPERATION TABLE
ROW ID
ATTRIBUTE BEFORE AFTER
ID
NUM
PTR
PTR
VALUE
VALUE
341
101
Null
352
START
****Start
Transaction
352
101
341
363
UPDATE
PRODUCT
1558-QW1 PROD_QOH
25
23
363
101
352
365
UPDATE
CUSTOMER
10011
CUST_
525.75
615.73
BALANCE
365
101
363
Null
COMMIT
**** End of
Transaction
TRL_ID = Transaction log record ID
TRX_NUM =Transaction number
PTR = Pointer to a transaction log record ID
(Note: The transaction number is automatically assigned by the DBMS.)
%3D
Transcribed Image Text:TABLE 10.1 A TRANSACTION LOG TRL_ TRX_ PREV NEXT OPERATION TABLE ROW ID ATTRIBUTE BEFORE AFTER ID NUM PTR PTR VALUE VALUE 341 101 Null 352 START ****Start Transaction 352 101 341 363 UPDATE PRODUCT 1558-QW1 PROD_QOH 25 23 363 101 352 365 UPDATE CUSTOMER 10011 CUST_ 525.75 615.73 BALANCE 365 101 363 Null COMMIT **** End of Transaction TRL_ID = Transaction log record ID TRX_NUM =Transaction number PTR = Pointer to a transaction log record ID (Note: The transaction number is automatically assigned by the DBMS.) %3D
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Transaction Processing
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L