on 2022 Oct 25 7:36 PM
Hello experts,
I would like to carry out an "issue for production". If the item is not batched, everything works.
However, if the item is batched, I get the following error message:
SAPbobsCOM.Documents IssueProdOrd;
IssueProdOrd = (SAPbobsCOM.Documents)(connection.GetCompany().GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenExit));
IssueProdOrd.Lines.BaseEntry = 2503;
IssueProdOrd.Lines.BaseLine = 0;
IssueProdOrd.Lines.BaseType = 202;
IssueProdOrd.Lines.Quantity = 5;
IssueProdOrd.Lines.BinAllocations.SerialAndBatchNumbersBaseLine = 0;
IssueProdOrd.Lines.BatchNumbers.BatchNumber = "123456";
//IssueProdOrd.Lines.SetCurrentLine(0);
IssueProdOrd.Lines.BatchNumbers.Quantity = 5;
//IssueProdOrd.Lines.BatchNumbers.BaseLineNumber = 0;
//IssueProdOrd.Lines.BatchNumbers.Location = "01";
IssueProdOrd.Lines.BatchNumbers.Add();
IssueProdOrd.Lines.Add();
int redCode = IssueProdOrd.Add();
string errMsg;
if (redCode != 0)
{
connection.GetCompany().GetLastError(out redCode, out errMsg);
}<br>
I get the following error:
"1470000368 - Die Lagerplätzen zugeordnete Menge muss positiv sein"
in english:
"1470000368 - The quantity allocated to bin locations must be positive"
The "issue for production" in SAP itself works.
I am aware that a similar post already exists. However, the solution did not work for me
Does someone has any idea?
Thank you very much for your help!
Best regards
Levin
User | Count |
---|---|
115 | |
9 | |
8 | |
6 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.