跳至内容
菜单
此问题已终结
2 回复
3989 查看

If I create MO then change the quantity (from the wizard update qty to produce) then cancel the MO it wouldn't let me delete it. The error shows: 

object with reference: Change Production Qty - change.production.qty

Even though I never produced any qty's, just saved it, updated and canceled.

形象
丢弃
最佳答案

Hello,

If you need to delete forcefully then First you need to delete record of model change.production.qty and then delete MO.


形象
丢弃
编写者

this is what I ended up doing but I found this behavior strange

If need to solved permanent then inherit that wizard and overwrite moid fields with ondelete='cascade', so when delete mo then automatic delete that wizard record.

编写者

wonderful, would it be something to consider changing in the next update?

最佳答案

There are dependencies to other tables. History log is created.  But cancelled is OK I think.

形象
丢弃
相关帖文 回复 查看 活动
2
5月 24
15537
1
12月 15
8351
1
3月 15
5197
1
3月 15
9606
3
1月 25
1631