Script LETTSUB: Automatic matching
BEFAUTMTC: Before the matching automatic launch
This entry point allows to inhibit the call to a group matching: company, account, BP.
Context and operating method
Transaction
There is no transaction in process.
Log file
There is an open log file.
Different call cases
This entry point is called before the automatic launch of a group matching (company, account, BP). On return to this entry point, the GPE variable is tested and allows to inhibit the call to the matching.
Available variables and masks
Variable or mask |
Definition |
LETTAUTO [LTA] mask |
Automatic matching |
LETTCRIT [LTC] mask |
Matching criteria |
SOC variable |
Company to be matched |
SITE variable |
Site to be matched |
COMPTE variable |
Account to be matched |
TIERS variable |
BP to be matched |
Open tables
Table |
Significant content |
Table Title |
COMPANY |
Yes |
Company |
FACILITY |
Yes |
Site |
GACCOUNT |
Yes |
Account |
BALANCE |
No |
Balance |
BALANCE [BAL2] |
Yes |
Balance |
GACCENTRY |
No |
Accounting documents header |
GACCENTRYD [DAE],[DAE3],[DAE4],[DAE5] |
No |
Accounting documents lines |
GACCDUDATE |
No |
Open items |
FISCALYEAR |
No |
Fiscal years |
PERIOD |
No |
Periods |