I hereby claim:
- I am w3bguy on github.
- I am w3bguy (https://keybase.io/w3bguy) on keybase.
- I have a public key whose fingerprint is DFB0 0181 BFFE 2D61 8F56 F5B1 CC98 37AC B550 E038
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<trans> | |
accoundAddressSFCountry=CASE( | |
accountAddressNSCountry=="_afghanistan","AF", | |
accountAddressNSCountry=="_alandIslands","AX", | |
accountAddressNSCountry=="_albania","AL", | |
accountAddressNSCountry=="_algeria","DZ", | |
accountAddressNSCountry=="_americanSamoa","AS", | |
accountAddressNSCountry=="_andorra","AD", | |
accountAddressNSCountry=="_angola","AO", | |
accountAddressNSCountry=="_anguilla","AI", |
<trans> | |
/* | |
convert input country names/abbreviations to the NetSuite country code | |
*/ | |
$netsuiteCountryDict = Dict(); | |
$netsuiteCountryDict["Afghanistan"]="_afghanistan"; | |
$netsuiteCountryDict["Albania"]="_albania"; | |
$netsuiteCountryDict["Algeria"]="_algeria"; | |
$netsuiteCountryDict["American Samoa"]="_americanSamoa"; |
/** | |
* @NApiVersion 2.0 | |
* @NScriptType Restlet | |
* @NModuleScope SameAccount | |
* @Author Charles.Bastian | |
* @Created 2019-03-13 | |
* @ScriptName NetSuite_RESTlet_Query_File_Contents_by_InternalID | |
* @Filename NetSuite_RESTlet_Query_File_Contents_by_InternalID.js | |
* @ScriptID customscript_rs_get_file_contents | |
* @Production |
var newArray=oldArray.reduce(function(a,b){if(a.indexOf(b)<0)a.push(b);return a;},[]); |
/** | |
* CB_CM_CustomModule.js | |
* @NApiVersion 2.x | |
* @NModuleScope SameAccount | |
* | |
* @Author: Charles.Bastian | |
* @Created: 2020-03-12 | |
* @ScriptName: CB_CM_CustomModule | |
* @Filename: CB_CM_CustomModule.js | |
* @ScriptID: |
Bill:Open <===> VendBill:A | |
Bill:Paid In Full <===> VendBill:B | |
Bill Payment:Voided <===> VendPymt:V | |
Bill Payment:Online Bill Pay Pending Accounting Approval <===> VendPymt:Z | |
Cash Sale:Unapproved Payment <===> CashSale:A | |
Cash Sale:Not Deposited <===> CashSale:B | |
Cash Sale:Deposited <===> CashSale:C | |
Check:Voided <===> Check:V | |
Check:Online Bill Pay Pending Accounting Approval <===> Check:Z | |
Commission:Pending Payment <===> Commissn:A |
function calculateDueDate(termID,invDate){ | |
var dueDate='' | |
try{ | |
var daysToAdd=search.lookupFields({type:'term',id:termID,columns:['daysuntilnetdue']}).daysuntilnetdue; | |
dueDate=new Date(format.parse({value:invDate,type:format.Type.DATE})); | |
dueDate.setDate(dueDate.getDate()+parseInt(daysToAdd)); | |
}catch(err01){ | |
log.error('calculateDueDate.err01',JSON.stringify(err01)); | |
handleErrorAndSendNotification(err01,'calculateDueDate'); | |
}finally{ |
Gloria's Cafe | |
- I Love Gloria's | |
- iloveglorias | |
Austin Oral (on 1) | |
- AOS-GUEST | |
- aos-guest | |
Dozen Street | |
- The Doz |