The BSISRCDOCentry point is used to override the value of LSRCDOC only if the matching document number was not found on invoices.
In the context of the entry point :
Call context
The BSISRCDOC entry point is called when collecting open items for matching.
There is no transaction in progress.
There is an open log file.
Available variables and masks
The following tables are available:
BSIIMP [BSIIMP]: bank statement import
BSIIMPD [BSIIMPD]: bank statement import detail
GACCDUDATE [DUD]: open items
Miscellaneous remarks
The current open item is available in [F:DUD].
The local variable [L]LSRCDOC is available to be updated with the new source document number.
If LSRCDOC is updated properly [L]LFOUND should be updated to 1.
Otherwise [L]LFOUND should be 0.
The BSISRCDOC0entry point is used to override the value of LSRCDOC before LSRCDOC is populated by the core from the invoice. It gives additional flexibility for specifics to improve performance with large datasets.
In the context of the entry point :
Call context
The BSISRCDOC0 entry point is called when collecting open items for matching.
There is one transaction in progress.
There is an open log file.
Available variables and masks
The following tables are available:
BSIIMP [BSIIMP]: bank statement import
BSIIMPD [BSIIMPD]: bank statement import detail
GACCDUDATE [DUD]: open items
Miscellaneous remarks
The current open item is available in [F:DUD].
The local variable [L]LSRCDOC is available to be updated with the new source document number.
If LSRCDOC is updated properly, [L]LFOUND should be updated to 1,otherwise [L]LFOUND should be 0 and a core process updates LSRCDOC.
The BSIMTCDUDCRITentry point is used to modify filtering criteria for open items in the matching process. The criteria can be amended in local variables CRITERE (basic criteria), CRITERE2 (BP criteria), and CRITERE3 (invoice criteria).
In the context of the entry point :
Call context
The BSIMTCDUDCRIT entry point is called when preparing filtering criteria for open items for matching.
There is one transaction in progress.
There is an open log file.
Available variables and masks
The following tables are available:
BSIIP [BSIIMPPAR]: bank statement import settings
The following variables are available:
[L]CRITERE - basic filtering criteria for open items
[L]CRITERE2 - BP filtering criteria for open items
[L]CRITERE3 - invoice filtering criteria for open items
[L]IS_BPRTOT - indicates that option "BP total" is set and exactly one BP found
[L]BPY00 - array of BPs for payment
Miscellaneous remarks
Local variables [L]CRITERE, [L]CRITERE2 and [L]CRITERE3 are available to be updated with the desired filtering criteria based on the following:
The BSISRCDOCCRITentry point is used to modify filtering criteria for open items in the matching process with the original document. Additional criteria can be applied using the local variable CRIT_SRCDOC_SPE (specific criteria).
In the context of the entry point :
Call context
The BSISRCDOCCRIT entry point is called before collecting open items for matching with source documents.
There is one transaction in progress.
There is an open log file.
Available variables and masks
The following tables are available:
BSIIMP [BSIIMP]: bank statement import
BSIIMPD [BSIIMPD]: bank statement import detail
Miscellaneous remarks
The specific filter is applied to GACCDUDATE [F:DUD].
The local variable [L]CRIT_SRCDOC_SPE is available to be updated or overwritten with the new specific filtering criteria.
Initially [L]CRIT_SRCDOC_SPE = "1=1" and if updated properly, it is evaluated on the [F:DUD] filter for open items, if not it is transparent for filtering.
Filter [F:DUD] Where evalue([L]CRIT_SRCDOC) and evalue([L]CRIT_SRCDOC_SPE)