1.1Purpose
The NER will first attempt to add an F1794 record. The record will be added with the Period fields set to 'Blank' and the 'Amount' fields set to '0'. The
NER will then update the record according to the Period Number and Amount passed in. The update is not dependant on if a record was added, as the
record could already exist and just needs to be updated.
2.4Processing
Get Audit Information
Insert.F1794
IF File I/O Staus <> Success
FetchSingle.F1794
END IF
IF PeriodActionFlag = 1
Change appropriate Period Flag to 'X'
ELSE
IF PeriodActionFlag = 2
Change appropriate Period Flag to 'Blank'
END IF
END IF
IF AmountActionFlag = 1
Replace current amount with Amount passed in for appropriate period
ELSE
IF AmountActionFlag = 2
Add Amount passed in to current amount for appropriate period
ELSE
IF AmountActionFlag = 3
Subtract Amount passed in from the current amount for appropriate period
END IF
END IF
END IF
Update.F1794
D1700110 - F1794 Add Update
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szProgramId | PID | char | REQ | INPUT |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
mnOrderNumber | DOCO | MATH_NUMERIC | REQ | INPUT |
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 | REQ | INPUT |
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
| ||||
szOrderCompany | KCOO | char | REQ | INPUT |
A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a
| ||||
szContractChangeNum | COCH | char | REQ | INPUT |
The change number of the contract. The change order number of the base contract is always initialized to 000. Each time you enter a
| ||||
mnLineNumber | LNID | MATH_NUMERIC | REQ | INPUT |
A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns
| ||||
cGenerationType | GENT | char | REQ | INPUT |
A = CSMS Amortization
| ||||
mnCentury | CTRY | MATH_NUMERIC | REQ | INPUT |
The calendar century associated with the year. Enter is the first two digits of
the year. For example, 19 indicates any year beginning with 19
| ||||
mnFiscalYear | FY | MATH_NUMERIC | REQ | INPUT |
A number that identifies the fiscal year. Generally, you can either enter a number in this field or leave it blank to indicate the current fiscal
| ||||
cAmountActionFlag | EV01 | char | REQ | INPUT |
1 = Replace current amount with new Amount passed in.
| ||||
cPeriodActionFlag | EV01 | char | REQ | INPUT |
1 = Change file flag to on.
| ||||
mnPeriodNumber | PN | MATH_NUMERIC | REQ | INPUT |
A number indicating the current accounting period. This number, used in conjunction with the Company Constants table (F0010) and the
| ||||
mnAmount | AB01 | MATH_NUMERIC | REQ | INPUT |
The amount that is billed or amortized for period 01. | ||||
cSuppressErrorMessage | SUPPS | char | OPT | NONE |
Blank = Do not suppress error messages
| ||||
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 |