... p_QuoteID is the ID of the quote):
// init Map
m_UpdateQuote = Map();
//
r_QuoteDetails = zoho.crm.getRecordById("Quotes", p_QuoteID);
v_SubTotal = r_QuoteDetails.get("Sub_Total").toDecimal() * ...
... to properly convert seconds into total hours, minutes and seconds (taking into account regional settings and without using a date function).
How?
$total_time =intval(intval($total_seconds)/ 3600).":";
$total_time.=str_pad(intval(($total_seconds/60)%60),2,"0",STR_PAD_LEFT).":";
$total_time.=str_pad(intval($total_seconds%60),2,"0",STR_PAD_LEFT);
// ...
... in the Future
Total Number of Candidates
I'll flesh this out some other time but here's the code I used:
r_CandidateDetails = zoho.recruit.getRecordById("Candidates",p_CandidateID,"zrecruit");
//info ...
What?
A quick article to demonstrate code that creates a task in CRM based on the time logged against an Event/Meeting.
Why?
As developers, we're keep account of our time and we are currently ...
... It then outputs a JSON list as a response and the total record count:
void API.fn_ShopifyQuery_GetActiveProducts()
{
m_Header = Map();
m_Header.put("Content-Type","application/json");
//
// ...
... ticked, the same popup will appear if you click on the edit icon in the header "Tax" (applies to subtotal).
Note:
If you do not do the second section as per this article, even having customized ...
... r_CreateTimeLog;
You will find I've included the Hours decimal calculation above but it's not used and just for future reference. The API wants the total hours and minutes in the format "HH:mm" (eg. "34:06 ...
... causes errors further down the line. Just add these parameters as per my above instructions for a more robust solution.
[See below for full code] Enter the code to determine total number of employees ...
... of each word in your database column by order of most used first (replace 'mydbprefix_content' with the name of your database table AND `introtext` with the name of your column):
SELECT SUM(`total_count`) ...
... the code or find a some short codes that will do the same.
Why?
I'm aiming to automate a process which counts the number of products allocated to an account or in total for a purchase order. Let ...
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.