I have created a report with "Sales credit memo line" table.I need to print customer name on it.So i have written the code this way on OnAfterGetRecor().But the code is not working.What's wrong with this code?
IF Cust.GET(CreditmemoLine."Sell-to Customer No.") THEN BEGIN
CustName:=Cust.Name;
END;
Answers
("Sell-to Customer No.")
instead of
(CreditmemoLine."Sell-to Customer No.")
http://www.BiloBeauty.com
http://www.autismspeaks.org
Thank you very much....But can you just tell me what is the real difference between both?
"CreditmemoLine"
Either directly use the field (which is good) or "Sales credit memo line".field.
"CreditmemoLine" seems to be a variable and it might not have been intialized.
http://ssdynamics.co.in