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
<a href=https://tstdrv1030806.app.netsuite.com/app/accounting/transactions/salesordermanager.nl?type=approve&id='||{internalid}||'&whence=>Approve</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
'<a href=https://tstdrv1030806.app.netsuite.com/app/accounting/transactions/estimate.nl?id='||{createdfrom.internalid}||'>View '||{createdfrom}||'</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
CASE | |
WHEN {createdfrom.type} IN ('Quote') THEN | |
'<a href=https://tstdrv1030806.app.netsuite.com/app/accounting/transactions/estimate.nl?id='||{createdfrom.internalid}||'>View '||{createdfrom}||'</a>' | |
WHEN {createdfrom.type} IN ('Opportunity') THEN | |
'<a href=https://tstdrv1030806.app.netsuite.com/app/accounting/transactions/opprtnty.nl?id='||{createdfrom.internalid}||'>View '||{createdfrom}||'</a>' | |
END |
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
<td align="center" class="totalboxmid" colspan="2"> | |
${currencyType} ${(record.total+ record.taxtotal + record.shippingcost)?string(",##0.00")} | |
</td> |
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
<#assign currencyType = '$'> | |
<#if record.currencysymbol = 'GBP'> | |
<#assign currencyType = '£'> | |
</#if> | |
<#if record.currencysymbol = 'EUR'> | |
<#assign currencyType = '€'> | |
</#if> | |
<#if record.currencysymbol = 'INR'> |
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
<td align="center" class="totalboxmid" colspan="2"> | |
${(record.total+ record.taxtotal + record.shippingcost)?string.currency} | |
</td> |
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
<td align="center" class="totalboxmid" colspan="2"> | |
${(record.total+ record.taxtotal + record.shippingcost) } | |
</td> |
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
function afterSubmit(subscriptionContext) { | |
var newRecordId = subscriptionContext.newRecord.id; | |
var allocateAction = action.get({ | |
recordType: 'revenuearrangement', | |
id: 'allocate' | |
}); | |
allocateAction.execute({recordId: newRecordId}); | |
} |
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
/** | |
* name of the function MUST be process | |
*/ | |
function process(email) | |
{ | |
//Print out FROM email address | |
nlapiLogExecution('debug', 'From Email Address', email.getFrom()); | |
//Print out TO email address | |
nlapiLogExecution('debug', 'To Email Address', email.getTo()); |
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
/** | |
* @NApiVersion 2.x | |
* @NScriptType ClientScript | |
* @NModuleScope SameAccount | |
*/ | |
define(['N/ui/dialog'], | |
/** | |
* @param {dialog} dialog | |
*/ | |
function(dialog) { |
NewerOlder