Skip to Content
avatar image
Former Member

Error in Issue for production using Add-on

Hello experts ,

I received the error "production order no 0 line 1 not found" when i am adding a issue for production.The code i use is the following for the lines:

                            oPruduction.Lines.BaseEntry = rsLines.Fields.Item("DocEntry").Value;
                            oPruduction.Lines.BaseType = 202;
                            oPruduction.Lines.BaseLine = rsVisOrder.Fields.Item("VisOrder").Value;
                            oPruduction.Lines.Quantity = rsLines.Fields.Item("Quantity").Value;

I think that the values is not correct or something missing.Please advice

Kind Regards ,

Ifigeneia Koumbarda

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 19, 2017 at 01:29 PM


    Please check the values coming on the recordsets and double check the query filling the recordset, it doesn`t seem to be correct, probably DocEntry = ZERO and VisOrder = 1, I am sure there is no production order with DocEntry 0 and you must use the LineNum instead of VisOrder

    Add comment
    10|10000 characters needed characters exceeded