... 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() * ...
...
Production code
// v_Latitude1, v_Longitude1 are coords for origin
// v_Latitude2, v_Longitude2 are coords for destination
v_Latitude1 = v_Latitude1.toDecimal();
v_Longitude1 = v_Longitude1.toDecimal();
v_Theta ...
What
A quick post on how I managed to build a regex to extract all non-numeric characters (all non-digits) from a string.
Why?
I only want the digits/numbers from a string:
v_PaymentTerms = ...
What?
This is an article resolving an issue where a template will shrink all the text when in PDF preview.
Why?
Ok doesn't need a song and dance about it, but I went home yesterday downtrodden ...
... converts Size (in bytes) to byte(s)/KB/MB/GB/TB (uses best option)
; decimalPlaces is the number of decimal places to round
; --------------------------------------------------------------------------------------
autoByteFormat(size, ...
... but wouldn't it be nice if you could just replace the base64encode function with an MD5 function, like so:
v_Etag = zoho.encryption.md5(v_Combined_Fields);
// WORKS! Returns a hexadecimal 32 character ...
... based on country. Future development will associate these with governing bodies rather.
Airports/airfields added: 2014-10-26
Military zones lost due to 9 decimal place degrees: 2014-11-05: DB changed ...
... for Datatypes
Constraint Description
enumeration Defines a list of acceptable values
fractionDigits Specifies the maximum number of decimal places allowed. Must be equal to or greater ...
... drive option hex or decimal number from the list below you want to set as restricted, and click on OK.
-- Restrict multiple drives by adding the values together
-- For Example: To Restrict B & C, enter ...
... understanding the last two characters on the row (CR & LF).
Fixes of interest:
-- assuming This_Decimal="00000.00" or "123456.78" (Do NOT use "Replace" and instead "Add as new column")
(DT_DECIMAL,2)TRIM(This_Decimal)
-- ...
... all work.
Notes: My convert part of my SQL query is because I had to match the datatype used by our reporting server for the ItemID field which is some sort of hexadecimal ID value that Microsoft ...
These are for autohotkey and in AHK code. Taken from Autohotkey forums topic 1878:
From Hexadecimal to RGB
From RGB to Hexadecimal
Check for a valid hexadecimal value
From Hexadecimal ...
...
ReportID uniqueidentifier NULL The ID of the report (looks like a hexadecimal SSID). It's the unique ID of the report but not unique in the table (can be referenced many times).
UserName nvarchar(260) ...
Just a quick note here. This is an article based on the REG file from Kelly's Korner (@www.kellys-korner-xp.com/xp_tweaks.htm). I'm not fond of downloading REG files and running them even if I have checked ...
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.