Sie sind auf Seite 1von 24

Index

Dynamic Formatter Overview.........................................................................................2 Dynamic Formatter Conceptual Design.............................................................................3


Layout Setup: Level 1........................................................................................................... 3 Transactions module setup: Level 2......................................................................................... 3 Transaction applications for inbound and outbound process: Level 3................................................3 Benefits............................................................................................................................ 2

Dynamic Formatter Layouts...........................................................................................5

Dynamic Formatter for Bank Transactions.......................................................................10


Overview......................................................................................................................... 10 Working with Bank Additional Information................................................................................10 Working with Bank Layouts for Payment Instruments..................................................................12 Working with Bank Attributes X Reference...............................................................................13 Working with G/L Bank Account Next Numbers..........................................................................14

Overview........................................................................................................................... 5 Working with Layout Master................................................................................................... 5 Setup Layout Master........................................................................................................... 6 Setup Layout Type and Transactions........................................................................................ 7 Setup Layout Detail............................................................................................................ 8

Bank Transaction Electronic Payment Inbound and Outbound transactions............................15

Bank Transaction Electronic Receipts (Cobrana Escritural) Inbound and Outbound transactions 20

Overview......................................................................................................................... 15 Setup.............................................................................................................................. 16 Create Payment Instruments................................................................................................16 Creating R76B047SE versions................................................................................................ 17 Include R76B047SE as print program (P76B047SE).......................................................................17 Define Bank Aditional Information for Dynamic Formatter............................................................17 A/B Bank Account revision................................................................................................... 17 Attributes for Dynamic Formatter.......................................................................................... 17 Overview......................................................................................................................... 20 Setup.............................................................................................................................. 21 Fee Invoices AAI............................................................................................................... 21 A/B Bank Account revision................................................................................................... 21 Attributes for Dynamic Formatter.......................................................................................... 22

1 / 24

Dynamic Formatter Overview


Dynamic Formatter is a tool you can use to create inbound and outbound flat files for any transactions. It has a set of functions that create/import files using specific applications that support this transactions

Benefits

Allow changes to layouts without any application code change. One application for each transaction Easy development of new applications Creating multiple transactions at the same time Different names of flat files for inbound transactions

This guide discusses the following topics Dynamic Formatter Conceptual Design Dynamic Formatter Layouts Dynamic Formatter for Bank Transactions Bank Transaction Electronic Payment Inbound and Outbound transactions Bank Transaction Electronic Payment Electronic Receipts Inbound and Outbound transactions

2 / 24

Dynamic Formatter Conceptual Design


Dynamic Formatter has three levels. Layout setup Transactions module setup Transaction applications for inbound and outbound process.

Layout Setup: Level 1

Layout is the first level of dynamic formatter applications. It contains logical rules of how flat file for transaction must be created or imported. In this level doesnt exist any file creation, just logical rules. It also has a set of functions to manipulate layouts and records in cache, called by third level applications. Layouts are based in Attributes (codes that identify one information). This attributes is the link between Layout and third level applications. Ex: In Outbound process, when sending Company Name: JDEdwards, it will send under Z0010 attribute, layout will know that Z0010 is a company, position in flat file is 10 to 60 aligned left with blank chars right when formatting flat file. In Inbound process, when an application request company name, it will ask for Z0010 attribute and will get JDEdwards value.

Transactions module setup: Level 2

Because layouts works for all systems (level 1), we will need another module to work with a spcific system (level 2). For example to work with banks we will need a bank module, to work with products and clients we will a product and client module. In this level doent exists file creation, just rules with module (ex. Bank) like cross reference, next numbers, file creation rules, file extension and all other informations requiered to work with this system, like tables to create or read flat files.

Transaction applications for inbound and outbound process: Level 3

This level perform transaction process, for outbound process, it search fields in tables, updating status and create files using Dynamyc Formatter functions (1 and 2 level); for inbound process it uses Dynamic Formatter functions to read flat files, extracting file information and updating files.

3 / 24

1 Level: Layout Definition

(F76B471) Layout Master

(F76B472) Layout Transaction & Line Types

(F76B473) Layout Details

2 Level: Module Definition


Bank Module (2 Level) Client & Product Module (2 Level) ** SAMPLE **

(F76B474) Bank Attributes for Dynamic Formatter

