Construct_Object()
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.
Backout()
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.
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).
- Integer
hoInvtDD - Boolean
bHasRecord
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.
- Integer
iQty - Number
nAmnt
Field_Defaults()