on 01-13-2015 7:14 AM
Hi,
Since I upgrade my customer from B1 9.0 to 9.1 Patch 4,I can't close ProductionOrder witch have transaction
My code is :
Dim OrdreFabrication As ProductionOrders = DirectCast(oCompany.GetBusinessObject(BoObjectTypes.oProductionOrders), ProductionOrders)
If OrdreFabrication.GetByKey(Docentry) Then
If OrdreFabrication.ProductionOrderStatus = BoProductionOrderStatusEnum.boposReleased Then
OrdreFabrication.ProductionOrderStatus = BoProductionOrderStatusEnum.boposClosed
If OrdreFabrication.Update <> 0 Then
SBO_Application.StatusBar.SetText(String.Format("ERROR : {0}", oCompany.GetLastErrorDescription), BoMessageTime.bmt_Short, BoStatusBarMesspe.smt_Error)
End If
End If
End if
I have this error message : Action is valid for planned or released production orders with no transactions [WOR1.PlannedQty][line: 1] , 'Row no. 1'
Is it a bug or a new process exist to close a productionorder with transaction,(this object has no method "close" only (add, update and Cancel method)
Best regards
That's a SAP BUG.
It's impossible to close on 9.1 version a production order create before the 9.1.version
Solution : Close manually the production order directly on SAP B1
Why SAP don't test this case in DI API ???
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Bruno:
This bug was fixed with 9.1 PL 9.
Official note: http://service.sap.com/sap/support/notes/2185191
Best regards,
Joerg.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
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.