Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
4005 Visualizzazioni

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.

Avatar
Abbandona
Risposta migliore

Hello,

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


Avatar
Abbandona
Autore

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.

Autore

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

Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
mag 24
15596
1
dic 15
8410
1
mar 15
5272
1
mar 15
9647
3
gen 25
1665