This utility is used to resynchronize the open item archiving table (HISTODUD) updated when the activity code HDU is activated, and whenever an open item is modified.
This resynchronization can be of two types:
Refer to documentation Implementation
The two checkboxes Resynchronization and Deletion are used to retain one or the other operating modes used to update the HISTODUD table.
The checkbox Detailed log file is used to display a list of the records impacted or created via the resynchronization.
Resynchronization: | Deletion | Detailed log file: | Impacts | Examples of information displayed in the log file | |
No | No | No | Log file listing the anomalies in the existing records. No correction or creation. | Accounting document FAC FCRHDU10102VEN00001 Line 1 Open item 1 (151016) | With the information of the archived open item number ([F:HDU]NUMHDU) as well as the nature of the anomaly (like an incorrect DATEVT). |
Yes | No | No | Correction of the anomalies detected on the existing records. Log file listing the corrected anomalies. | Accounting document FAC FCRHDU10102VEN00001 Line 1 Open item 1 (151020) |
|
No | Yes | No | Log file listing the records that the utility might create if it is launched in real mode (without considering those already existing). | Journal FAC FCRHDU10102VEN00001 Line 1 Open item 1 | With at last the information of the DATEVT applied if the utility is launched in real mode. |
No | Yes | Yes | Log file listing the existing records that will be deleted if the utility is launched in real mode. Log file listing the records that the utility might create if it is launched in real mode (without considering those already existing). | *** 150983 10/02/11 Journal FAC FCRHDU10102VEN00001 Line 1 Open item 1 | The record to delete is identified via its [F:HDU]NUMHDU and its DATEVT. With at last the information of the DATEVT applied if the utility is launched in real mode. |
Yes | Yes | No | Deletion of the existing records and creation of new records for the open item archiving. | Journal FAC FCRHDU10102VEN00001 Line 1 Open item 1 |
|
Yes | Yes | Yes | Deletion of the existing records and creation of new records for the open item archiving. | Accounting document FAC FCRHDU10102VEN00001 Line 1 Open item 1 |
|
Fields
The following fields are present on this tab :
Header
|
No help linked to this field. |
Criteria
|
No help linked to this field. |
|
  |
|
  |
|
  |
|
  |
|
  |
|
  |
|
  |
|
  |
|
  |
Block number 3
|
The resynchronization is only carried out on records with status DUDSTA set to value 'two'. It corresponds to an open item linked to a posted document (as opposed to open items linked to unposted invoices, for instance). A certain number of fields in table HISTODUD are not updated:
Some fields are resynchronized by applying a rule, i.e.
|
|
The "Deletion" option is used to create historization records. The file data of the open items are the starting point of this creation.
LIMIT no. 1The resynchronization with deletion is not based in the module flows upstream of the Financials module but on the matching. For instance: LIMIT no. 2The resynchronization with deletion does not allow to manage the case of a payment cancelation that would intervene after this resynchronization. For instance: By relaunching the resynchronization with deletion on the concerned BP, the new data of the history are reconstructed without this limit. |
|
If the detailed log file is requested, the log file is enriched by the list of the records HISTODUD likely to be deleted during the deletion phase (with or without resynchronization). |
Close
The historization table for open items HISTODUD is used by the inquiry functions of aged balance at date (CONSBAH and CONSBAHF) and by the report of the aged transaction balance BALAGEHIST.
This table is updated at each open item creation, and then at each open item update.
Not all fields defining an open item, are historized. Actually, updates for the payment method, the PA level and the data linked to reminders are not traced.
In the HISTODUD table, the main fields to be used are:
A - Regarding invoice posting, the event date corresponds to the invoice accounting date.
B - Regarding partial or complete matching of open items (via the direct posting of open item payment or the accounting matching), for the paid open item(s), the event date corresponds to the most advanced accounting date of the group documents at the time of matching.
Example:
Let us consider:
The group documents will be regarded as closed on DATEVT= most advanced accounting date of the group documents, hence T3.
Regarding partially or totally closed open items (hence associated with an entry line using lower or upper case matching code), the event date kept for each matching, corresponds to the most advanced accounting date of the group documents at the time of matching (hence on MTCDATMAX of GACCENTRYD).
Depending on the matching method, the updates of the HISTODUD table and of this event date can vary.
Example:
Let us consider a 1.000 € invoice posted on T1 date, followed by two payments on T2 and T3 dates:
Two different cases should be considered:
In the first case, the history mentions the matching processes:
In the second case, since it is manual matching for three accounting documents, the event date is also the most advanced date, but the result is slightly different:
The outcome of the first scenario is the same via the accounting matching, if the invoice and the 600 € payment are matched in a first step.The matching group of two documents with the 400 € payment are then matched in a second step.
These steps are made possible as the matching history can be retrieved by the user via the hierarchy of manual matching steps.
C - Regarding control account transfers, no record is created, since the previous ones are updated for the control account code and that the event date remains the same.
D - Regarding BP fusions, the principle is the same as for the control account transfer: no record is created in the HISTODUD table, but the existing records are simply updated and the event date remains the same.
This function can be run in batch mode. The standard task ACCRECHDU is provided for that purpose.
In addition to the generic error messages, the following messages can appear during the entry :
Some fields that are directly linked to the reference table GACCDUDATE are updated. Then the error messages are identical to those used on resynchronizing the open items, that is:
- ACCNUM: Internal number incorrect
- CPY: Company incorrect
- FCY: Site incorrect
- CUR: Currency incorrect
- SNS: Sign incorrect
- SAC: Collective account incorrect
- BPR / BPRTYP / BPRPAY: BP incorrect