Does anyone know why a GL custom plugin isn't bein...
# general
n
Does anyone know why a GL custom plugin isn't being triggered on netsuite using suitescript 1.0? Even though I followed all the steps in netsuite documentation, the script isn't being triggered. function customizeGlImpact(transactionRecord, standardLines, customLines, book) { try { var tranType = transactionRecord.getRecordType(); nlapiLogExecution('DEBUG', 'Transaction Type', tranType); var tranTypeId = transactionRecord.getFieldValue('ntype'); nlapiLogExecution('DEBUG', 'Transaction Type Id', tranTypeId); } catch (ex) { nlapiLogExecution('DEBUG', 'Error', JSON.stringify(ex)); } }
m
Did you configure/deploy to your record type? And is the transaction within the start date of the plugin implementation?
n
Yes, I deployed it on the transaction and I made sure that the effective date is the same as the day that I have deployed the plugin but it still doesn't log or even get triggered and I don't understand why?
m
The effective date needs to be before your transaction date
n
Thank you so much for your feedback, I will try that and hopefully it works!