CalculateAmtAndQtyOnReversal

Calculate Amount and Quantity on Reversal

Minor Business Rule

Object Name: B4300450

Parent DLL: CDIST

Location: Client/Server

Language: C

This function calculates the PO open and received amounts after a reversal has taken place
^

Data Structure

D4300450 - Calculate Amount and Quantity on Reversal

Parameter NameData ItemData TypeReq/OptI/O/Both
mnPOUnitsOnOrderUORGMATH_NUMERICNONENONE

The quantity of units affected by this transaction.

mnPOUnitsOnHoldUCHGMATH_NUMERICNONENONE

The number of units that are on hold.

mnPOUnitsOpenUOPNMATH_NUMERICNONENONE

The original quantity for the order detail line, plus or minus any changes to that quantity, minus all quantities shipped, received, and 
vouchered to date.

mnPOAmountOpenAOPNMATH_NUMERICNONENONE

The amount of the order, invoice, or voucher that is still unpaid or open. When you enter a document (for example, an order, invoice, or 
voucher), the open amount is the original amount of that document. If you change the original amount, the open amount is reduced by the net 
change. For example,payments, shipments, or receipts against a document result in a reduction of the open balance.

mnPOUnitPricePRRCMATH_NUMERICNONENONE

The unit cost of one item, as purchased from the supplier, excluding freight,taxes, discounts, and other factors that might modify the actual 
unit cost you record when you receive the item.

mnConvFromUOM3ToPrimeCONVMATH_NUMERICNONENONE

The factor that the system uses to convert one unit of measure to another unit of measure.

mnConvFromUOMToPrimeCONVMATH_NUMERICNONENONE

The factor that the system uses to convert one unit of measure to another unit of measure.

mnPOExtendedPriceAEXPMATH_NUMERICNONENONE

The number of units multiplied by the unit price.

mnPOHoldAmountACHGMATH_NUMERICNONENONE

The value of the units on hold.

mnUnitsToReverseUOPNMATH_NUMERICNONENONE

The original quantity for the order detail line, plus or minus any changes to that quantity, minus all quantities shipped, received, and 
vouchered to date.

mnClosedUnitsOnReceiptUCLOMATH_NUMERICNONENONE

The quantity of the order line which has been either closed during the matching process or canceled.

mnOpenAmountOnReceiptAOPNMATH_NUMERICNONENONE

The amount of the order, invoice, or voucher that is still unpaid or open. When you enter a document (for example, an order, invoice, or 
voucher), the open amount is the original amount of that document. If you change the original amount, the open amount is reduced by the net 
change. For example,payments, shipments, or receipts against a document result in a reduction of the open balance.

mnClosedAmountOnReceiptACLOMATH_NUMERICNONENONE

The dollar value of the order line which has been either closed during the matching process or canceled.

mnUpdatedPOUnitsReceivedURECMATH_NUMERICNONENONE

The original quantity of the order line, plus or minus any changes to that quantity, less all quantities shipped, received and/or vouchered to 
date. This number can also be the actual quantity received.

mnUpdatedPOAmountReceivedARECMATH_NUMERICNONENONE

The value of the goods received to date against the original order line.

mnPOFAmountOpenFAPMATH_NUMERICNONENONE

The unpaid foreign amount of a transaction.

mnPOFUnitPriceFUCMATH_NUMERICNONENONE

Amount - Foreign Unit Cost

mnPOFExtendedPriceFECMATH_NUMERICNONENONE

The product of the cost of an item, expressed in foreign currency according to the orders exchange rate, times the number of units.

mnPOHoldFAmountFCHGMATH_NUMERICNONENONE

The change amount of a detail line on an Order.  This is stated as the foreign change amount which is converted by the exchange rate 
between the domestic and supplier currency codes.

mnOpenFAmountOnReceiptFAPMATH_NUMERICNONENONE

The unpaid foreign amount of a transaction.

mnClosedFAmountOnReceiptFCLOMATH_NUMERICNONENONE

The dollar value of the order line which has been either closed during the matching process or canceled.

cCurrencyProcessingCRYRcharNONENONE

A code that specifies whether to use multi-currency accounting, and the method of multi-currency accounting to use: Codes are:    N Do not 
use multi-currency accounting. Use if you enter transactions in only one currency for all companies. The multi-currency fields will not appear 
on forms. The system supplies a value of N if you do not enter a value.    Y Activate multi-currency accounting and use multipliers to convert 
currency. The system multiplies the foreign amount by the exchange rate to calculate the domestic amount.    Z Activate multi-currency 
accounting and use divisors to convert currency. The system divides the foreign amount by the exchange rate to calculate the domestic amount.

mnUpdatedPOFAmountReceivedFRECMATH_NUMERICNONENONE

Amount - Received Foreign

Related Functions

None

Related Tables

None