Professional Documents
Culture Documents
Lacls Co Scotiabank
Lacls Co Scotiabank
Format Setup:
Sequences:
Hint: Define sequence generators…
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