Hi everyone,
I've got a problem using the number sequence on the form, can't get my head around what causes it. Maybe someone here can help
I've created a new Table & a Form for my new business entity. Table has got just 3 fields, only one - ID is mandatory and I've created a Number sequence for it. Number sequence is maintained on the form via numberSeqFormHandler
When I create a new record on the form new number gets assigned to the current record. i.e everything is ok . BUT... If I create another record by pressing Ctrl-N straight after(without explicitly saving the previous record) I get a error "A new number cannot be assigned because XXX has not been saved or deleted." It looks like for some reason write() of the DS where is not being called if I press Ctrl+N twice thus
element.numberSeqFormHandler().formMethodDataSourceWrite();
is not called causing the error upon the new number seq number creation. Is it a std behaviour?
Thank you very much for your help!
*This post is locked for comments
I have the same question (0)