Save Purchase Order :- LOGIC API PUSH - PURCHASE ORDER

This API is used to create Purchase Order in LOGIC

Authorization Detail

Name Detail
End Point http://demo.logicerp.com/api/SavePurchaseOrder
Request Type POST
Authorization Basic Auth
Username Demo
Password 1

Request


{
    "Branch_Short_Name": "",
    "Branch_Code": 2,
    "Order_Prefix": "POO",
    "Order_Date": "23-10-2023",
    "Remarks": "",
    "Tax_Region": "CGST-SGST",
    "Delivery_Date": "",
    "Valid_Till_Date": "",
    "Delivery_Add_1": "",
    "Delivery_Add_2": "",
    "Delivery_Add_3": "",
    "Delivery_At": "",
    "Quotation_No": "",
    "Quotation_Date": "",
    "Supplier_Order_No": "",
    "Party_User_code": "99004492",
    "Total_Other_Val_1": 0.0,
    "Total_Other_Val_2": 0.0,
    "Total_Other_Val_3": 0.0,
    "Total_Other_Val_4": 0.0,
    "Total_Other_Val_5": 0.0,
    "Total_Other_Val_6": 0.0,
    "Total_Other_Val_7": 0.0,
    "Agent_Name": "",
    "Company_Name": "",
    "Transport_Name": "",
    "ListItems": [
        {
            "LogicUser_Code": "LG0007",
            "AddlItemCode": "",
            "Order_Qty": 1,
            "Rate": 500,
            "SPCD_P": 0.0,
            "Tax_Amount": 0.0,
            "Remarks": ""
        },
        {
            "LogicUser_Code": "LG0008",
            "AddlItemCode": "",
            "Order_Qty": 1,
            "Rate": 600,
            "SPCD_P": 0.0,
            "Tax_Amount": 0.0,
            "Remarks": ""
        }
    ]
}

               

Name Type Length Mandatory
Order_Prefixnvarchar-yes
Order_Datenvarchar--
Remarksnvarchar150-
Tax_Regiondate/time--
Delivery_Datedate/time--
Valid_Till_Datedate/time--
Delivery_Add_1nvarchar30-
Delivery_Add_2nvarchar30-
Delivery_Add_3nvarchar30-
Delivery_Atnvarchar30-
Party_Order_codedate/time-yes
Agent_Namenvarchar--
Company_Namenvarchar--
Transport_Namenvarchar--
LogicUser_Code | AddlItemCodenvarchar-Yes (Any one)
Order_Qtynum-yes

Response


{
   "LastSavedDocNo": "POO-1",
   "Order_No": null,
   "PrintFile": null,
   "LastSavedCode": 142,
   "Status": true,
   "Message": ""
}