Páginas filhas
  • Check on Bills - FINA390 - Financials - P12

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

INDEX

Índice
Index
maxLevel2
minLevel2
excludeINDEX IMPORTANT!
styleCircle

Informações
titleNote

This routine was adjusted to comply with the General Personal Data Protection Law (LGPD law No. 13.70), so that some fields containing data regarded as sensitive and/or personal are blurred, becoming illegible.


01. OVERVIEW

Use this routine to generate checks before posting bills. You can generate a single check for several bills from the same supplier. The posting binds bank/branch/account/check.   

...

Deck of Cards
idTaxes
effectTypeslide
Card
labelTaxes Considered
effectTypeslide

The taxes to be considered in calculation:

  • PIS - Social Integration Program
  • COFINS - Contribution to the Financing of Social Security
  • CSLL - Social Contribution on Net Profit 
  • IR - Income Tax
  • ISS - Tax on Service


Nota
titleAttention

The tax calculation is only performed for legal entity and when taxes are configured with cash competence.    

Card
id2
labelMinimum Calculation Value
effectTypeslide

The minimum withholding value is considered from the taxes, only to recompose the tax calculation base, so the check keeps the net value:

  • PIS - Social Integration Program
  • COFINS - Contribution to the Financing of Social Security
  • CSLL - Social Contribution on Net Profit 
  • IR - Income Tax

Example:

  1. Addition of a bill payable with PIS, COFINS and CSLL in the amount of 100 does not reach the calculation minimum entered in parameter (MV_VL10925 = 10)
  2. Generate check on bills.
  3. The check value will be 100, because the minimum for withholding was not reached.
  4. Thus, when the posting is made by routine FINA080 - manual postings payable, the posting value becomes equal to the check value. 
Card
id3
labelCumulativeness
effectTypeslide

Cumulativeness only occurs when a pending withholding bill is already posted, on the same day the check is generated for a second bill.

Example:

  1. Addition of a bill payable with PIS, COFINS and CSLL in the value of 100.
  2. Generate check on bills.
  3. The check value will be 100, because the minimum for withholding was not reached.
  4. Post bill through routine FINA080 - manual postings payable.
  5. Addition of a second bill payable with PIS, COFINS and CSLL in the amount of 200. At this point, the tax calculation is performed on 300, because the previous bill did not reach the minimum, and tax cumulativeness is executed.
  6. Generate check on bills.

The check value will be 186.05, calculated as follows:

Value withholding pending

Addition of second bill, executing cumulativeness

Generation of check on bill of 200.00

Bill - 100.00

Bill - 200.00

Tax base = 300

Pis - 0.65

Pis - 1.3

Pis = 1.95

Cofins - 3

Cofins - 6

Cofins = 9

Csll - 1

Csll - 2

Csll = 6

Taxes total = 4.65

Taxes total = 9.3

Total of taxes to be calculated = 13.95



Net value of check ( 200 - 13.95 = 186.05)

Aviso
titleWarning!

Cumulativeness will only occur if, on the same day of check generation, a posting already exists that has not yet reached the withholding minimum. 

...

Entry point

Note 

F390BROW

Entry Point that allows creating a filter in the browser of routine FINA390.Document: {+} http://tdn.totvs.com/x/7qRc+

F390BFIL

Allows entering an expression for filtering bills on the main screen of the Check Generation routine, to run only in the TopConnect environment. Enter the expression in SQL.Documentation: {+} http://tdn.totvs.com/x/oKRc+

A390HIST

Use entry point A390HIST to fill out field cHist390 (initialization of history in generation of checks on bills).
Documentation: {+}http://tdn.totvs.com/x/OKJc+

F390FIL

Entry point F390FIL implements a condition in default filter of work file (table) when selecting bills to generate Checks on Bills.
Documentation: {+}http://tdn.totvs.com/x/oAdoDg+

A390ACR


F390GCHE

Use entry point F390GCHE to handle the issue date of the check when generated through button "Check W/out Bill" of routine FINA390.Document: {+} http://tdn.totvs.com/x/m6Rc+

A390SEF

Entry point A390SEF is used for complementary saving items of check on bill. It is executed after saving data to SEF.
Documentation: {+}http://tdn.totvs.com/x/OaJc+

A390CHEQ

The entry point is called in the bill selection function for check generation (FA390tit). Entry point for processing checks before booking.
Documentation: {+}http://tdn.totvs.com/x/N6Jc+

A390AVU 

The Entry Point is called in the check on bills generation program, on posting of bills or counter checks after saving check to SE5.
Documentation: {+}http://tdn.totvs.com/x/NqJc+

F390CANC

Entry point that allows or prohibits check cancellation.Documentation: {+} http://tdn.totvs.com/x/RaRc+

F390CBX

Entry point for saving complements after check cancellation.

F390REDP

Use entry point F390REDP to save complementary SEF data when handling a redeposit.
Documentation: {+}http://tdn.totvs.com/x/A6Nc+

FA390NATUR


F390NATU


F390BEN


F390TIT

Entry point F390TIT checks the possibility of selecting the bill to compose the check. If the bill selection is changed, ExecBlock must return .F., so there is nochange to accumulators of values and numbers of bills.Document: {+} http://tdn.totvs.com/x/YqVc+

FA390TOK

Use entry point FA390TOK in validation (All Okay) of data digitalized when generating checks and redepositing. You can use the following variables: cBanco390, cAgencia390, cConta390, cHist390, cNatur390, cCheque390, cForn390, cBenef390 e nValor390.Document: {+} http://tdn.totvs.com/x/taNc+

F390FILUSU

Entry point for validation of bills for CH generation.

F390GRV

The purpose of entry point F390GRV is to handle checks. It is called in function fa390Ver() before checking whether the cancellation refers to counter check or bill.

F390CBX2

Entry point for saving complements after check cancellation.

...