What?
A quick article to remind me of the regex to change a date from the format dd/MM/yyyy to yyyy-MM-dd.
Why?
Irrespective of server, organization or user settings, the date handling can vary. ...
... double-check in case books has returned 1st page rather than filtered rows
if(m_DataRow.get("SO ID") == v_SalesOrderID)
{
m_Details = Map();
m_Details.put("po_date",m_DataRow.get("PO Date").toDate().toString("dd-MMM-yyyy"));
m_Details.put("po_ref",);
m_Details.put("po_status",m_DataRow.get("P ...
... 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 ...
What?
Following on from my article: ZohoCRM: Get All eBay Active Listings, this is how to get all the orders from a client's eBay.
Why?
Our use-case is a data migration from eBay to a fresh instance ...
... 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);
//
// ...
What?
Another one of these articles talking about getting all the active product listings from eBay for a specific client.
Why?
Our use-case scenario here is that we want to get an inventory ...
... evaluate (specify here your dates [time set to midnight])
v_timeFrom = zoho.currenttime.subDay(0).toString("yyyy-MM-dd'T'00:00:00.000'Z'");
v_timeTill = zoho.currenttime.addDay(1).toString("yyyy-MM-dd'T'00:00:00.000'Z'");
//
// ...
... create a list of pages (specifies the number of pages to try)
l_Pages = ;
for each v_Page in l_Pages
{
if(b_HasNextPage)
{
//
// query using GraphQL
v_UpdatedSince = zoho.currentdate.subDay(1).toString("yyyy-MM-dd'T'00:00:00+0000");
if(v_Page ...
... the user who created the attachment.
Created Time: This is the created time of your file in the format that your CRM system is using (eg. "dd/MM/yyyy HH:mm:ss")
Modified Time: This is the modified time ...
... // accommodate for timezone offset
v_LocalStartDate.setMinutes(v_LocalStartDate.getMinutes() - v_LocalStartDate.getTimezoneOffset());
// return in yyyy-mm-dd format (on save this will display ...
... my list to populate
l_CheckDates = List();
//
// loop through generated list and add dates
for each index v_Index in l_GeneratedList
{
if(v_Index>0)
{
l_CheckDates.add(zoho.currentdate.addDay(v_Index).toString("yyyy-MM-dd"));
}
} ...
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.