Skip to Content
author's profile photo Former Member
Former Member

Error adding a receipt from production with "Complete" transaction Type

Hi All,

I’m generating Receipt from Production documents via SDK.

When posting them manually you have to set the transaction type to “Complete” at line level to make the new receipt update the production order completed quantity.

The problem is that when I use the SDK to set

  1. receiptAgainstPrdOrdr.Lines.TransactionType = SAPbobsCOM.BoTransactionTypeEnum.botrntComplete;

then when adding I receive the error “Transaction type should be filled only in production completion transaction [IGN1.TranType][line: 0]”

If the transaction is posted without setting the above property the Add method succeeds, obviously without updating the production order completed quantity.

Any hint about this error?

Thank you


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 26, 2016 at 02:31 PM

    Did you set the quantity field?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.