1.Functional Description
1.1Purpose
The Business Function will be used to verify if History Records (CFGID = 0) exist in F3211
for given Parent (short) Number and Unique Configuration ID .
Note: In some cases it is possible to use Actual ConfigurationID to obtain Parent (short) Number
None
1.3Special Logic
None
2.Technical Specifications
2.1Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
CFGIDConfiguration ID NumberIO
KITParent NumberIRShort Item Number
CFGSIDUnique Configuration ID IR
SUPPSSuppress Error MessageIO
DTAIError Message IDOO
EV01Unique Config ID ExistsOR1- exists, 0- does not exists
2.2Related Tables
Table Table Description
F3211Configurator Segment Detail
F3215Configurator Component Table
2.3Related Business Functions
Source NameFunction Name
N3201580CreateConfigHistoryRecords
2.4Processing
BF UniqueCfgIDExists = 0
UniqueConfigID_CFGSID=" "
ConfigurationID = 0
ComponentID =1
ParentID =0
ParentNoKit(Short) = 0
If BF ParentNoKit(Short) <= zero OR BF UniqueConfigurationID <= BLANK
Open F3215
If Open was successful
F3215.FetchSingle
Load UniqueConfigID_CFGSID
Load ParentNoKit(Short)
Else
Load Error Message ID with the proper code
If (Suppress Error Message !=1)
Set Error
End If
End If
Else
UniqueConfigID_CFGSID = BF UniqueConfigurationID
ParentNoKit(Short) = BF ParentNoKit(Short
End If
If ParentNoKit(Short) > zero AND UniqueConfigurationID > BLANK
If Open is Successful
If Fetch is Successful
Close F3211
If (Suppress Error Message !=1)
Set Error
End If
D3201570 - VerifyUniqueConfigIDExists
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
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. | ||||
mnParentNumberShortKit | KIT | MATH_NUMERIC | OPT | NONE |
The system provides for three separate item numbers.
1. Item Number (short) - An eight-digit, computer assigned, completely
| ||||
szUniqueConfigurationID | CFGSID | char | OPT | NONE |
An identifier that represents a unique configuration. It is generated from an encryption algorithm. Regardless of the number of segments or
| ||||
cUniqueConfigIDExists | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
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
| ||||
cCheckF3215 | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. |
None |
None |