Skip to Content
0
Former Member
Nov 02, 2005 at 02:50 PM

Receiver File Adapter - Ignore Fields

52 Views

Hi,

I have the following structure on the Payload; -

<?xml version="1.0" encoding="utf-8" ?>

- jsg.com/JCUKEPOS">

- <Records>

- <RecordType01>

<RecordType>01</RecordType>

<GroupCode>01</GroupCode>

<GroupDescription>Material group 1</GroupDescription>

</RecordType01>

- <RecordType02>

<RecordType>02</RecordType>

<GroupCode>01</GroupCode>

<ProductCode>Stuff</ProductCode>

<ProductDescription>35m</ProductDescription>

<MinOrderQty>000001</MinOrderQty>

<MaxOrderQty>000002</MaxOrderQty>

<DeliveryCode>XXX</DeliveryCode>

<SupplierID>00001000</SupplierID>

</RecordType02>

- <RecordType02>

<RecordType>02</RecordType>

<GroupCode>01</GroupCode>

<ProductCode>Stuff</ProductCode>

<ProductDescription>Sto</ProductDescription>

<MinOrderQty>000001</MinOrderQty>

<MaxOrderQty>000002</MaxOrderQty>

<DeliveryCode>XXX</DeliveryCode>

<SupplierID>00001000</SupplierID>

</RecordType02>

</Records>

<Filename>U1010.txt</Filename>

I am using the Filename variable in the adpater to be able to create dynamic filenames. However, the adapter is also trying to write out this value to the file. Is there a way of telling the adapter to ignore this field.

Thanks

Martin