Skip to Content
0
Dec 13, 2022 at 06:04 PM

Error sending output for production

65 Views Last edit Dec 13, 2022 at 06:08 PM 2 rev

I have a production order created in a released state

I am generating the output.

salida.png

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?

Attachments

salida.png (14.3 kB)