Serial No. Information

gulamdastagirgulamdastagir Member Posts: 411
hello navies,

CASE 1.After Creating a Purchase Order Item Entry->Line->Item Tracking Lines->Functions->create Customized SN and after closing the form and Posting the purchase order these are posted to the Item Ledger Entry Table but the Serial Nos. Information table is not updated.

CASE 2.After Creating a Purchase Order Item Entry->Line->Item Tracking Lines->Functions->create Customized SN and then Going to each entry in the item tracking list->functions->Information->serial No. creates entry in the Serial Nos. information table and after closing the form posting updates the Item Ledger entry.But,this is a time consuming process.

Is there any easier and faster way to accomplish what "CASE 2" is doing.As i need a "complete" Serial Nos.Information table as a header table and the "item ledger entry" is going to be my lines table to create a Vendor-Item-Serial No. tracking Report
Regards,

GD

Comments

  • nunomaianunomaia Member Posts: 1,153
    From Item Ledger entry you can retrieve all information that you need
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
  • SoloperSoloper Member Posts: 102
    Same case.

    Any solution?

    Thanks.
  • SoloperSoloper Member Posts: 102
    We are adding Items in PO then click "Item Tracking Lines".
    Adding the serial nos.

    But I have to create "Serial No Information" for each serial no. by opening Serial No Informations form.

    Is there any way to create serial no informations automatically for these serial nos?
  • ara3nara3n Member Posts: 9,256
    not without a mod. It's a simple mod.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • SoloperSoloper Member Posts: 102
    Thanks Araen.
    Could you please help me about it?
  • ara3nara3n Member Posts: 9,256
    On the Item Tracking lines Form. The user clicks on function assign serial nos.

    This calls a function called AssignSerialNoBatch

    In this function

    after

    INSERT;

    You can add your own code.
    //Mod01 start
    If Not SerialInfo.get("Item No.","Variant Code","Serial No.") then begin
    clear(SerialInf);
    SerialInfo."Item No." := "Item No.";
    SerialInfo."Variant Code" := "Variant Code";
    SerialInfo.."Serial No." := "serial No.";
    SerialInfo.insert(true);
    end;
    //Mod01 end
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • SoloperSoloper Member Posts: 102
    Thanks again for the quick reply Araen.

    The scenario is like below;

    User clicks "Funstions" then "Item Tracking Lines" in an order and type each serial nos for the selected item manualy. (dont use number series)

    We want NAV to create the serial no informations for each typed manualy serial no automatically.

    Where should I add the code?

    Thanks again.
  • SoloperSoloper Member Posts: 102
    ara3n wrote:
    On the Item Tracking lines Form. The user clicks on function assign serial nos.

    This calls a function called AssignSerialNoBatch

    In this function

    after

    INSERT;

    You can add your own code.
    //Mod01 start
    If Not SerialInfo.get("Item No.","Variant Code","Serial No.") then begin
    clear(SerialInf);
    SerialInfo."Item No." := "Item No.";
    SerialInfo."Variant Code" := "Variant Code";
    SerialInfo.."Serial No." := "serial No.";
    SerialInfo.insert(true);
    end;
    //Mod01 end

    By the way;

    clear(SerialInf);

    Is this line correct?

    If It should be "clear(SerialInf);" what does it mean?
  • ara3nara3n Member Posts: 9,256
    it should be clear(SerialInfo)

    And I suggest you contact your solution center to do the mod, if you don't know how to program.

    Thanks.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.