This routine updates the payment of commissions to sales representatives in a selected period, also updating the commission maintenance file with the payment date and, based on the parameters selected, allows the following transactions:
Also, refer to the topic Integration with the Personnel Management environment.
To update the commissions' payment:
Question |
Description |
---|---|
Generate by? |
Indicate which commissions are to be considered in the processing, those generated by issue, by posting, or whether both are to be considered. 1. Issue date 2. Posting 3. All 4. Manually |
Consider from date? |
Enter the initial date of the commission issuance period to be processed. |
To the date? |
Enter the final date of the commission issuance period to be processed. |
From Sales Representative? |
Enter the initial code of the sales representatives to be processed. |
To Sales Representative? |
Enter the final code of the sales representatives to be processed. |
Payment Date? |
Inform the payment date of the commissions processed. |
Enable payment interface? |
This information enables/disables the payment of commission using Accounts Payable or Payroll according to the payment information in the sales representative table. 1. Yes 2. No |
Online Booking? |
It indicates whether accounting is online or offline. When online, it happens individually at the moment of each transaction (when a bill is added, posted, deleted, etc.). When offline, all entries are accounted for in a batch process. 1. Yes 2. No |
Display accting entry? |
Indicate if the accounting entry must be displayed in the event of online accounting. 1. Yes 2. No |
From due date? |
Enter the initial due date of the commissions to be processed. |
To due date? |
Enter the final due date of the commissions to be processed. |
Consider Date? |
Enter which date should be considered as the commission payment date: the commission due date or the payment date entered above. 1. Due Date 2. Payment |
Select Branch? |
Enter whether to select the system branches. |
Branch From? |
Enter the filter's initial branch. |
Branch to? |
Enter the filter's final branch. |
Parameter |
Description |
Default Content |
---|---|---|
MV_FORNCOM |
Indicate the default code for the sales representative in the Suppliers file when implementing a bill payable. |
VENDER |
MV_3DUPREF |
Field or data to be saved in the bill prefix. When it is generated automatically by the Commission Update routine (E2_PREFIXO). |
COM |
Below is the list of entry points available in the Commission Payment Update routine (MATA530)
Entry Point | Note |
---|---|
M530FIL | Filter sales representatives. |
M530AGL. | Filter for selected conditions. |
M530TIT | Bill data handling. |
M530DIRF | Entering fields for DIRF in the commission payment. |
MSE2530 | Update the commission payment date. |
M530FIM | Date update. |
The Standard Entries used in this routine are the same as those used when adding a bill in Accounts Payable (FINA050).