cancel
Showing results for 
Search instead for 
Did you mean: 

Minimum Fields that Need to be Populated for Delivery Note

Former Member
0 Kudos

Does anyone have a list of bare minimum fields that need to be populated when uploading a Delivery Note from another 3rd party system (e.g. a shipping system) to SAP Business One?

Thanks.

Kushal Dutta.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kushal,

I believe that, similar to all Documents, you need to populate the CardCode, Delivery Date, and a minimum of one line item.

Also, please note that this forum is for SAP B1 Integration Technology, your question would probably be more relevant in the SDK forum.

HTH,

Dhruv

Former Member
0 Kudos

Hi Dhruv:

Thank you for your answer - that was helpful. Please note that I had originally posted this in SDK, and no one answered for over a week. I got an immediate reply back from you once I posted it in the Integration forum - sorry about that.

I have a related question though.

When I am posting the Delivery Note back to B1, I had expected B1 to generate the DocNum. However, it gives me an error if I do not populate the DocNum field. I have to put a value there, however, it appears to me that B1 is ignoring the value that I put and is generating a new DocNum. I am happy with that, however, need to know two things:

a) Is there a specific value that I should populate the DocNum field wth before sending the XML to B1, or just any random number will do?

b) How do I control which Sales Order the Doclivery Note gets posted against?

Thank you.

Kushal Dutta.

Former Member
0 Kudos

Hi Kushal,

You do not need to specify DocNum when posting the Delivery, since B1 will internally generate that. Can you post the error message you are getting?

With respect to your second question, the fields "BaseType", "BaseEntry", and "BaseLine"in the Document Lines Object specify which base document will be hit.

HTH,

Dhruv

Former Member
0 Kudos

HI Dhruv:

Sorry to repoen this question, but a follow up issue has come up. I am now able to post a delivery note without populating the DocNum. However, I notice that I can only post one delivery note against a sales order. In other words, if an order is shipped in multiple shipments, I am only able to post the first one, and then subsequently I get an error message stating "document already closed", even though the sales order status in SBO shows open. For posting a delivery against PO however, it allows me to post the receipts in multiple deliveries. This may be more of a functional question now, but please let me know if this is the correct behaviour of the system that I am observing.

Thank you once again.

Kushal Dutta.

Former Member
0 Kudos

Hi Kushal,

Can you please post the envelope you are using to create a delivery in B1? Also if possible, can you provide an XML view of the Sales Order you are trying to knock off?

Regards,

Dhruv

Answers (1)

Answers (1)

Former Member
0 Kudos

Follow up question has come up...