This function will return information from the purchase order header data structure created in
memory by GetPurchaseOrderHeader.
The function GetPurchaseOrderHeader must be run before this function is called to build the data
structure in memory
D4300190 - Return Purchase Order Header Information
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
idPointerToF4301DS | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
mnSupplierNumber | AN8 | MATH_NUMERIC | NONE | NONE |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
mnShipToAddress | SHAN | MATH_NUMERIC | NONE | NONE |
The address number of the location to which you want to ship this order. The address book provides default values for customer address,
| ||||
szBranchPlant | MCU | char | NONE | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
szOrderedBy | ORBY | char | NONE | NONE |
SALES ORDER SYSTEM: An optional entry field, intended for the name of the customer placing the order. | ||||
szOrderTakenBy | TKBY | char | NONE | NONE |
SALES ORDER SYSTEM: An optional entry field, intended for the name of the individual taking the customer's order. If you do not enter a
| ||||
szOrderHoldCode | HOLD | char | NONE | NONE |
A user defined code (42/HC) that identifies why an order is on hold. | ||||
cAssociatedTextFlag | ATXT | char | NONE | NONE |
This is a one byte flag that is used to determine whether or not a specific line item on a sales or purchase order has additional extended
| ||||
cPurchaseOrderStatus | OSTS | char | NONE | NONE |
This field identifies the status of a purchase order. The following lists the possible values: blank New 1 Amended | ||||
mnOrderTotalDomestic | OTOT | MATH_NUMERIC | NONE | NONE |
The total value of all lines on the order that have not been shipped and billed to the customer. | ||||
mnOrderTotalForeign | FAP | MATH_NUMERIC | NONE | NONE |
The unpaid foreign amount of a transaction. | ||||
cCurrencyMode | CRRM | char | NONE | NONE |
An option that specifies whether the system displays amounts in the domestic or foreign currency.
On
The system displays amounts in the
| ||||
szCurrencyCode | CRCD | char | NONE | NONE |
A code that identifies the currency of a transaction. | ||||
mnExchangeRate | CRR | MATH_NUMERIC | NONE | NONE |
A number (exchange rate) that a foreign currency amount is multiplied by to calculate a domestic currency amount.
The number in this field
| ||||
szUserID | USER | char | NONE | NONE |
The code that identifies a user profile. | ||||
szProgramID | PID | char | NONE | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
szJobNumber | JOBN | char | NONE | NONE |
The code that identifies the work station ID that executed a particular job. | ||||
jdDateUpdated | UPMJ | JDEDATE | NONE | NONE |
The date that specifies the last update to the file record. | ||||
mnTimeOfDay | TDAY | MATH_NUMERIC | NONE | NONE |
The computer clock in hours:minutes:seconds. |
None |
F4301 Purchase Order Header |