cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Massimo

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member233854
Active Contributor
0 Kudos

Did you set the quantity field?