Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Accounting Tax Codes: how to access records through SuiteScript?
Hello,
I've found a problem in NetSuite. Here's my scenario:
- I've created a "Other Custom Field" (CUSTORECORD_XXX) for record type "Tax Code"
- I've created a "Transaction Column Field" (CUSTCOL_YYYY) for Vendor Bill, with the same data type of the previous field, sourcing from "Tax Item"."CUSTORECORD_XXX"
The sourcing in the column field doesn't work: when selecting a Tax Item in a Vendor Bill item line, the "CUSTCOL_YYY" column is not loaded with the value of the selected tax item's CUSTORECORD_XXX field.
So I tried to do a workaround through a client script, but when I have to load the selected tax item record, I don't know wich record type I must specify to the nlapiLoadRecord function (I've tried with "taxitem", with no chance).