I have a production order created in a released state
I am generating the output.

I am trying to send this output through services layer
with the following json
{
"DocDate":"2022-12-12T14:51:53.643",
"DocDueDate":"2022-12-12T14:51:53.643",
"Series":"26",
"DocumentLines":[{
"WarehouseCode":"PB-PT",
"BaseType":202,
"BaseEntry":"423932",
"Quantity":61.35,
"BatchNumbers":[{
"BatchNumber":"2022",
"Quantity":61.35,
"AddmisionDate":"2022-12-13"}]
}],
"DocumentReferences":[{
"RefObjType":"60",
"RefDocEntr":"300533"}]
and returns the following
{
"error": {
"code": -5002,
"message": {
"lang": "en-us",
"value": "Referenced work order type should be \"disassembly\" [OIGE.DocStatus][line: 0]"
}
}
}
I don't want to return the output by disassembly
I need to create the issue for production
that I have to do?