NetSuite Build-In Error Message: The record has been deleted since you have retrieved it.

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:

  1. Testing trigger/call RestLet ->
  2. RestLet executed, and it tring to save a Item Receipt(for example), try catch found the error at save() function ->
  3. Transaction's save function triggered User Event script(s) -> Before Load -> Before Submit -> After Submit
  4. Comment out a user event's before load then re-test, everything integrated and works good.
  5. Finally, the problem isolated at Before Load, a default value is not valid in this account.  [Fix the drop down value]
  6. (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

转载于:https://www.cnblogs.com/backuper/p/The_record_has_been_deleted_since_you_have_retrieved_it.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值