Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Service Development Help | Working with Flat Files | Defining Flat File Elements | Adding a Record Reference
 
Adding a Record Reference
For flat file schemas only.
In a flat file schema, you can create a reference to a record definition that is defined in a flat file dictionary.
*To add a record reference
1. In Package Navigator view, double-click the flat file schema to which you want to add a record reference. The flat file schema opens in the flat file schema editor window.
2. In the Flat File Structure tab of the flat file schema editor, select the schema and click in the editor toolbar. (You can also right–click and select New.)
3. Select Record Reference and click Next.
4. Navigate to the flat file dictionary in which the record is located, select the dictionary, and then click Next.
5. Select the element that you want to reference and then click Next.
6. In the Enter Record Definition Name(s) dialog box, type the name of the record.
Important:
This name must match the value of its record identifier exactly as it will appear in the flat file. The name of a record reference does not have to match the name of the record definition in the flat file dictionary. The name of a record reference will be matched to the record identifier in the record. The name of the record definition in the flat file dictionary does not need to match the record identifier that appears in the flat file.
7. Click Finish.
The record is added to the flat file schema structure. The Referring To field indicates the record definition to which the record reference refers. The Dictionary field indicates the flat file dictionary to which the record reference refers. If the element is a record definition, these two fields are empty.