Adding new transaction status in netsuite

青春壹個敷衍的年華 提交于 2019-12-07 18:57:53

问题


Iam working on netsuite & wanted to create a new status for Customer bill. The new status I wanted is "Written off". After writing off the status says "Paid in full". I want it to show "Written Off".

I found a lot of help to change the current status to another existing default status like:

Lets take an example. Below is the search filter to apply when trying to find Pending Fulfillment Sales Orders.

new nlobjSearchFilter('status',null,'is','SalesOrd:B')

and to set the status of a sales order as pending approval:

nlapiSubmitField('salesorder',soID,'orderstatus','A',false); 

I also found default status list. But none which has creating a new one.


回答1:


You cannot create a new status for Nestuite's transactions.

One option in your case would be to create a custom field that is populated via script, workflow or formula that you use as an alternate status display. For instance unless modified by some other field it would just pass through the transaction's status value. You'd have some other field on the bill that indicates it was written off so the script that calculates the alternate status value would use that to adjust what it returns.




回答2:


The only way to define custom status would be creating a custom transaction, but, going custom transaction route can be costly affair as you would loose all standard transaction functionality - such as transform, out of the box approval feature, etc.



来源:https://stackoverflow.com/questions/35659747/adding-new-transaction-status-in-netsuite

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!