Hello,
I've the following problem:
I try to import orders using a file-adapter. This orders may have addresses that are not in the BP Master Data. This means, we have to empty the ShipToCode and/or BillToCode and write our address to the Address or Address2-field.
Inserting the values to the Address/Address2-fields works perfect, but do not know how to empty the ShipToCode/BillToCode. If the Reciever-Payload does not hold a value for this fields, the system always uses the defaulf value from the BP Master Data.
Best regards,
Thomas
Request clarification before answering.
Hi Thomas,
if you use the tags <address> (BillTo) and <address2> (ShipTo) in your receiver payload, then it should work. (I tested it in B1 8.8)
For example the following code would generate a sales order with "Test" as ship to address and complete empty bill to address:
<BOM>
<BO>
<AdmInfo>
<Object>17</Object>
<Version>2</Version>
</AdmInfo>
<Documents>
<row>
<DocType>dDocument_Items</DocType>
<DocDate>20100426</DocDate>
<DocDueDate>20100426</DocDueDate>
<CardCode>C20000</CardCode>
<TaxDate>20100426</TaxDate>
<Address> </Address>
<Address2>Test</Address2>
</row>
</Documents>
<Document_Lines>
<row>
<ItemCode>A00001</ItemCode>
<Quantity>1</Quantity>
</row>
</Document_Lines>
</BO>
</BOM>As soon as you use these fields to owerwrite the default addresses, the corresponding BillToCode / ShipToCode are automatically empty.
Regards,
Marcus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 13 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.