Dimension Set ID in Nav 2013

Kau_147Kau_147 Member Posts: 84
Dear All,

I have done the dimension setup as per I required. GL Dim 1 : Project & GL Dim 2 : Budget
ShortCut Dim 1: Language
ShortCut Dim 2: Category
ShortCut Dim 3: GENERE

Requirement : When I select project Code, all the 3 Shortcut Dimensions should be insert automatically as per the setup done.
I have done the customization for the same.

Now When select the Project code the lines are inserted properly as per the setting but Dimension Set ID is not set.
Dimensions are still showing with 0 Dimension Set ID. And also Project Code is not inserted.

Please help me...... ](*,)

Thanks & Best Regards,
Kavita Bavkar
Best Regards,
Kavita Mutha

Comments

  • abhi1901abhi1901 Member Posts: 102
    Kau_147 wrote:
    Dear All,

    I have done the dimension setup as per I required. GL Dim 1 : Project & GL Dim 2 : Budget
    ShortCut Dim 1: Language
    ShortCut Dim 2: Category
    ShortCut Dim 3: GENERE

    Requirement : When I select project Code, all the 3 Shortcut Dimensions should be insert automatically as per the setup done.
    I have done the customization for the same.

    Now When select the Project code the the lines are inserted properly as per the setting but Dimension Set ID is not set.

    Please help me...... ](*,)

    Thanks & Best Regards,
    Kavita Bavkar


    Did not get your question well.
    Can you give the code which you have written for dimension and tell us at which process you want to insert dimension.
  • Kau_147Kau_147 Member Posts: 84
    Dear Abhi,

    I have created one Purchase Order & now I have to select the dimensions.
    When I click on the dimension & select Project Code : XYZ on the same time system will insert the three more lines for Shortcut Dimensions as I mensioned in previous post.

    In Dimension Value table, I have already created new fields for mapping Project code with all the shortcut dimensions.

    Currently three lines are inserted for shortcut dimension but project code deleted from the table and also the Dimension set ID is not set. It showing me 0.

    For your information please find attached screen shot. I have sent you the Dimension setup & Code. I call this function onvalidate of Dimension Value Code.

    Thanks for the reply.

    Best Regards,
    Kavita
    Best Regards,
    Kavita Mutha
  • ChinmoyChinmoy Member Posts: 359
    Still not clear. In the code to insert the dimension values, you have put the Dimension Set Id as 0 yourself. What do you exactly want to do?
  • Kau_147Kau_147 Member Posts: 84
    Dear All,

    As per the above screen shot, Let suppose i select the Dimension Project 2 for particular PO, at the same time all the Shortcut Dimensions should be inserted for that same PO. It will be same like attached screenshot with updated Dimension Set ID:
    Best Regards,
    Kavita Mutha
  • mohana_cse06mohana_cse06 Member Posts: 5,504
    Did you try with
    DimSetEntryRec.INSERT(TRUE);
    
    ?
  • Kau_147Kau_147 Member Posts: 84
    Thanks for reply.

    i tried with Insert(True) but not affected. :-k
    Best Regards,
    Kavita Mutha
  • Kau_147Kau_147 Member Posts: 84
    Dear All,

    I have resolved this issue. \:D/ \:D/

    Before inserting the dimensions in table, I have add the code to update and save the current page. Then only system allow me to add all the other dimesnions.


    Thanks & best regards,
    Kavita Bavkar.
    Best Regards,
    Kavita Mutha
Sign In or Register to comment.