Class: OrderDtl_DataDictionary

Module location: OrderDtl.dd line 10 (view source)

Class Hierarchy:

cObjectBaseData_SetDataSetDataDictionaryOrderDtl_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(Integer iField String sValue)
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()
Construct_Object()
Inherited from DataDictionary
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 and an item was actually picked. If non- zero or no item picked, we assume the field is being edited (and we make no assumptions).
Field_Defaults()
Inherited from DataDictionary
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 (7):

ModuleContaining SymbolLine
CustomerAndOrderInfo.woOrderDtl_DD118
ItemsPerOrderWP.rvOrderdtl_DD43
Order.vwOrderDtl_DD48
OrderDtlReport.woOrderDtl_DD40
OrdersByCustomerWP.rvOrderdtl_DD48
OrdersWP.rvOrderdtl_DD43
TestService.woOrderDtl_DD51