RetrieveUniqueConfigCFGSID

RetrieveUniqueConfigCFGSID

Minor Business Rule

Object Name: N3201480

Parent DLL: CMFG

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose
The Business Function will retrieve Unique Configuration ID (CFGSID) 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 Unique Configuration ID as BLANK if there is an error (in addition to the error message).


1.1Setup 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 CFGSIDUniqueConfigurationID OY

2.2Related Tables 

Table Table Description F3215Configurator Component Table

2.3Related Business Functions

Source NameFunction Name


2.4Processing 


UniqueConfigurationID = " "

Error Message  = " "

Call N3201410 to get CFGID and CFGCID

If CFGID > Zero
Open F3215

If Open is successful
Perform SelectFetchKeyed (using partial primary index)

If Fetch was NOT successful

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 && UniqueConfigurationID (CFGSID) == BLANK)

If SuppessErrorMessage not equal 1 (one)
Set Error

End If

End If

Data Structure

D3201480 - RetrieveUniqueConfigCFGSID

Parameter NameData ItemData TypeReq/OptI/O/Both
szSystemCodeSYcharOPTNONE

A user defined code (98/SY) that identifies a system. Valid values include: 01 Address Book 03B Accounts Receivable 04 Accounts 
Payable 09 General Accounting 11 Multicurrency

mnOrderNumberDOCOMATH_NUMERICOPTNONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szOrderTypeDCTOcharOPTNONE

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 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szCompanyKeyKCOOcharOPTNONE

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

mnLineNumberLNIDMATH_NUMERICOPTNONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

szOrderSuffixSFXOcharOPTNONE

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 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

cSuppressErrorMessageSUPPScharOPTNONE

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

szErrorMessageIDDTAIcharOPTNONE

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.

szUniqueConfigurationIDCFGSIDcharOPTNONE

An identifier that represents a unique configuration. It is generated from an encryption algorithm.  Regardless of the number of segments or 
levels in the configured item, the system always converts the information into a 32-character digest. The digest is always a full 32 characters 
in length, consists of numbers and characters, and does not contain any blanks. You cannot determine the initial value from the digest, and it 
has no significant meaning.

Related Functions

None

Related Tables

None