1.Functional Description
1.1Purpose
The Business Function will retrieve Configured Parent Order Number based on System Code,
Order Number, Order Type , Line Number, Company Key and Order Suffix.
Note: Optional parameters are: Company Key and Order Suffix (if not loaded they will be internally represented as "*").
This function will return Configured Parent Order Number as ZERO if there is NO parent Order Number.
Note: if there is an error the error message is passed back.
1.2Setup Notes and Prerequisites
F3201 and F3215 records are written.
1.3Special Logic
The Business Function involves no special Logic
2.Technical Specifications
2.1Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
SYSystem CodeIY
DOCOOrder NumberIY
DCTOOrder TypeIY
KCOOCompany
KeyIN
LNIDLine NumberIY
SFXOOrder SuffixIN
SUPPSSuppress Error MessageIN
DTAIError Message IDON
DOCOParent Order Number OY
2.2Related Tables
Table Table Description
F3215Configurator Component Table
2.3Related Business Functions
Source NameFunction Name
2.4Processing
Configured Parent ID = zero
Error Message = " "
Call N3201410 to get Configuration ID and Component ID
Open F3215
If Open is successful
Perform F3215SelectFetchKeyed (using partial primary index)
If Fetch was successful
Save Parent ID Number (to be used as Component ID)
If (Parent ID Number > zero)
Call N3201410 to get Parent Order Number
Else
Load Error Message with the proper code.
End If
Else
Load Error Message with the proper code.
End If
Close F3215
Else
Load Error Message with the proper code.
End If
If (BF Error Message ID && Configured Parent ID <= zero)
Set Error
End If
D3201490 - GetConfigParentOrder
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szSystemCode | SY | char | OPT | NONE |
A user defined code (98/SY) that identifies a system. Valid values include:
01
Address Book
03B
Accounts Receivable
04
Accounts
| ||||
mnOrderNumber | DOCO | MATH_NUMERIC | OPT | NONE |
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry,
| ||||
szOrderType | DCTO | char | OPT | 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
| ||||
szCompanyKey | KCOO | char | OPT | NONE |
A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a
| ||||
mnLineNumber | LNID | MATH_NUMERIC | OPT | NONE |
A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns
| ||||
szOrderSuffix | SFXO | char | OPT | NONE |
In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies
| ||||
cSuppressErrorMessage | SUPPS | char | OPT | NONE |
A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.
0 = allow
| ||||
szErrorMessageID | DTAI | char | OPT | NONE |
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
| ||||
mnParentOrderNumber | DOCO | MATH_NUMERIC | OPT | NONE |
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry,
|
None |
None |