1.Functional Description
1.1Purpose
The Business Function will be used to write records to F3201, based on Cache Job Number.
1.2Setup Notes and Prerequisites
Cache Process Configuration ID (B3201470) needs to be loaded prior to running this function.
1.3Special Logic
None
2.Technical Specifications
2.1Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
JOBSJob NumberIR
CFGIDConfiguration ID IOIt will limit processing to one config if loaded
PIDProgram IDIO
SUPPSSuppress Error MessageIO
DTAIError Message IDOO
2.2Related Tables
Table Table Description
F3201Configurator Master Table
2.3Related Business Functions
Source NameFunction Name
2.4Processing
Open F3201 Table
If Open F3201 is successful
Set Defaults
Get Audit Information (B9800100)
Determine Number of Keys
B3201470.CacheError = 0
B3201470.ActionCode = 1
While(B3201470.CacheErorr == 0)
Read record from cache
B3201470.ActionCode = 6 (Read Next record)
If (B3201470.CacheError == 0)
Load dsF3201 from B3201470 Cache
If New Configuration ID
If (B3201470.OrderSuffix <= BLANK)
dsF3201.SaveOrderSuffix = *'
EndIf
If (B3201470.CompanyKey <= BLANK)
dsF3201. SaveCompanyKey = *'
EndIf
Delete records for New Configuration ID
Save New Configuration ID
EndIf
Insert Record into F3201 table
If Insert failed
Load ErrorMessage
EndIf
EndIf
EndWhile
Close B3201470 Cache Cursor
Close F3201 table
Else
Load ErrorMessage
End If
3.2 Where Used: APPs/UBEs/NERs/BSFNs
Application/Business FunctionApplication/BF Name
N3200700Write Configurator Files at End Doc
D3201500 - WriteConfigF3201Records
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnJobNumber | JOBS | MATH_NUMERIC | OPT | NONE |
The job number (work station ID) which executed the particular job. | ||||
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. | ||||
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
| ||||
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
|
None |
None |