... var fn_CountDecimals = function(value) {
if (Math.floor(value) !== value)
return value.toString().split(".")[1].length || 0;
return 0;
}
// get the value from ...
... + v_BooksOrgID
type :GET
connection:"zbooks"
];
for each m_Tax in r_Taxes.get("taxes")
{
m_Taxes.put(m_Tax.get("tax_percentage").toString(),m_Tax.get("tax_id"));
}
info m_Taxes;
//
// ---------------------------------
// ...
... in the world, the day index for a Sunday is 7 (ie. myDate.toString("u") returns 7) and the week commences on a Sunday (ie. myDate.toStartOfWeek("EEEE") returns Sunday). In other words, the day counting ...
... checking if daylight savings is in effect in the UK, we should be able to take Greenwich Mean Time and compare to UTC.
b_IsDSTInEffect = if(zoho.currenttime.toString("HH:mm", "UTC") != zoho.currenttime.toString("HH:mm", ...
... enter your own organization ID here for ZohoBooks and ZohoInventory
v_BooksOrgID = 12345678901;
//
// evaluate
v_currentDate = zoho.currentdate.toString("yyyy-MM-dd");
v_OrderDate = zoho.currentdate.toString("yyyy-MM-dd");
v_Page ...
... output to developer for debug purposes
v_Date = zoho.currentdate.subDay(v_Index).toString("yyyy-MM-dd");
info v_Date;
//
// set criteria of what shipment orders to retrieve
m_Criteria = Map();
m_Criteria.put("date",v_Date);
//
// ...
... convert to xml and replace root nodes
x_Params = m_Params.toXML();
x_Params = x_Params.toString().replaceFirst("","");
x_Params = x_Params.toString().replaceFirst("","");
// info "Request Sent t ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.