Hi All,
I am doing a processing only report where it has to show a message, where if the purchase description is " ", for a item then it has to take from the sales description of my item pageextension but if the purchase description is null also only some items are showing its sales description but some are not showing the sales description, why it is coming like that can anyone help me my code is
Trigger OnafterGetRecord()
begin
clear(Description_Custom);
if Item.Get("Purchase Line"."No.") then
if item."Purchase Decription" = '' then
Description_Custom := Item."Sales Decription"
else
Description_Custom := Item."Purchase Decription";
Message('%1,%2',Item.No., Item.Description_Custom);
end;
Below I am attaching the message, if anybody know why it is coming like this help me.
Thanks & Regards
Satish.