product group Description on Report

dyn45dyn45 Member Posts: 67
edited 2010-07-23 in Navision Attain
I tried to find a solution here but i couldn't.

I need to show on my report ProductGroup.Description for an Item(s). i simple used ProductGroup.GET(Item."Product Group Code");
but it won't work. I do not understand... :-k

i did not code for a while, so I would appreciate your help.

Answers

  • ara3nara3n Member Posts: 9,256
    The Primary Key of Product Group is Item Category Code, Code


    You need to change your code to this.

    clear(ProductGroup);
    if ProductGroup.GET(Item."Item Cateogory Code",Item."Product Group Code") then;
    
    
    Ahmed Rashed Amini
    Independent Consultant/Developer


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