Note
Use this routine to execute clearings of bills payable with bills receivable, thus offsetting accounts between supplier and customer.
This process takes the following bills into account:
Procedure manually performed through the Clearing Between Portfolios (FINA450), with the display of the screens involved in the process - actions/commands from the user are required
Procedure automatically performed in the Clearing Between Portfolios routine (FINA450) without the display of screen - no interaction from the user required.
Used in customizations in which the process does not require user interactions (MSEXECAUTO)
Note
Important:
For further information, access the automatic routine documentation.
Automatic Clearing Between Portfolios
Operation for clearing between portfolios payable/receivable.
Operation for canceling the transaction generated by the clearing.
Operation for reversing the transaction generated by the clearing.
It displays the caption chart and meanings related to the bill payable.
Search for the bill in the accounts payable file, having it placed and highlighted in the browser.
Operation for viewing the bill selected, so you can check its balance and value.
List of parameters applied to FINA450 and its processing
Question |
Description |
---|---|
Group Entries? |
Enter "Yes" to group the accounting entries generated through the clearing in a single entry |
Display Entries? |
Enter "Yes" to display onscreen the accounting entries generated through clearing, otherwise "No" |
Clear Transferred Bills? |
Enter "Yes" to allow the clearing of bills transferred to the bank (Bordereau), otherwise "No" |
Select Branches? |
If "Yes" the branch selection screen is displayed for the multi-branch clearing process |
Question |
Description |
Default |
---|---|---|
MV_BX10925 |
Define when withholding of PIS COFINS and CSLL taxes are processed: 1 = At Posting or 2 = At Issue |
1 |
MV_BP10925 |
Define whether to consider the gross value of partial posting or the net value plus taxes. (1=Gross Val./2=Net Val.) |
1 |
MV_CC10925 |
Configure the calculation and withholding of PCC in Clearing Between Portfolios. 1. (Default) Do Not Calculate PCC, 2. Calculate PCC on payable, 3. Calculate PCC payable and receivable |
1 |
MV_NUMCOMP |
Sequential numbering for Clearing between portfolios. |
000000 |
MV_CTLIPAG |
Control postings payable through filled-out release date. If .T., the system checks whether field E2_DATALIB is filled out, otherwise, it does not control them |
F |
MV_VLMINPG |
The minimum value to post the bill, even if field E2_DATALIB is not filled out and the content of parameter MV_CTLIPAG is .T. |
0 |
MV_JURTIPO |
The bills receivable interests can be (S)imple, only (C)ompound, or (M)ixed = Simple up to 30 days of delay, and later Compound. |
M |
MV_LJINTFS |
Indicate integration with Financial Services. |
.F. |
MV_JURXFIN |
Enable integration between modules SIGAFIN - Financials and SIGAPFS - Legal. Disabled by default. |
.F. |
MV_CTBFLAG |
Indicate if the accounting flags of the offline routines are selected during the accounting entry transaction |
.F. |
Procedures
To execute a clearing between portfolios:
Note: in this screen, fill out data on bills from steps 1 and 2.
Then, select the bills registered in steps 1 and 2, then select the option Save in the right-hand corner of the screen.
Information
Procedures
To cancel a clearing between portfolios:
5. Press OK
Important
Important
Procedures
To execute a reversal between portfolios:
5. Press OK.
Important
Important
The Clearance Between Portfolios routine performs the withholding of PIS, Cofins, and CSLL when the company using Protheus withholds these taxes because it is possible to control the withholding through the generation of 'TX' type bills.
Important
The Clearance between Portfolios routine will now withhold PIS, Cofins, and CSLL taxes for both accounts payable and accounts receivable, starting with sources with a version later than December 2021.
To withhold PIS, COFINS, and CSLL taxes in routine Clearing Between Portfolios, set parameters as shown below:
MV_BX10925 = 1 (PCC withholding on posting)
MV_BR10925 = 1 (PCC withholding on posting)
MV_CC10925 = 2 or 3 (enable PCC withholding on clearance between portfolios)
MV_BP10925 = 1 or 2 (Net or Gross)
MV_BQ10925 = 1 or 2 (Net or Gross)
For the correct withholding of PIS, COFINS, and CSLL taxes in the Clearance Between Portfolios, the parameters MV_BP10925 and MV_BQ10925 must have consistent content (Net or Gross for both). Otherwise, the system will display the following message:
Another point regarding the configuration of parameters MV_BP10925 and MV_BQ10925 is that, on the screen for selecting bills that will be cleared, the bills will be presented with their net value regardless of their configuration. These parameters affect the calculations and saving that involve partial clearing.
Information
The Clearance between Portfolios routine performs Income Tax withholding on posting for both bills payable and bills receivable.
Important
06. ACCOUNTING
The booking of processes applied to accounts payable clearing via the Financials module is done through the standard entries below:
SE | Taxable Event | ON | OFF (CTBAFIN) |
---|---|---|---|
535 | Cancellation of Bills Payable/Receivable Clearing | X | |
X |
Entry point | Note |
---|---|
F450BROW | Entry point that allows handling field contents, and which fields will compose the browser in the clearing between portfolios routine. |
lFA450BU | Entry point lFA450BU allows the customer to add a button. |
F450ValCon | Use entry point F450ValCon to validate the data related to selected bills and to control the clearing confirmation process, in routine Portfolios Clearing. Executed in function FA450CMP(). |
F450SE5 | Entry point F450SE5 is executed after all bills selected onscreen are cleared. |
F450OWN | Assemble filter expression of SE1 file in IndRegua. |
F450FIL | Customize IndRegua filter |
F450OWN1 | Assemble filter expression of SE2 file in IndRegua. |
F450FIL1 | Customize IndRegua filter |
F450ORDEM | |
F450GRAVA | To handle the data of the temporary table responsible for clearing. |
F450Conf | Entry point F450CONF validates the marking of bills for clearing. |
F450valid | Use this entry point to validate clearing screen data. |
F450CAES | Entry point F450CAES validates or executes a procedure after the user confirms the Cancellation/Reversal of clearing between portfolios. |
F450SE1C | Entry point F450SE1C makes complementary recordings in file SE1. It requires no return and does not go through any parameter. |
F450SE2C | Entry point F450SE2C makes complementary recordings in file SE2. It requires no return and does not go through any parameter. |
FA450BUT | Entry point FA450BUT adds toolbar options. Its return is the button array. |
FILEMOT | Entry point to read the text file of accounts receivable posting reasons. |