Hi all,
I want call NoSeriesMgt.InitSeries function in form - OnNewRecord trigger to show the next record number (primary key) when I press F3 key, but raise an error message about transactions.
It's not possible call NoSeriesMgt.InitSeries from form - OnNerRecord ?
anakin ](*,)
0
Comments
What is the error you're getting?
What is it that you're trying to do?
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
You can do it in the OnInsert trigger of the SourceTable of the form.
Ok, it's right, but I want show to the user the new record number, before insert the record (property delaiedinsert is true and the record number textbox is not editable)
then you can use Where the last parameter indicates if the series has to be modified or not.