(F76B475) Bank Layout by Payment Instrument for DF

(F76B476) Bank Cross Reference for DF

(F76B477) GL Bank Account File Numbers

3 Level: Transaction Process


Ex. Electronic Payment Send

(F04571) Payment Group

Electronic Payment Outbound Proc R76B047SE (F04572OW) A/P Payment Recods

File Creation for Outbound Bank Transaction P76b474O

(F04572) Payment Detail

Dynamic Formatter Conceptual Design for Electronic Payment send process, and another 2 level transaction.

4 / 24

Dynamic Formatter Layouts


Contents Overview Working with Layout Master Working with Transactions and Line Types Working with Layout Details

Overview

Layout is the basic item of Dynamic Formatter module, it contains the rules of how to create/import flat files. Here we define position, numeric format, numeric decimals, numeric decimal separator, date format, date separator.

Working with Layout Master

Layout is the first level of dynamic formatter applications. It contains logical rules of how flat file for transaction must be created or imported. In this level doesnt exist any file creation, just logical rules. It also has a set of functions to manipulate layouts and records in cache, called by third level applications. To create a new layout go to menu G76B47/P76B471 Dynamic Formatter.

To create one layout yout will need: Setup Layout Master Setup Transactions and Line Types

5 / 24

Setup Layout Detail

Setup Layout Master From Dynamic Formatter menus (G76B47), chose Dynamic Formatter. Click Add

Layout Master contains information layout name and record size of records for inbound and outbound transactions. On Dynamic Formatter Master Revision complete this fields: Layout Desctiption Record Length Field Layout Description Record Length Explanation Layout Code, an unique identifier of layout Layout Name Size of record in Flat Files for inbound and outbound process

6 / 24

Setup Layout Type and Transactions Select a Layout in Work with Dynamic Formatter Layout Master.

On Dynamic Formatter Master Revision complete this fields: Direction Indicator Sequence Number Record Type Lines by Line Type Field Direction Indicator Sequence Number Record Type Explanation Transaction Types (UDC 00/DN) 1- Inbound 2- Outbound Sequence of Transactions in Flat File Record Type (UDC 00/RD) 1- Header 2- Detail 3- Header Detail 5- Trailer Detail 9 Trailer Number of lines by line type. (Some layouts has more than one record line for line type)

Lines by Line Type

7 / 24

Setup Layout Detail On Work with Dynamic Formatter Layout Transactions & Line Types select Detail button.

On Dynamic Formatter Layoit Detail complete this fields: Line ID Begin Position End Position Attribute Description Alpha Default Value Data Type Item Decimals Decimal Format Align Left Alpha Filler Date Format Date Separator Field Line ID Begin Position End Position Attribute Explanation When layout line type has more than one line, define line number, else define 1 Attibute begin position in Flat File Attribute end position in flat file Identifier for a JDEdwards/System value. See UDC (76/F1)

8 / 24

Default Value Data Type

Item decimals

Decimal Format Align Left Alpha Filler Date Format Date Separator

System values begin with Sxxxx, JDEdwards values begin with Zxxxx S0001 User defined values (Constant defined in layout) S0002 Blanks S0003 Zeros Zxxxx (3 level application specific values) Constant defined in layout, only when attribute is S0001 Data Type in layout.Defined only for Zxxxx atributes Supported values 1- Char 2 String 9 Math Numeric 11- Date Number of decimals in for Data Type 9 (Math Numeric) only. When attribute value has more decimals than layout definition, decimal will be truncated; when attribute value has less decimals than layout definition, decimal will be filled with zeros. Decimal format os Math Numeric (9 data type) Align Attribute into flat file Y Align Left N align Right When attribute value size is lower than end position begin position, this char will fill attribute. How date will be formatted (UDC 00/DF), valid only for data type 11 (Date) Ex DD/MM/YYYY or MM/DD/YY Date separator (UDC H98/DS), valid only for data type 11 (Date)

9 / 24

Dynamic Formatter for Bank Transactions


Contents Overview Working with Working with Working with Working with

Bank Additional Information Bank Layouts for Payment Instruments Bank Attributes Cross Reference G/L Bank Account next numbers

Overview

