API release: to make a production location historic


The 'Make historic' service has been released for production locations.



PUT {{restUrl}}/Documents/prdl/0/Service/historie?MessageResult=1

  • MessageResult = 0 is "No", 1 is "Yes". In MKG you will be asked if you want to continue with this action. The action "Yes"(1) must be given here.

Body:

{
    "request":{
        "InputData":{
            "prdl":[
                {
                    "admi_num": 1,
                    "prdh_num": "60230318",
                    "prdr_num": 1,
                    "prbv_num": 1,
                    "plnb_num": 1,
                    "magl_code": "R1000in",
                    "prdl_id": "",
                    "prdl_status": 2,
                    "RowKey": 1,
                }
            ]
        }
    }
}

  • admi_num = Administration. Mandatory to submit.
  • prdh_num = Production order. Mandatory to submit.
  • prdr_num = Production order semi-finished product. Mandatory to submit.
  • prbv_num = Operation PC. Mandatory to submit.
  • plnb_num = Planning operation. If there is no planning operation for the location, leave the line blank and just put "".
  • magl_code = Warehouse location. Mandatory to submit.
  • prdl_id = ID, does not have to be filled.
  • prdl_status = Status of the production location. 0 = Neutral, 1 = Must be picked up, 2 = Has been put down.
  • RowKey: obliged to submit.