Assuming getfield is required, the following 7 results were found.
0; } // get the value from the field "Weight (kg)" (decimal field only allowed 2 decimals) var v_ProductWeight = ZDK.Page.getField('Weight_kg').getValue(); // count if more than 2 decimals, then round it to 2 decimals else use the current value var...
Lipman - 20221018 -------------------------"); // get some values from the current record var v_CurrencyCode = ZDK.Page.getField('Currency').getValue(); var v_ConsultantLocation = ZDK.Page.getField('Location').getValue(); // only run the rest if record...
*/ // attempt try { // get the type of invoice selected var v_InvoiceType = ZDK.Page.getField('Invoice_Type').getValue(); // check source quote is specified var v_QuoteID = ZDK.Page.getField('Converted_From_ID').getValue(); // only make changes to the...
// get the full name of this contact (not sure why this returns both first and last) var v_ContactName = ZDK.Page.getField('Last_Name').getValue(); // get the email of this contact var v_ContactEmail = ZDK.Page.getField('Email').getValue(); // get the...
// attempt try { // get the ID from the lookup field called "Vendor Contact" var v_VendorContactID = ZDK.Page.getField('Vendor_Contact').getValue().id; // get the record details for this contact record (note this is ZDK.Apps.CRM but my syntax...
"Order Type" has to be set to "Supplier". My file upload field is called "Order Confirmation". v_OrderType = ZDK.Page.getField('Order_Type').getValue(); if (v_OrderType == "Vendor") { var o_UploadField = ZDK.Page.getField('Order_Confirmation');...
and Event is "onLoad". Give it the code: var r_User = ZDK.Apps.CRM.Users.fetchById($Crm.user.id); var r_Field = ZDK.Page.getField('Pipeline'); if (r_User.Department == "Sales Team") { r_Field.setValue("Sales Pipeline"); } else { r_Field.setValue("Hire...