Layout is the basic item of Dynamic Formatter module, it contains the rules of how to create/import flat files. But when working with Banks we need information that dont exist in Layouts. For example File Creation paths, layouts for payment instruments (Some banks have diferent layouts for Pmt. Instr.), next numbers. Bank setup for Dynamic Formatter is done in menu Bank Transactions for DF (G76B474).

Working with Bank Additional Information

Bank Additional information defines where flat files will be created and wich layout will be used to search Payment Instrument when processing Inbound process. To add new bank additional information, click Add:

10 / 24

On Bank Additional Information for Dynamic Formatter complete this fields: Bank Code Transaction Type Direction Indicator Path File Extension Layout Record Type Field Bank Code Transaction Type Direction Indicator Path File Extension Layout Explanation Brazilian Bank code (UDC 76/BC) EDI Transaction code (UDC 00/TT) BRPAGEL Electronic Payment BRCOBES Electronic Receipts Transaction Direction (UDC 00/DN) 1 Inbound 2 Outbound File path where flat file will be created (for Outbound process) or will be imported (for Inbound process) Flat file extension Layout used to identify Payment Instrument

11 / 24

Record Type

When processing inbound transactions, some banks have more than one layout (Different for payment instrument) in the same flat file. Inbound process dont know wich payment instrument bank is retuning, so it also dont know wich is the correct layout. This layout will be user to extract Payment Instrument in file Record type where Payment Instrument will be founded. When processing inbound transaction, application will search Payment Instrument in this Line Type

Working with Bank Layouts for Payment Instruments

Some banks have more than one layout, depending on Payment Instruments. To define layouts for payment instrument, click on Layout for Instr. Button in Work with Bank Additional Information for Dynamic Formatter.

On Work with Bank Layouts for Payment Instrument complete with this fields: Payment Instrument Layout Field Payment Instrument Layout Explanation Payment Instrument (UDC 00/PY) Layout used for this transactions

12 / 24

Working with Bank Attributes X Reference

Some attributes in JDEdwards dont have the same value in Bank. For example Payment Instrument Electronic Check in JDEdwards is 0, in one Bank has code CKC and in other has code 10. Other example is line type, in JDEdwards File Header is 1, for bank is 0, so we need a module to define cross reference. To create Bank cross reference, click on X Reference button in Work with Bank Additional Information for Dynamic Formatter.

On Work with Bank Attributes X Reference for Dynamic Formatte, complete with this fields: Attribute JDEdwards Value Bank Value Desctiption Field Attribute JDEdwards Value Bank Value Description Explanation Dynamic Formater Attribute (UDC 76/F1) JDEdwards value Bank Value Description of JDEdwards or Bank Value

13 / 24

Working with G/L Bank Account Next Numbers

Additional information is required for G/L Bank account and Transaction Type, like file next number, bank duplicata number, accord number. To setup G/L Bank Account, click on G/L Bank Account NN button in Work with Bank Additional Information for Dynamic Formatter.

On Work with G/L Bank Account NN, complete with this fields: Account Number Accord Number Bank File Control Number Bank Duplicata Number Field Account number Accord Number Bank File Control Number Bank Duplicata Number Explanation G/L Bank account (Defined in P0030G) A code given by a company for this transaction (Optional) Sequencial number when creating Flat Files NN for Boleto creation

14 / 24

Bank Transaction Electronic Payment Inbound and Outbound transactions


Contents Overview Setup Inbound Process Outbound Process

Overview

Electronic Payment (Transaction Type BRPAGEL) perform Outbound process using A/P Automatic Payment Process (G0413).

Electronic Payment Outbound Process

1. Voucher Entry

2. Bar Code Entry (P76B 04BC) (F76B04BC) A/P Additional Information Brazil

3. Speed Status Change (P0411S) (F0411) Account Payable Ledger

4. Creating Payment Groups (R04570) (F04571) A/P Processing Header File (F04572) A/P Processing Summary File (F04573) A/P Processing Detail File

5. Work with Payment Groups WRITE (P04571)

6. Electronic Payment Outbound Trans (R76B047SE) (F0457) A/P Payment Tape File (F04572OW) A/P Payment Recods

7. File Creation for Outbound Bank Transaction P76b474O

15 / 24

Inbound process doesnt perform Update under payment group, it just create a report with bank return.

Electronic Payment Inbound Process

1. Import Flat File from Bank P76b474I

2. Electronic Payment Inbound Process (R76B047RE) (F76B474I) Inbound Bank Transactions

