CalculateInvoicePricing

Calculate Invoice Pricing

Minor Business Rule

Object Name: B4200400

Parent DLL: CDIST

Location: Client/Server

Language: C

This function calculates three fields:   Extended Price, Extended Cost, and Profit Percent
^

Data Structure

D4200400 - Calculate Invoice Pricing

Parameter NameData ItemData TypeReq/OptI/O/Both
cIncludeBackorderQtyEV01charNONENONE

An option that specifies the type of processing for an event.

cReturnAmountInForeignCurrencyEV02charNONENONE

An option that specifies the type of processing for an event.

cMultiCurrencyModeEV03charNONENONE

A radio button that specifies the level at which trace/track result is to be displayed.  Select the Detail to display all transactions except IB, IX, 
and IZ types.  Or, select Derivative Lots Only to display only those transactions that may have created new derivative lot. 

cTextLineYNTXYNcharNONENONE

A code that indicates whether the information with this order line type contains only text information. In World software, valid values are:    Y 
This line contains only text information.    N This line contains more than text information. In OneWorld, a checkmark indicates that the 
information with this order line type contains only text information.

cInventoryInterfaceFlagIVIcharNONENONE

A code that identifies the type of interface to the Inventory Management system. Valid values are:    Y The dollar or unit value of any activity 
containing this line type will be reflected in inventory. The system also edits the item that you enter to ensure that it is a valid item. Y is the 
default.    A The system recognizes the number that you enter as a G/L account number. The system uses this code in purchasing only.    B The 
system performs edits when using format 4 in purchase order entry.        The system retrieves price data from the inventory tables, but does not 
update the quantity on the purchase order. This code is valid only when you have set the G/L Interface field to Y (yes). Budget checking is 
fully functional when you use this interface code.    D The item in this line is an inventory item that will not affect availability or quantities.    N The 
item is not an inventory item. To verify whether the item exists in the Item Master file, use Inventory Interface N in conjunction with the flag, Edit 
the Item Master for Non-Stock Items.

szBranchPlantMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szUnitOfMeasureUOMcharNONENONE

A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box).

szPrimaryUOMUOM1charNONENONE

A user defined code (00/UM) that identifies the unit of measure that the system uses to express the quantity of an item, for example, EA 
(each) or KG (kilogram).

szPricingUOMUOM4charNONENONE

A user defined code (00/UM) that indicates the unit of measure in which you usually price the item.

mnShortItemNumberITMMATH_NUMERICNONENONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szRelatedKitItemNumberRLITcharNONENONE

If an individual item of inventory is sold as a component of a kit or assembly (single level bill-of-materials), the item number of that kit is the 
'related'item number.

mnQuantityShippedSOQSMATH_NUMERICNONENONE

The number of units committed for shipment in Sales Order Entry, using either the entered or the primary unit of measure defined for this 
item. In the Manufacturing system and Work Order Time Entry, this field can indicate completed or scrapped quantities. The quantity type is 
determined by the type code entered.

mnQuantityBackorderedSOBKMATH_NUMERICNONENONE

The number of units backordered in Sales Order Management or in Work Order Processing, using either the entered or the primary unit of 
measure defined for this item.

mnExtendedPriceAEXPMATH_NUMERICNONENONE

The number of units multiplied by the unit price.

mnForeignExtendedPriceFEAMATH_NUMERICNONENONE

The product of the foreign price times the number of units.

mnUnitPriceUPRCMATH_NUMERICNONENONE

The list or base price to be charged for one unit of this item. In sales order entry, all prices must be set up in the Item Base Price File table 
(F4106).

mnForeignUnitPriceFUPMATH_NUMERICNONENONE

The foreign price per unit.

mnExtendedCostECSTMATH_NUMERICNONENONE

For accounts receivable and accounts payable, the invoice (gross) amount. For sales orders and purchase orders, the unit cost times the 
number of units.

mnForeignExtendedCostFECMATH_NUMERICNONENONE

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

mnUnitCostUNCSMATH_NUMERICNONENONE

The amount per unit, derived by dividing the total cost by the unit quantity.

mnForeignUnitCostFUCMATH_NUMERICNONENONE

Amount - Foreign Unit Cost

cSuppressErrorMessageEV04charNONENONE

PeopleSoft event point processing flag 04.

mnOutputExtendedPriceAAMATH_NUMERICNONENONE

A number that identifies the amount that the system will add to the account balance of the associated account number.  Enter credits with a 
minus sign (-) either before or after the amount. 

mnOutputExtendedCostAA1MATH_NUMERICNONENONE

A number that identifies the actual amount.

mnOutputProfitPercentPCTMATH_NUMERICNONENONE

An abbreviation for percentage.

cErrorCodeERRCcharNONENONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

Related Functions

B4000520 Get Item UoM Conversion Factor
B4002000 Compute Unit Or Extended Amount
B4200170 Calculate Profit Percentage

Related Tables

None