Class: Orderdtl_DataDictionary

Module location: ORDERDTL.DD line 18 (view source)

Class Hierarchy:

Orderdtl_DataDictionary

Class Definition

Functions and Procedures

Adjust_Balances(Number Qty Number Amt)
Called by Backout and Update passing the quantity and the extended price. Subtract quantity from Invt on-hand and add extended amnt to order total.
Adjust_Display_total()
This updates the extended price field, which will update any display balances. This is only done for display purposes. The actual amount is updated to the field during the save.
Backout()
Define_Fields()
Entering_Price(integer Field# Number nAmnt)
when entering the price field we may wish to update the current field value with the standard unit price from the Invt file. Only do this if the current amount is zero. If non zero we assume the field is being edited (and we make no assumptions).
Field_Defaults()
Field_Defaults: This procedure is used to establish default field values.
Update()
Update and Backout need to adjust the Invt.On_Hand quantity, the dtl line's extended price and the OrderHea total. We will call the same procedure (Adjust_Balances) to insure that backout and update are inverses of each other. Note that Backout does not need to change the extended_price. This only gets changed as part of update.

References (3):

ModuleContaining SymbolLine
DUPBPO.PKGSource_Orderdtl_DD17
DUPBPO.PKGOrderdtl_DD41
ORDERENT.VWORDERDTL_DD61