on 06-25-2015 7:12 PM
I am creating delivery documents based on a sales order via the XML API. Everything works fine and my delivery is created and properly linked to the correct sales order. I have one issue with my header UDFs not getting populated with the values from my XML. They are actually carrying forward the sales order UDF values.
Is this by design? Is there some way to not have this happen on inserts?
I set my document lines like this:
<Document_Lines>
<row>
<BaseType>17</BaseType>
<BaseEntry>386</BaseEntry>
<BaseLine>2</BaseLine>
<Quantity>2.000000</Quantity>
</row>
<row>
<BaseType>17</BaseType>
<BaseEntry>386</BaseEntry>
<BaseLine>1</BaseLine>
<Quantity>6.000000</Quantity>
</row>
<row>
<BaseType>17</BaseType>
<BaseEntry>386</BaseEntry>
<BaseLine>3</BaseLine>
<Quantity>4.000000</Quantity>
</row>
<row>
<BaseType>17</BaseType>
<BaseEntry>386</BaseEntry>
<BaseLine>0</BaseLine>
<Quantity>36.000000</Quantity>
</row>
</Document_Lines>
Hi Curtis,
Header UDF? Yes... AT least, because since the delivery can be created from several sales order, B1 just cannot determine from which to take the values. You could that, since the new document comes from a single sales order it will take its values, but no.
You have to fill them by hand.
Regards,
Eric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.