Functional Description
Purpose
Update all the detail records related to this order with the Supplier number and Ship-to address from
the header file. This is in the event that the header file has been changed.
Technical Specification
Edits:
None
Retrievals:
Retrieve all the records from the F4311 table (Purchase Order Detail) using the DOCO, DCTO and KCOO
as key. THERE WILL PROBABLY BE MULTIPLE OCCURANCES.
For each record fetched, update the field AN8 from F4311 with the AN8 from the Data Structure and
SHAN from F4311 with SHAN from the Data Structure.
Update the following fields before update of fetched record :
PDUSER
PDPID
PDJOBN
PDUPMJ
PDTDAY
PID is taken from the GBR Data Structure.
The Other fields are retrieved from the Business Function called GetAuditInfo.
These are :
char szUserName[11]; -> PDUSER
JDEDATE jdDate; -> PDTDAY
MATH_NUMERIC mnTime; -> PDUPMJ
char szWorkstation_UserId[11]; -> PDJOBN
Update the F4311 record fetched.
D4300090 - UPdatePODetailFromHeader
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
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,
| ||||
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
| ||||
mnDocumentNumber | DOCO | MATH_NUMERIC | NONE | NONE |
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry,
| ||||
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
| ||||
szDocumentType | DCTO | char | NONE | NONE |
A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has
| ||||
szKeyCompany | KCOO | char | NONE | NONE |
A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a
|
B9800100 Get Audit Information |
F4311 Purchase Order Detail File |