Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Project update nlapiSubmitField entitystatus enddate not working
Hi,
Simple one, I am trying to use nlapiSubmitField to update two Project (job) fields, entitystatus and enddate. The problem is that entitystatus updates but not the enddate. Is there some sort of validation that goes on in the background restricting the enddate update?
When I look at the system notes it states that the enddate (Actual End Date) has been set with the today's date, but when I look at the Project the date has not been updated. My code is below:
var dNow = nlapiDateToString(new Date()); nlapiSubmitField('job',intParentProjectId,['entitystatus','enddate'],[1,dNow]); Any help would be much appreciated.
0