Options

How to Generate Line no. when Select Type in sales line..?

181deepak181deepak Member Posts: 95
edited 2014-08-21 in NAV Three Tier
Hi Experts

in standard code - when I select Type (for eg. item ) in sales line then I select No. after that Line no. (eg 10000) is generated automatically ..

what I need is - to generate line no. (Eg 10000) when I select Type (eg. Item) in sales line.

Comments

  • Options
    Rishi1109Rishi1109 Member Posts: 43
    Comment the below code which is written in OnNewRecord trigger of Sales Order Subform (Form 46)
    //Type := xRec.Type;
    Thanks and Regards
    Rishi
  • Options
    181deepak181deepak Member Posts: 95
    Rishi1109 wrote:
    Comment the below code which is written in OnNewRecord trigger of Sales Order Subform (Form 46)
    //Type := xRec.Type;

    Hi Rishi
    Thanks for your Reply..
    But what I need is - when I select Type (Eg Item) then Line No. Not generated in sales order subform page, I need to generate it when I select Type,,
    I base what happen is when I select type and then when I select No. then only line no. is generated.
  • Options
    Rishi1109Rishi1109 Member Posts: 43
    The property DelayedInsert of the form is Yes
    Remove that and let it get the default value No
    Thanks and Regards
    Rishi
  • Options
    181deepak181deepak Member Posts: 95
    Rishi1109 wrote:
    The property DelayedInsert of the form is Yes
    Remove that and let it get the default value No

    Hi Rishi

    Thanks a lot,
    This is what I looking for..
    .. Thanks.
Sign In or Register to comment.