I have to flow a value from a custom table to Sales Quote report(Report Id-204).
The Scenario is :
As i go to the item card there is a custom field Shade.The lookup of the shade field opens a table.
There are two fields in shade table namely code and desc.
I have to flow the Shade's Description as per the corresponding item no. selected in the sales Quote line.
How it could be done.
0
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Item.SETRANGE("No.","Sales Line"."No.");
Pack.SETRANGE(Pack.Code, Pack.Description);
IF Pack.FINDFIRST THEN
REPEAT
PackDesc :=Pack.Description;
UNTIL Pack.NEXT = 0;
MESSAGE('%1',PackDesc);
still the value in the Msg is blank.
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Item.RESET;
Item.GET("Sales Line"."No.");
Pack.RESET;
Pack.SETRANGE(Pack.Code,Item."Pack Code");
IF Pack.FINDFIRST THEN
PackDesc :=Pack.Description;
Thanx for your time.
What if the Sales Line type is Resource or G/L Account? :-k
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Just a happy frood who knows where his towel is