Creating a flat file Schema using Flat File Schema Wizard - Comma delimited flat file

 Introduction

In this blog post, we will try to understand how to create a flat file schema using a flat file schema wizard.

Steps

  • Let's use the flat file below to generate the schema.

Invoice Number,Date,Customer Name,Customer Address,Item Description,Quantity,Unit Price,Total

INV-2023-001,2023-09-23,John Doe,123 Main St,Product A,5,10.00,50.00

INV-2023-002,2023-09-24,Jane Smith,456 Elm St,Product B,3,15.00,45.00

INV-2023-003,2023-09-25,Bob Johnson,789 Oak St,Product C,2,20.00,40.00

  • Create a new BizTalk project and solution and name it POCFlatFileSchema
  • Right Click on the project --> Add New Item



Provide the instance file path, Name the record as "Invoice" and code page as shown below

  • First we need to define the records and then elements within the record. The schema wizard will walk us through the process. Select the first record as shown below and click next

Invoice Number,Date,Customer Name,Customer Address,Item Description,Quantity,Unit Price,Total¶«





  • This is the child delimiter of the record.



Give a name of the record and the element type should be record








  • Now let's define the elements within the record



  • Each element should be delimited by a comma. That is why we have selected the child delimuter as comma




Click on Finish


  • Save the schema



  • Now let's validate the schema


  • Validation is successful






















Comments

Popular posts from this blog

EDI X12 Trading partner configuration in BizTalk

How to create an EDI 850 profile in Boomi?

Basics of Correlation in BizTalk