Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4043 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello,

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


Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Tác giả

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

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 5 24
15634
1
thg 12 15
8427
1
thg 3 15
5279
1
thg 3 15
9651
3
thg 1 25
1679