3. Working with Payment Groups UPDATE (P04571) (F04571) A/P Processing Header File (F04572) A/P Processing Summary File (F04573) A/P Processing Detail File

(F0413) A/P Matching Document

(F0414) A/P Matching Document Detail

Setup

To perform setup of electronic payment you must define: Create Payment Instruments Create R76B047SE versions Include R76B047SE as print program (P76B047SE) Define Bank Aditional Information for Dynamic Formatter A/B Bank Account revision Attributes for Dynamic Formatter Create Payment Instruments Brazilian banks requires different payment instruments for Electronic Payment. Some bank needs one file for each payment Instrument, so we need 5 diferent payment instruments. 0 = DOC Electronic 1 = Check Electronic 2 = Account Deposit 3 = Boleto (same bank) Electronic 4 = Boleto (other bank) Electronic Obs: If you define other codes for this payment instruments, you must update Bank Cross Reference for Payment Instrument Attribute and R76B047SE processing options.

16 / 24

Creating R76B047SE versions Before creating Payment Instruments, we need to update PO values for R76B047SE. Include R76B047SE as print program (P76B047SE) Go to Payment Instrument Defaults in Automatic Payment Setup menu(G04111), and define for G/L bank account and Payment Instruments the Electronic Payment Outbound program (P76B047SE) as print program. Define Bank Aditional Information for Dynamic Formatter Go to Work with Dynamic Formatter for Bank Transactions in Bank Module menu(G76B474), setup additional information. For cross reference fields used are: Z0001 Company Person Corporation Code Z0014 Payment Instrument Z0021 Bank Return Codes Z0024 Bank Error Codes (Just bank values) Z0042 Payee Person Corpatation Code Z0065 Line Type A/B Bank Account revision Because JDEdwards dont have agency field and agency control digit in A/B Bank Account, Bank Transit Number MUST BE defined: BANK NUMBER / AGENCY NUMBER AGENCY CONTROL DIGIT Ex: 237/3428-2 BANK NUMBER / AGENCY NUMBER Ex: 341/45763 (When Agency doesnt have control digit)

. Attributes for Dynamic Formatter


Attribute Z0001 Z0002 Z0003 Z0004 Z0005 Z0006 Z0007 Z0008 Z0009 Z0010 Z0011 Z0012 Z0013 Z0014 Atrubute Name Company Person/Corp Code Company Tax ID Company Bank Agency Company Bank Account N Company Bank Agency Digit Company Bank Account Digit Company Bank Agency N+Digit Company Bank Account N+Digit Company Name Formated File Date Created Formated File Time Created Company Bank Number Company Bank Name Payment Instrument F0101 TAXC F0101 - TAX F0030 - TNST* F0030 - CBNK F0030 - TNST* F0030 - CHKD F0030 - TNST* F0030 - CBNK + CHKD F0101 - ALPH UBE B9800100 - Get Audit Info UBE B9800100 - Get Audit Info F0030 - TNST* F0030 - DL01 F0411 - PYIN Source

17 / 24

Z0015 Z0016 Z0017 Z0018 Z0019 Z0020 Z0021 Z0022 Z0023 Z0024 Z0025 Z0026 Z0027 Z0028 Z0029 Z0030 Z0031 Z0032 Z0033 Z0034 Z0035 Z0036 Z0037 Z0038 Z0039 Z0040 Z0041 Z0042 Z0043 Z0044 Z0045 Z0046 Z0047 Z0048 Z0049 Z0050 Z0051 Z0052 Z0053 Z0054 Z0055 Z0056 Z0057 Z0058 Z0059 Z0060 Z0061 Z0062 Z0063 Z0064 Z0065 Z0066

Company Street Name Company Street N Company Street Complement Company City Company Postal Code - No Mask Company State Code Bank Return Message Formated File Line Count Payment Group Sequence Bank Return Code Payee Bank N Payee Bank Agency N Payee Bank Account N Payee Bank Agency Digit Payee Bank Account Digit Payee Bank Agency N + Digit Payee Bank Account N + Digit Payee Name Document Number Payment Date Payment Amount Bank Document Number Bank Return Payment Date Bank Return Payment Amount Bank Return Payment Document Form. File Recs without Header Total Payment Amount Payee Person Corporation Code Payee Tax ID Bar Code - Payee Bank N Bar Code - Currency Code Bar Code - Control Digit Bar Code - Payment Amount Bar Code Due Date Open Amount Discount Taken Rebate Amount Discount + Rebate Amount Fee Amount Fee 2 Amount Fee + Fee2 Amount Company Postal Code with Mask Payment Group Next Number Bank AgencyDigit+AccountDigit Company BankSwift Code (Conv.) Payee Address Book N Payment Sequence Line sequence in Segment EP Bar Code - Free Field File Formater Line Type Bar Code - Date Factor

