cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver File Adapter - Ignore Fields

Former Member
0 Kudos

Hi,

I have the following structure on the Payload; -

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

- <p2:MTEPOSUCopy xmlns:p2="urn: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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Martin,

It is possible to suppreess the file name if you are using content conversion, please check the this weblog...

/people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12

Regards

Anand

Message was edited by: Anand Torgal

Former Member
0 Kudos

That Worked.

Thanks a lot.

Martin

Answers (0)