1.Functional Description
1.1Purpose
The Business Function will retrieve Configuration ID (CFGID) based on System Code,
Order Number, Order Type, Line Number, Company Key and Order Suffix (Regular Mode).
Note: Optional parameters are: Company Key and Order Suffix (if not loaded they will be internally represented as "*").
Line Number is not being used for System Code "48" (Work Oder).
This function will return CFGID and CFGCID as zero if there is an error (in addition to the error message).
The same Business Function will retrieve Order Number, Order Type, Line Number, Company Key and Order Suffix, based on System Code ,
Configuration ID and Component ID (Reverse Mode).
1.1Setup Notes and Prerequisites
F3201 records are written.
1.2
1.3Special Logic
The Business Function involves no special Logic
2.Technical Specifications
2.1Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
SYSystem CodeIY
DOCOOrder NumberI/OY** Required as input for regular
mode
DCTOOrder TypeI/OY*
KCOOCompany KeyI/ON
LNIDLine NumberI/OY*
SFXOOrder SuffixI/ON
SUPPSSuppress Error MessageIN
DTAIError Message
IDON
CFGIDConfiguration ID #O/IY**** Required as input for reverse mode
CFGCIDComponent IDO/IY**
2.2Related Tables
Table Table Description
F3201Configured Master
2.3Related Business Functions
Source NameFunction Name
N3201130
2.4Processing
Component ID = zero
Open F3201
If Open is successful
If (Company Key <= BLANK)
Company Key = "*"
End If
If (Order Suffix <= BLANK)
Order Suffix = "*"
End If
If System Code == "48"
Perform SelectFetchKeyed(using partial key (without line number)
Else
Perform SelectFetchKeyed (using full secondary index)
Perform SelectFetchKeyed (using full primary index)
If Fetch was NOT successful
Load Error Message with the proper code.
End If
End If
Else
Load Error Message with the proper code.
If SuppessErrorMessage not equal 1 (one)
Set Error
End If
End If
Close F3201
If (Error Message > BLANK && Configuration ID == zero)
If (Suppress Error Message != 1)
Set NER Error
End If
End If
D3201410 - GetMasterConfigurationIDNo
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szSystemCode | SY | char | REQ | 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
| ||||
mnConfigurationIDNumber | CFGID | MATH_NUMERIC | OPT | NONE |
An identifier that represents a unique configuration. It is generated by a next number value and is the key to the configuration tables. | ||||
mnComponentIDNumber | CFGCID | MATH_NUMERIC | OPT | NONE |
A number that represents a component in a configuration. This number, which is generated by next numbers, always restarts at 1 and
| ||||
szProgramId | PID | char | OPT | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
|
None |
None |