What?
This is a not-so-quick article that queries an eBay order and creates the relevant ZohoInventory item, contact, sales order, package slip, shipment order, invoice, payment records...
Why? ...
... e if(r_ChatGPTResponse.get("responseCode") == 429)
{
// store in response text
v_Answer = "I dont have any knowledge in this. Please ask me something else";
}
}
else if (v_Message.containsIgnoreCase("H ...
What?
A quick article to display a value in a column in a widget in Zoho Analytics.
Why?
Because I keep forgetting how to do it.
How?
I've done this for a query that amalgamated all the ...
... check this record is the same school
if(r_School.get("Account_Name").equalsIgnoreCase(v_SchoolName))
{
// update the CRM record
m_Trigger = Map();
m_Update = Map();
m_Update.put("Total_Number_of_Candidates",v_CandidatePlacedCount);
m_Update.put("Number_of_Candidates_This_Graduation_Year",v_CandidateGraduatingCount);
m_Update.put("Number_of_Candidates_Next_Graduation_Year",v_CandidateGraduatingNextCount);
r_Updat ...
What?
This is an article documenting how to parse the notification from eBay and using it to create an order in Shopify.
Why?
Previously, we would receive an eBay notification and create an ...
... " + r_Event.get("eventType");
//
// get the xero ID of the record (hexadecimal)
v_Xero_ResourceID = r_Event.get("resourceId");
//
// do different things based on the category of the update
if(r_Event.get("eventCategory").containsIgnoreCase("CONTACT"))
{
/ ...
... == "Customer_s_Timezone")
{
// loop through all the picklist values of this dropdown
for each r_TimeZone in r_Field.get("pick_list_values")
{
if(r_TimeZone.get("display_value").containsIgnoreCase(v_TimeZone))
{
v_CustomerTimeZon ...
... single out this person (can be removed after testing)
if(v_LastName.containsIgnoreCase("Lipman"))
{
//
// get user id
v_UserID = r_User.get("id");
//
// startofweek is a ...
What?
A quick article to take a list of options from a HTML select element and convert to a Zoho Deluge list that will eventually be used to populate a dropdown.
Why?
Because I find myself doing ...
... = r_AvailableSlots.get("response").get("returnvalue").get("data");
if(!l_AvailableSlots.toString().containsIgnoreCase("Slots Not Available"))
{
for each r_AvailableSlot in l_AvailableSlots
{
if(!r_AvailableSlot.contains("00:00") ...
... engine to also ignore permissions so that the article can still be indexed in global search engines such as Google.
How?
It's been difficult to search for the right words but heres the method to ...
... from a 7 year old post; but now you can apply a containsIgnoreCase function to search the records:
...
l_ProductDetails = Product[Product_Name.containsIgnoreCase(v_Name)];
...
Lastly, there ...
What?
A quick article on how I displayed feeds from the company's social network pages in one page.
Why?
There are 3rd-party apps that let you do this, some paid, some not. This was for a staff ...
... row
Account for strings containing double-quotes (and commas to ignore)
Sort the resulting object array
How?
The function with comments:
- Uses deprecated XMLHttpRequest to get file ...
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.