- '0' or '1' when the open item is not closed or only partly closed,
- '2' when the open item is permanently closed (AMTCUR open item amount = PAYCUR and AMTCUR posted paid amount<>0; or AMTCUR=0 and open item amount AMTLOC = PAYLOC posted paid amount),
- '3' when the historized open item has been deleted,
- '4' when the open item is permanently closed (AMTCUR open item amount = PAYCUR posted paid amount+ paid amount not yet posted TMPCUR and AMTCUR<>0; or AMTCUR=0 and open item amount AMTLOC = posted paid amount PAYLOC + paid amount not yet posted TMPLOC).
The value of this field is controlled and possibly corrected only for the cases where it is different from '3'.
The historization records that have a field Closed different from '3', the fields Open item amount in currency (AMTCUR), Local currency amount (AMTLOC),Paid amount(PAYCUR), Company paid (PAYLOC), Temporary amount paid (TMPCUR) and Provisional company payment (TMPLOC) are read to re-evaluate the field value Closedaccording to the rule defined above.
- Event date field:
- if the value of field Amount paid is greater than '0', the utility resynchronizes the event date with respect to the maximum accounting date of the matching group: the utility is able to find the entry line at the origin of the open item using the ACCNUM account number in the accounting document table GACCENTRYD. Since the line contains a letter (the 'MTC' Amount line in table GACCENTRYD is not empty), the utility takes into account the amount of the maximum matching accounting date 'MTCDATMAX' of the line in table GACCENTRYD.
- if the open item is not closed (the value of field Closed is smaller than 2), l'the utility resynchronizes the event date with respect to the accounting date ACCDAT on the accounting document (the date is traced back via the account number ACCNUM in table GACCENTRYD).
Those fields linked to the amounts are not resynchronized:
- the amount fields of the open item (AMT*),
- the paid amount fields (PAY*),
- the temporary paid amount fields (TMP*).