GetPOHdrUOMTaxFreightPriceInfo

Get PO Hdr UOM, Tax, Freight, and Pricing Information

Minor Business Rule

Object Name: B4300180

Parent DLL: CDIST

Location: Client/Server

Language: C

This business function will return the Unit of measures, taxes, Freight and Pricing information a pointer which will access  the purchase order 
header data^

Data Structure

D4300180 - Get PO Hdr UOM, Tax, Freight, and Pricing Information

Parameter NameData ItemData TypeReq/OptI/O/Both
idPointerToF4301DSGENLNGIDNONENONE

General purpose ID variable.

szWeightDisplayUoMWUMDcharNONENONE

A user defined code (00/UM) that identifies which unit of measure the system should use to display the weight of individual order lines and 
the order as a whole for this customer when you use the order summary form.

szVolumeDisplayUoMVUMDcharNONENONE

A user defined code (00/UM) that identifies the unit of measure that the system uses to display volume for this branch/plant. The system 
inputs a value in this field from Branch/Plant Constants - Page 2 (P410012). You can override this default value.

szTaxExplanationCodeEXR1charNONENONE

A hard-coded user defined code (00/EX) that controls the algorithm that the system uses to calculate tax and G/L distribution amounts. The 
system uses the tax explanation code in conjunction with the tax rate area and tax rules to determine how the tax is calculated. Each 
transaction pay item can be defined with a different tax explanation code.

szTaxAreaTXA1charNONENONE

A code that identifies a tax or geographic area that has common tax rates and tax authorities. The system validates the code you enter 
against the Tax Areas table (F4008). The system uses the tax rate area in conjunction with the tax explanation code and tax rules to calculate tax 
and G/L distribution amounts when you create an invoice or voucher.

szCertificateTaxExemptTXCTcharNONENONE

The number that tax authorities issue to tax-exempt individuals and companies to identify their tax-exempt status.

szFreightHandlingCodeFRTHcharNONENONE

A user defined code (42/FR) designating the method by which supplier shipments are delivered. For example, the supplier could deliver to 
your dock, or you could pick up the shipment at the supplier's dock. You can also use these codes to indicate who has responsibility for 
freight charges. For example, you can have a code indicating that the customer legally takes possession of goods as soon as they leave the 
supplier warehouse and is responsible for transportation charges to the destination.

szModeOfTransportMOTcharNONENONE

A user defined code (00/TM) that describes the nature of the carrier being used to transport goods to the customer. For example, by rail, by 
road, and so on.

szConditionsOfTransportCOTcharNONENONE

The conditions of transport (or terms of delivery) are taken from the Sales Order Header File table (F4201) or the Purchase Order Header 
table (F4301). The Terms of Delivery field (FRTH) in the header file is only one character. To obtain the required three-character explanation 
for EU VAT reporting, the second explanation of category code 42/FR is used. To provide descriptions when pressing F1 on the field for the 
Intrastat Workfile Reivision program (P0018T), set up a user defined code 00/TC to correspond to the three-character explanation. Sample 
codes include the following: EXW Ex works   FOB Free on board   CIF Carriage, insurance, freight   DUP Delivered duty paid   DDU Delivered duty 
unpaid   xxx Others

cCalculateFreightFRTCcharNONENONE

Indicator typically updated by the freight calculation facility so that freight, once calculated and added to an order, will not be added again 
by accident.    blank Record has not been processed.    1     Record has been processed, but an error was encountered.    2     Record has 
been processed successfully.

szPricingGroupPRGPcharNONENONE

A user defined code (system 40/type PC) identifying the pricing group associated with this customer or supplier:     o For sales orders, you 
assign a pricing group to a customer through the Customer Billing Instructions. Groups typically contain customers with common pricing 
characteristics, such as retailers, wholesalers, and so forth.     o For purchase orders, you assign a pricing group to a supplier through the Supplier 
Billing Instructions.

szPaymentTermsCodePTCcharNONENONE

A code that specifies the terms of payment, including the percentage of discount available if the invoice is paid by the discount due date. 
Use a blank code to indicate the most frequently-used payment term. You define each type of payment term on the Payment Terms Revisions 
form. Examples of payment terms include: Blank Net 15 001      1/10 net 30 002      2/10 net 30 003      Due on the 10th day of every month 006     
Due upon receipt  This code prints on customer invoices.

cSuppressErrorMessagesEV01charNONENONE

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

szErrorMessageIDDTAIcharNONENONE

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

cModeFCRRMcharNONENONE

An option that specifies whether the system displays amounts in the domestic or foreign currency. On  The system displays amounts in the 
foreign currency of the transaction. Off  The system displays amounts in the domestic currency of the transaction.

szCurrencyCodeCRCDcharNONENONE

A code that identifies the currency of a transaction. 

mnExchangeRateCRRMATH_NUMERICNONENONE

A number (exchange rate) that a foreign currency amount is multiplied by to calculate a domestic currency amount.  The number in this field 
can have a maximum of seven decimal positions. If more are entered, the system adjusts to the nearest seven decimal positions. 

szHoldCodeHOLDcharNONENONE

A user defined code (42/HC) that identifies why an order is on hold.

szLandedCostRulePRP5charNONENONE

A user defined code (41/P5) that indicates the landed cost rule for an item. The landed cost rule determines purchasing costs that exceed 
the actual price of an item, such as broker fees or commissions. You set up landed cost rules on the Landed Cost Revisions form.

mnOrderGrossAmountOTOTMATH_NUMERICNONENONE

The total value of all lines on the order that have not been shipped and billed to the customer.

mnForeignOpenAmountFAPMATH_NUMERICNONENONE

The unpaid foreign amount of a transaction.

Related Functions

None

Related Tables

F4301 Purchase Order Header