This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @Author w3bguy | |
* @Created 2021-09-08 | |
* | |
* Description: | |
* Basic PHP NetSuite OAuth1.0 (SHA256) authentication to call RESTlet script. | |
* | |
* @modifications | |
* Date Author Version Remarks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var newArray=oldArray.reduce(function(a,b){if(a.indexOf(b)<0)a.push(b);return a;},[]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<trans> | |
url='www.test.net'; | |
url='http://www.test.com lkjasdhfkhasdf'; | |
if(Left(ToLower(url),4)!='http' && Left(ToLower(url),5)!='https', | |
url='https://'+url; | |
); | |
regTest='^((http|https):\/\/)?(www.)?(?!.*(http|https|www.))[a-zA-Z0-9_-]+(\.[a-zA-Z]+)+((\/)[\w#]+)*(\/\w+\?[a-zA-Z0-9_]+=\w+(&[a-zA-Z0-9_]+=\w+)*)?\/?$'; | |
if(RegExMatch(url,regTest)!=-1, | |
url;, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<trans> | |
email='testemail@test.co'; | |
regTest='([A-z0-9._%+-]+@[A-z0-9.-]+\\.[A-z]{2,4})'; | |
if(RegExMatch(email,regTest)>0, | |
email;, | |
Unmap(); | |
); | |
</trans> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Method: POST | |
URL: https://123456-sb1.suitetalk.api.netsuite.com/services/NetSuitePort_2022_2 | |
Add headers: | |
Content-Type: text/xml | |
SOAPAction: upsert |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
01> Create transformation operation with script 01 as the first step. | |
02> Create script operation with step 02 as teh script (called by script 01 script). | |
03> Create JavaScript with contents from step 03 (called by Step 02 script). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
01> Create transformation operation with script 01 as the first step. | |
02> Create script operation with step 02 as teh script (called by script 01 script). | |
03> Create JavaScript with contents from step 03 (called by Step 02 script). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
01> Create transformation operation with script 01 as the first step. | |
02> Create script operation with step 02 as teh script (called by script 01 script). | |
03> Create JavaScript with contents from step 03 (called by Step 02 script). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
01> Create transformation operation with script 01 as the first step. | |
02> Create script operation with step 02 as teh script (called by script 01 script). | |
03> Create JavaScript with contents from step 03 (called by Step 02 script). |
NewerOlder