Hi,
My requirement is before converting 'Quote to Order' , i need to take the archieve of the Quote. What i did that...
'Make Order' onPush() trigger i called up the 'Archeive Doc' code unit(system cu) and then called up the 'Make Order' Code unit.
Code:
ArchiveManagement.ArchiveSalesDocument(Rec);
CurrForm.UPDATE(FALSE);
CODEUNIT.RUN(83,Rec);
................
Error:
the following c/al function is used to a limited degree during write transaction (because one or more transaction will be locked)
form.runmodel() is not allowed........
codeunit.run() is not allowed.....
...
..
use commite functin to save the changes before call......
suggestion plz.
Regards,
Psk
0
Comments
put 'commit' statement.(i don't knw the reason....)