F0101 - ADD1 ** NONE ** ** NONE ** F0101 - CTY1 F0101 - ADDZ F0101 - ADDS ** BANK ** UBE R76B047SE Variable UBE R76B047SE Variable ** BANK ** F04572 - BNST* F04572 - BNST* F04572 - CBNK F04572 - BNST* F04572 - CBNK* F04572 - BNST* F04572 - CBNK* F0101 - ALPH ** NONE ** F04572 - DGJ F04572 - PAAP ** BANK ** ** BANK ** ** BANK ** ** BANK ** UBE R76B047SE Variable UBE R76B047SE Variable F0101 - TAXC F0101 - TAX F76B04BC BBCBR* F76B04BC BBCBR* F76B04BC BBCBR* F76B04BC BBCBR* F76B04BC BBCBR F04572 - DGJ F04572 - PAAP+ADSA F04572 - ADSA ** ZERO ** F04572 - ADSA ** ZERO ** ** ZERO ** ** ZERO ** F0101 - ADDZ UBE R76B047SE NN 04/06 F0030 - TNST + CNBK F0030 - SWFT F04572 - AN8 UBE R76B047SE Variable UBE R76B047SE Variable F76B04BC BBCBR* UBE R76B047SER Variable F76B04BC BBCBR*

*(Field has multiple values in same field)

18 / 24

19 / 24

Bank Transaction Electronic Receipts (Cobrana Escritural) Inbound and Outbound transactions
Contents Overview Setup Inbound Process Outbound Process

Overview

Electronic Receipts (Transaction Type BRCOBES) perform Outbound process stand alone.

Electronic Receipts Outbound Process

1. Invoice Entry

2. Speed Status Change (P03B114) (F0B11) Customer Ledger (F760B31) A/R Additional Infromation Brazil

3. Electronic Payment Outbound Trans (R76B047SE) (F0457) A/P Payment Tape File 4. File Creation for Outbound Bank Transaction P76b474O (F04572OW) A/P Payment Recods

20 / 24

Inbound process create electronic receipts in BIF F03B13Z1, and create Fee invoices if necessary.

Electronic Receipts Inbound Process

1. Import Flat File from Bank P76b474I

2. Electronic Receipts Inbound Process (R76B03ZR) (F76B474I) Inbound Bank Transactions

3. Update Receipts Registers (R03B551) (F03B13Z1) Electronic Receipt Input (F03B11) Customer Ledger

4. Apply Receipts to Invoices (R03B50) (F03B13) Receipts Header File (F03B14) A/R Check Detail File

Setup

To perform setup of electronic receipts you must define: Fee invoices AAI A/B Bank Account revision Attributes for Dynamic Formatter Fee Invoices AAI Electronic receipts create fee invoices for receipts (RF document); to create G/L Entries it uses RFC AAI and RFD AAI (Credit and Debit). If this AAI dont exists or account dont exists, fee invoice will fail and you must create an invoice manualy and perform receipt manualy too.

A/B Bank Account revision Because JDEdwards dont have agency field and agency control digit in A/B Bank Account, Bank Transit Number MUST BE defined: BANK NUMBER / AGENCY NUMBER AGENCY CONTROL DIGIT Ex: 237/3428-2 BANK NUMBER / AGENCY NUMBER Ex: 341/45763 (When Agency doesnt have control digit)

21 / 24

. Attributes for Dynamic Formatter


