Page Does Not Use Code in Table Insert Trigger

samemerysamemery Member Posts: 60
edited 2013-01-10 in NAV Three Tier
In table 5405, the OnInsert trigger has the following:

OnInsert()
MfgSetup.GET;
IF "No." = '' THEN BEGIN
TestNoSeries;
NoSeriesMgt.InitSeries(GetNoSeriesCode,xRec."No. Series","Due Date","No.","No. Series");
END;

This code automatically populates a new Released Production Order Number with the most recently used Number Series. This works fine on the form however the Released Production Order Page uses the default No. Series and not the most recently used.

Is there a reason why the Page does not use the Table OnInsert Trigger?

Thank you,
Sam

Comments

  • bob_upbob_up Member Posts: 155
    Did you ever find a solution to this ? I have added some fields to the customer card and now it isnt executing the OnInsert code when I tab out of the No. field.
Sign In or Register to comment.