1.Functional Description
1.1Purpose
This function will be called to write add, update or delete transactions to the Outbound Work Order
Time Transactions Unedited Transaction Table (F31122Z1). If the transactions are written successfully
to the table, the Outbound Processor UBE in the Subsystem which processed record exports will be
invoked.
1.2Setup Notes and Prerequisites
This function will only be called by B3100640 to update outbound transactions for interoperability.
1.3Special Logic
None
2.4Processing
Open Table
If success
If cActionCode = Add or Update or Delete
If((cActionCode = Add & idNewF31122Record != blank) or
(cActionCode = Delete & idOldF31122Record != blank) or
(cActionCode = Update & idNewF31122Record != blank &
idOldF31122Record != blank))
Call B9800100 to get audit info
Call B0000175 to get next transaction number
If success
Assign common fields to F31122Z1
Copy data to appropriate columns in F31122Z1
Write to F31122Z1
If success and cCallSubsystemUBE = 1
Call B0000176 to add transaction to subsystem
End If
Else
Error : Could not Retrieve Transaction Number
End If
Else
Error : Null Pointer
End If
Else
Error : Action Code Invalid
End If
Else
Error : Open Table Failed
End If
Close Table
^
D3102020 - F31122Z1 Write WO Time Transactions Unedited Transaction
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
idNewF31122Record | GENLNG | ID | OPT | NONE |
General purpose ID variable. | ||||
idOldF31122Record | GENLN2 | ID | OPT | NONE |
General purpose ID variable. | ||||
cActionCode | ACTN | char | OPT | NONE |
A code that specifies the action that is performed. Valid values are: A Add C Change | ||||
szTypeTransaction | TYTN | char | OPT | NONE |
The qualifier used to identify a specific type of transaction. | ||||
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
| ||||
cCallSubsystemUBE | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cErrorCode | ERRC | char | OPT | NONE |
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document
| ||||
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 |