Attribute Z0001 Z0002 Z0003 Z0004 Z0005 Z0006 Z0007 Z0008 Z0009 Z0010 Z0011 Z0012 Z0013 Z0014 Z0015 Z0016 Z0017 Z0018 Z0019 Z0020 Z0021 Z0022 Z0023 Z0024 Z0025 Z0026 Z0027 Z0028 Z0029 Z0030 Z0031 Z0032 Z0033 Z0034 Z0035 Z0036 Atrubute Name Company Person/Corp Code Company Tax ID Company Bank Agency Company Bank Account N Company Bank Agency Digit Company Bank Account Digit Company Bank Agency N+Digit Company Bank Account N+Digit Company Name Formated File Date Created Formated File Time Created Company Bank Number Company Bank Name Payment Instrument Company Street Name Company Street N Company Street Complement Company City Company Postal Code - No Mask Company State Code Bank Return Message Formated File Line Count Payment Group Sequence Bank Return Code Payee Bank N Payee Bank Agency N Payee Bank Account N Payee Bank Agency Digit Payee Bank Account Digit Payee Bank Agency N + Digit Payee Bank Account N + Digit Payee Name Document Number Payment Date Payment Amount Bank Document Number F0101 TAXC F0101 - TAX F0030 - TNST* F0030 - CBNK F0030 - TNST* F0030 - CHKD F0030 - TNST* F0030 - CBNK + CHKD F0101 - ALPH UBE B9800100 - Get Audit Info UBE B9800100 - Get Audit Info F0030 - TNST* F0030 - DL01 F0411 - PYIN F0101 - ADD1 ** NONE ** ** NONE ** F0101 CTY1 F0101 - ADDZ F0101 - ADDS ** BANK ** UBE R76B03ZE Variable UBE R76B03ZE Variable ** BANK ** F0030 - BNST* F0030 - BNST* F0030 - CBNK F0030 - BNST* F0030 - CBNK* F0030 - BNST* F0030 - CBNK* F0101 - ALPH ** NONE ** F03B11 - DDJ F03B11 - AAP ** BANK ** Source

22 / 24

Z0037 Z0038 Z0039 Z0040 Z0041 Z0042 Z0043 Z0049 Z0050 Z0051 Z0052 Z0053 Z0054 Z0055 Z0056 Z0057 Z0058 Z0059 Z0060 Z0061 Z0062 Z0063 Z0065 Z0067 Z0068 Z0069 Z0070 Z0071 Z0072 Z0073 Z0074 Z0075 Z0076 Z0077 Z0078 Z0079 Z0080 Z0081 Z0082 Z0083 Z0084

Bank Return Payment Date Bank Return Payment Amount Bank Return Payment Document Form. File Recs without Header Total Payment Amount Payee Person Corporation Code Payee Tax ID Due Date Open Amount Discount Taken Rebate Amount Discount + Rebate Amount Fee Amount Multa Amount Fee + Fee2 Amount Company Postal Code with Mask Payment Group Next Number Bank AgencyDigit+AccountDigit Company BankSwift Code (Conv.) Payee Address Book N Payment Sequence Line sequence in Segment EP File Formater Line Type Bank Duplicata Number Invoice Number Invoice Date Co. use code DCT/KCO/DOC/SFX Bank Send Code Bank Boleto Emitter Protest Instructions Code Protest Instructions Days Amount Fee by Day Discount Due Date Payee Complete Address Payee CEP (5 digits) Payee CEP suffix (3 digits) Message Code Message Description Collection Amount Expenses Protest/Other Amount Expenses Protest instructions reason

** BANK ** ** BANK ** ** BANK ** UBE R76B03ZE Variable UBE R76B03ZE Variable F0101 - TAXC F0101 - TAX F03B11 - DGJ F03B11 - PAAP+ADSA F03B11 - ADSA F7603B1 F7603B1 F7603B1 F7603B1 F7603B1* F0101 - ADDZ UBE R76B03ZE NN 04/06 F0030 - TNST + CNBK F0030 - SWFT F04572 - AN8 UBE R76B03ZE Variable UBE R76B03ZE Variable UBE R76B03ZER Variable F7603B1 BBDN F03B11 VINV F03B11 DIVJ F03B11 DCT + KCO + DOC + SFX in hexadecimal F7603B1 R76B03ZS Proc. Options F7603B1 F7603B1 F7603B1 * F03B11 F0101 ADD1 F0101 ADDZ* F0101 ADDZ* F76B03B1 F76B03B1 Media Objects **BANK** **BANK** **BANK**

*(Field has multiple values in same field)

23 / 24

24 / 24

Das könnte Ihnen auch gefallen