It executes two bank transactions in a single operation: outflow from the source account and inflow into the target account.
Standardized Entry 560 accounts the outflow transaction (transfer source):
Stand Entry Code (CT5_LANPAD) | 560 | |
Sequential (CT5_SEQUEN) | 001 | |
Description (CT5_DESC) | Bank Transaction - Source Bank Outgoing Transfer | |
Debit Acc (CT5_DEBITO) | ||
Credit Acc (CT5_CREDIT) | IIF(ALLTRIM(FUNNAME())=="FINA100",POSICIONE("SA6",1,XFILIAL("SA6")+STRTRAN(STRLCTPAD,"/",""),"A6_CONTA"),SA6->A6_CONTA) | |
Currency Val 1 (CT5_VLR01) | SE5->E5_VALOR | |
History (CT5_HIST) | '560:001 Outg. Bank Transf: ' + STRLCTPAD (1) | |
Origin Entry (CT5_ORIGEM) | '560:001 Outg. Bank Transf: ' + STRLCTPAD (1) | |
(1) ONLINE = STRLCTPAD - PRIVATE variable that stores the Bank/Branch/Account value for Source Bank (2) OFFLINE = The CTBAFIN routine uses file SA6 to indicate the source bank. |
Standardized Entry 561 accounts the inflow transaction (transfer destination):
Stand Entry Code (CT5_LANPAD) | 561 | |
Sequential (CT5_SEQUEN) | 001 | |
Description (CT5_DESC) | Bank Transaction - Target Bank Incoming Transfer | |
Debit Acc (CT5_DEBITO) | IIF(ALLTRIM(FUNNAME())=="FINA100",POSICIONE("SA6",1,XFILIAL("SA6")+STRTRAN(STRLCTPAD,"/",""),"A6_CONTA"),SA6->A6_CONTA) | |
Credit Acc (CT5_CREDIT) | ||
Currency Val 1 (CT5_VLR01) | SE5->E5_VALOR | |
History (CT5_HIST) | '561:001 Incom. Bank Transfer: ' + STRLCTPAD (1) | |
Origin Entry (CT5_ORIGEM) | '561:001 Incom. Bank Transfer: ' + STRLCTPAD (1) | |
(1) ONLINE = STRLCTPAD - PRIVATE variable that stores the Bank/Branch/Account for Target Bank (2) OFFLINE = CTBAFIN routine uses file SA6 to indicate the Target Bank. |
TABLE | DESCRIPTION |
---|---|
SA6 | Banks |
SE5 | Bank Transaction - In process of discontinuation. |
SED | Natures |