Save Sale Order :- LOGIC API PUSH - SALE ORDER

This API is used to create Sale Order in LOGIC

Authorization Detail

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

Request


{
   "Branch_Short_Name": "",
   "Branch_Code": 2,
   "Order_Prefix": "SO",
   "Order_Date": "21/06/2023",
   "Party_User_code": "2721",
   "Party_Order_No": "SOTESTAPI111",
   "External_Order_ID": "",
   "Remarks": "",
   "Tax_Region": "",
   "RCU_Mem_Prefix": "",
   "RCU_Mem_Number": "",
   "RCU_Mobile_No": "",
   "RCU_Email": "",
   "RCU_First_Name": "",
   "RCU_Last_Name": "",
   "RCU_State": "",
   "RCU_PinCode": "",
   "RCU_Country": "",
   "RCU_City": "",
   "Billing_FirstName": "",
   "Billing_MiddleName": "",
   "Billing_LastName": "",
   "Billing_MobileNo": "",
   "Billing_EmailID": "",
   "Billing_Address1": "",
   "Billing_Address2": "",
   "Billing_Country": "",
   "Billing_State": "",
   "Billing_City": "",
   "Billing_PinCode": "",
   "Billing_ContactPerson": "",
   "Billing_Location": "",
   "Shipping_FirstName": "",
   "Shipping_MiddleName": "",
   "Shipping_LastName": "",
   "Shipping_MobileNo": "",
   "Shipping_EmailID": "",
   "Shipping_Address1": "",
   "Shipping_Address2": "",
   "Shipping_Country": "",
   "Shipping_State": "",
   "Shipping_City": "",
   "Shipping_PinCode": "",
   "Shipping_ContactPerson": "",
   "Shipping_Location": "",
   "Payment_Method": "",
   "Exfactory_Date": "",
   "Delivery_Date": "",
   "Delivery_Time": "",
   "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,
   "Indirect_Customer_User_Code": "",
   "Agent_Name": "",
   "Company_Name": "",
   "Transport_Name": "",
   "Indirect_Order_No": "",
   "Indirect_Order_Date": "",
   "Order_Type": "",
   "Party_Order_Date": "",
   "Doc_Through": "",
   "Branch_Order_Date": "",
   "Delv_Vessel_Fight_No": "",
   "AdvanceEntry": {                                       
       "CashAmount": 350.0,
       "CreditCardAmount": 0.0,
       "CreditCardNo": null,
       "ChequeAmount": 0.0,
       "ChequeNo": null,
       "ChequeDate": null,
       "CreditNoteAmount": 0.0
   },
   "ListItems": [
       {
           "LogicUser_Code": "TESTITEM101",
           "AddlItemCode": "",
           "Order_Qty": 5.0,
           "Rate": 1200.0,
           "CD_P": 0.0,
           "TD_P": 0.0,
           "SPCD_P": 0.0,
           "CD_Rs": 0.0,
           "Scheme_Item": 0.0,
           "Adjust_Item": 0.0,
           "Tax_Amount": 0.0,
           "Remarks": "",
           "User_Column_1": "",
           "User_Column_2": "",
           "User_Column_3": "",
           "User_Column_4": "",
           "User_Column_5": "",
           "Item_Order_ID": "",
           "Exfactory_Date": "",
           "Delivery_Date": "",
           "ItemDetCode": "",
           "Lot_Number": ""
       }   
   ]
}

               

Name Type Length Mandatory
Branch_Codenumyes
Order_Prefixnvarchar15yes
Order_Datedate/time--
Party_User_codenum-yes
Party_Order_Nonvarchar100yes
External_Order_IDnvarchar--
Remarksnvarchar--
RCU_Mem_Prefixnvarchar8-
RCU_Mem_Numbernvarchar--
RCU_Mobile_Nonum10-
RCU_Emailnvarchar50-
RCU_First_Namenvarchar50-
RCU_Last_Namenvarchar50-
RCU_Statenvarchar50-
RCU_PinCodenum10-
RCU_Countrynvarchar50-
RCU_Citynvarchar50-
Billing_FirstNamenvarchar50-
Billing_MiddleNamenvarchar50-
Billing_LastNamenvarchar50-
Billing_MobileNonum10-
Billing_EmailIDnvarchar50-
Billing_Address1nvarchar200-
Billing_Address2nvarchar200-
Billing_Countrynvarchar60-
Billing_Statenvarchar60-
Billing_Citynvarchar60-
Billing_PinCodenum60-
Billing_ContactPersonnvarchar80-
Shipping_FirstNamenvarchar50-
Shipping_MiddleNamenvarchar50-
Shipping_LastNamenvarchar50-
Shipping_MobileNonum10-
Shipping_EmailIDnvarchar50-
Shipping_Address1nvarchar200-
Shipping_Address2nvarchar200-
Shipping_Countrynvarchar50-
Shipping_Statenvarchar50-
Shipping_Citynvarchar50-
Shipping_PinCodenum60-
Shipping_ContactPersonnvarchar100-
Payment_Methodnum--
Exfactory_Datedate/time--
Delivery_Datedate/time--
Total_Other_Val_1money--
Total_Other_Val_2money--
Total_Other_Val_3money--
Total_Other_Val_4money--
Total_Other_Val_5money--
Total_Other_Val_6money--
Total_Other_Val_7money--
Transport_Namenvarchar--
LogicUser_Code | AddlItemCodenvarchar-Yes (Any one)
Order_Qtynum-yes

Response


{
   "LastSavedDocNo": "SO-1456",
   "Order_No": "SO-1456",
   "PrintFile": null,
   "Status": true,
   "Message": "",
   "LastSavedCode": 5022
}