NetSuite Build-In Error Message: The record has been deleted since you have retrieved it.
2017-03-16 22:54
6859 查看
Background:
In my scenario. When we do transform record, some time NetSuite throw (USER ERROR) error message about:The record has been deleted since you have retrieved it.
Troubleshooting:
Since the script is called from RESTLET, we can alocated the issue by simulated it:Testing trigger/call RestLet ->
RestLet executed, and it tring to save a Item Receipt(for example), try catch found the error at save() function ->
Transaction's save function triggered User Event script(s) -> Before Load -> Before Submit -> After Submit
Comment out a user event's before load then re-test, everything integrated and works good.
Finally, the problem isolated at Before Load, a default value is not valid in this account. [Fix the drop down value]
(Note: same code works in User Interface, but, in above scenairo script DOESN"T works.)
Summary:
Error: Failed to create Item Receipt. Message:Items you have requested in the record have been deleted since you retrieved the form
Think about the case when you saw this build-in NetSuite error message:
You might set an invalid value to a field.
You might try seting a non-available field's value
相关文章推荐
- Maven报错 解决方案。ERROR: No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id
- Maven报错 解决方案。ERROR: No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id
- Maven报错 解决方案。ERROR: No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id
- ERROR: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the val
- Register ASP.NET 4.0 An error has occurred: 0x8007b799 You must have administrative rights on this machine in order to ru
- asp.net mysql无法查询中文;You have an error in your SQL syntax; check the manual that corresponds to
- Node 2478301 does not exist in the cache. It may have been deleted already.
- Solution Error:This page has been modified since you opened it. You must open the page again.
- Xcode中,调试console窗口输出error: Couldn't materialize struct: the variable 'cell' has no location, it may have been optimized out的问题
- 报错:You have an error in your SQL syntax; check the manual that corresponds to your MySQL
- Error Code : 1064 You have an error in your SQL syntax; check the manual that corresponds to your My
- selenium Element not found in the cache - perhaps the page has changed since it was looked up接解决
- SQL Error: 1064, SQLState: 42000 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- 修改frameworks/base/ 代码后,make提示“You have tried to change the API from what has been previously approv”
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server versio
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
- [Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds...