cancel
Showing results for 
Search instead for 
Did you mean: 

General error in di when add delivery

Former Member
0 Kudos

Hi,

I'm using DI API and when i add a delivery associated to sales order, the SAP throws "General Error" and i can't make the delivery.

The error appear when I associate the dellivery to sales order, if i not associate the dellivery to sales order

the delivery is added.

delivery.Lines.BaseEntry = sales_entry '1

delivery.Lines.BaseType = 17 'bodt_Sales_Order

delivery.Lines.BaseLine = sales_line '0

Any sugestion?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Tiago,

That's very little information. Can you post the entire code (including the variables declaration and invoking the Add method).?

Regards,

Vítor Vieira