When using Monetary Variation - legal tender, the system creates 3 sequences of standard entries, as follows:
Standard Entry Code | XXX |
Sequential | 001 |
Description | Exchange Variation |
Entry Type | Debit |
Debt Account | TRB->TRB_DEBITO |
Currency Entry | 123 |
Vl. Currency 1 | If(mv_par10==1 .and. !Empty (TRB->TRB_DEBITO), TRB->TRB_VALOR,0) |
History | TRB->TRB_HIST |
Entry Origin | "CTBA381" |
Type of SLD | 1 |
Sub-Lot | 001 |
Standard Entry Code | XXX |
Sequential | 002 |
Description | Exchange Variation |
Entry Type | Credit |
Debt Account | TRB->TRB_CREDIT |
Currency Entry | 123 |
Vl. Currency 1 | If(mv_par10==1 .and. !Empty (TRB->TRB_CREDIT), TRB->TRB_VALOR,0) |
History | TRB->TRB_HIST |
Entry Origin | "CTBA381" |
Type of SLD | 1 |
Sub-Lot | 002 |
Standard Entry Code | XXX |
Sequential | 003 |
Description | Exchange Variation |
Entry Type | Double Entry |
Debt Account | TRB->TRB_DEBITO |
Credit Account | TRB->TRB_CREDIT |
Currency Entry | 123 |
Vl. Currency 1 | If(mv_par10==2,TRB->TRB_VALOR,0) |
History | TRB->TRB_HIST |
Entry Origin | "CTBA381" |
Type of SLD | 1 |
Sub-Lot | 003 |