Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 3

Mapping of Payment Format: Date: 2/25/2020

Formato de pago Banco Scotiabank V 2.0 EFT Payment Format

Format Setup:

Hint: Define formatting options…


<TEMPLATE TYPE> FIXED_POSITION_BASED
<OUTPUT CHARACTER SET> iso-8859-1
<NEW RECORD CHARACTER> Carriage Return
<NUMBER THOUSANDS SEPARATOR> .
<NUMBER DECIMAL SEPARATOR> ,

Sequences:
Hint: Define sequence generators…

<DEFINE SEQUENCE> PaymentInsSeq


<RESET AT LEVEL> /OutboundPaymentInstruction
<INCREMENT BASIS> RECORD
<END DEFINE SEQUENCE > PaymentInsSeq

Format Data Records:

Hint: This is the body of the format. Define your format records here.
Create one table for each record or group of records that are at the same level.

<LEVEL> OutboundPaymentInstruction
<POSITION> <LENGTH> <FORMAT> <PAD> <DATA> <COMMENTS>
<NEW RECORD> HEADER_RECORD
Alpha ‘Transaccion’ 1 - Transacción
Alpha ‘;’
Alpha ‘Identificacion’ 2 - Identificación
Alpha ‘;’
Alpha ‘Fijo’ 3 – Fijo
Alpha ‘;’
Alpha ‘Movil’ 4 – Movil
Alpha ‘;’
Alpha ‘Email’ 5 - Email
Alpha ‘;’
Alpha ‘Valor’ 6 - Valor

1
<END LEVEL> OutboundPaymentInstruction

<LEVEL> OutboundPayment
<POSITION> <LENGTH> <FORMAT> <PAD> <DATA> <COMMENTS>
<NEW RECORD> HEADER_RECORD
10 Number PaymentNumber/PaymentReferenceNumber 1 - Transacción
Alpha ‘;’
Alpha L, ‘0’ REPLACE( 2 - Identificación
NVL(

decode(Payee/TaxOrganizationType/Code
,
'CORPORATION',
substr(Payee/TaxRegistrationNumber,1,
10),
'PERSONA JURIDICA NAL',
substr(Payee/TaxRegistrationNumber,1,
10),
'PERSONA NATURAL
NAL',decode(Payee/SupplierDescriptive
FlexField/Attribute1,'31'

,substr(Payee/TaxRegistrationNumber,1
,length(Payee/TaxRegistrationNumber)-
1)

,Payee/TaxRegistrationNumber)

,(Payee/TaxRegistrationNumber))

,(Payee/LegalEntityRegistrationNumber
)),’-’)
Alpha ‘;’
Alpha R, ‘’ Substr(TRANSLATE(Payee/ContactInfo/ 3 – Fijo
ContactLocators /PhoneNumber,'-_#','
'),1,7)
Alpha ‘;’

2
Alpha R, ‘’ Substr(TRANSLATE(Payee/ContactInfo/ 4 – Movil
ContactLocators /FaxNumber,'-_#','
'),1,10)
Alpha ‘;’
Alpha R, ‘’ Payee/ContactInfo/ContactLocators/ 5 - Email
EmailAddress
Alpha ‘;’
6 Alpha PaymentAmount/Value 6 - Valor
<END LEVEL> OutboundPayment

You might also like