This entry point is called after the write of a withholding movement record.
There is one transaction in progress.
There is no open log file.
This entry point is called right after the entry of a record into the RITMVT [RTM] table.
The [RTM] table is loaded with the record that has just been written.
Variables | Definition |
Value Char NUMPIECE | Paid BP |
Value Integer SIGNE | Beneficiary BP |
SIRET | BP site registration |
DEVREG | Payment currency |
MOYPAI | Formula result |
Tables | Significant content | Table Title |
PINVOICE [PIH] | OUI | Purchase invoice |
RITMVT [RTM] | OUI | Withholding movements |
Use this entry point to take control after the deletion of a withholding movement recording.
There is one transaction in progress.
There is no open log file.
This entry point is called right after the deletion of a recording from the RITMVT [RTM] table.
Tables | Significant content | Table Title |
PINVOICE [PIH] | OUI | Purchase invoice |
RITMVT [RTM] | OUI | Withholding movements |
Use this entry point to take control at the beginning of the withholding amount calculation program.
There is one transaction in progress.
There is no open log file.
This entry point is called at the beginning of the withholding amount calculation program and just after the declaration of the RITENZIONE [RTZ] table.
If the GPE global variable is set to 1 when resuming the processing, the standard calculation for the withholding amount is not performed.
Tables | Significant content | Table Title |
RITENZIONE [RTZ] | NON | Withholding codes |
Use this entry point to take control at the end of the withholding amount calculation program.
There is one transaction in progress.
There is no open log file.
This entry point is called at the end of the withholding amount calculation program, just before the End instruction.
Variables
Definition | |
Value Char CODRET | Withholding code |
Value Char CODBPR | BP code |
RITAMTRTZ RITBASRTZ | Withholding amount in currency Base in withholding currency |
Tables | Significant content | Table Title |
RITENZIONE [RTZ] | OUI | Withholding codes |