Update Bill Status-Books to Creator
Tue Mar 18 2025 09:24:53 GMT+0000 (Coordinated Universal Time)
Saved by
@Pooja
/*updating status*/
billID = bill.get("bill_id");
responseNewBills = invokeurl
[
url :"https://www.zohoapis.in/creator/v2.1/data/dev07uat21/organic/report/All_Purchase_Order_Bills?Bill_Books_ID=" + billID
type :GET
connection:"creator"
];
if(responseNewBills.get("code") == 3000 && responseNewBills.get("data") != null)
{
updateID = responseNewBills.get("data").get(0).get("ID");
info bill.get("status");
updateMap = Map();
newOther = Map();
updateMap.put("Bill_Status",bill.get("status"));
udpateBills = zoho.creator.updateRecord("dev07uat21","organic","All_Purchase_Order_Bills",updateID,updateMap,newOther,"creator");
}
info udpateBills;
content_copyCOPY
Comments