Save Purchase Return Against PU Challan Return:- LOGIC API PUSH - PURCHASE RETURN AGAINT PU CHALLAN RETURN
This API is used to create the Purchase Return Against PU challan Return
Authorization Detail
Name | Detail | |
---|---|---|
End Point | http://demo.logicerp.com/api/SavePurchaseReturnAgaintPUChallanReturn | |
Request Type | POST | |
Authorization | Basic Auth | |
Username | Demo | |
Password | 1 |
Request
{
"AccountCode": "1200",
"SupplierCode": null,
"Challan_Code": 73,
"Bill_No": "PZ1",
"Bill_Date": "31/01/2024",
"GRN_Prefix": "GRN",
"GRN_Number": 0,
"PU_Remarks_1": "RKS-121",
"PU_Remarks_2": "",
"PU_Remarks_3": "",
"PartyBillDate": "",
"BranchCode": 2,
"InvoiceDate": "",
"Godown_Name": "MAIN",
"BranchShortName": "",
"Freight": 0.0,
"Adjustment_Rs": 0.0,
"CD_P": 0.0,
"TD_P": 0.0,
"SP_CD": 0.0,
"SpDiscountRs": 0.0,
"AdjustUnit": 0.0,
"SchemeRs": 0.0,
"CreditDays": 0,
"AgentName": null,
"CostCenter": "",
"OrderNo": "",
"TransporterName": "",
"PVTMark": null,
"Insurance_Policy_No": "",
"Declaration_No": null,
"OrderDate": null,
"ChallanNo": null,
"ChallanDate": null,
"Cases": null,
"GRDate": null,
"TransportMode": "",
"DeliveryAt": "",
"DeliveryAdd1": "",
"DeliveryAdd2": "",
"CurrencyName": "",
"ExchangeRate": 0.0,
"VehicleNo": "",
"LstItems": [
{
"AddlItemCode": "",
"LogicUser_Code": "LG0007",
"ScannedQty": 1,
"Lot_Mrp": 0.0,
"BasicRate": 1000.0,
"PurRate": 1000.0,
"SaleRate": 1200.0,
"Expiry_Date": null,
"MFG_Date": null,
"LotNo": "K2",
"Lot_Bill_No": "",
"ItemDescription": "",
"Production_Unit": "",
"Org_Production_Unit": ""
},
{
"AddlItemCode": "",
"LogicUser_Code": "LG0008",
"ScannedQty": 1,
"Lot_Mrp": 0.0,
"BasicRate": 1000.0,
"PurRate": 1000.0,
"SaleRate": 1200.0,
"Expiry_Date": null,
"MFG_Date": null,
"LotNo": "K1",
"Lot_Bill_No": "",
"ItemDescription": "",
"Production_Unit": "",
"Org_Production_Unit": ""
}
]
}
Name | Type | Length | Mandatory |
---|---|---|---|
AccountCode | nvarchar | - | yes |
SupplierCode | num | - | - |
Bill_No | date/time | - | - |
Bill_Date | date/time | - | - |
GRN_Prefix | nvarchar | 60 | - |
GRN_Number | num | 60 | - |
PU_Remarks_1 | nvarchar | 150 | - |
PU_Remarks_2 | nvarchar | 150 | - |
PU_Remarks_3 | nvarchar | 150 | - |
PartyBillDate | date/time | - | - |
InvoiceDate | date/time | - | - |
Godown_Name | nvarchar | - | - |
BranchShortName | nvarchar | - | - |
Adjustment_Rs | money | - | - |
SpDiscountRs | money | - | - |
AdjustUnit | money | - | - |
SchemeRs | money | - | - |
CreditDays | date/time | - | - |
AgentName | nvarchar | - | - |
OrderNo | nvarchar | - | - |
TransporterName | nvarchar | - | - |
PVTMark | nvarchar | 20 | - |
Insurance_Policy_No | nvarchar | 25 | - |
Declaration_No | nvarchar | 25 | - |
OrderDate | date/time | - | - |
ChallanNo | nvarchar | 25 | - |
ChallanDate | date/time | - | - |
Cases | nvarchar | 80 | - |
GRDate | date/time | - | - |
TransportMode | nvarchar | - | - |
DeliveryAt | nvarchar | 3 | - |
DeliveryAdd1 | nvarchar | 3 | - |
DeliveryAdd2 | nvarchar | 3 | - |
CurrencyName | nvarchar | - | - |
ExchangeRate | money | - | - |
VehicleNo | nvarchar | 25 | - |
LogicUser_Code | AddlItemCode | nvarchar | - | Yes (Any one) |
ScannedQty | num | - | yes |
Response
{
"LastSavedDocNo": "GRN-13.00",
"LastSavedCode": 287,
"Status": true,
"Message": ""
}