Hi
I am creating Sales Invoice Report Format. With Customer No i want to display Customer Name also.
Thanks
*This post is locked for comments
define global variable CustName as text 50
define global variable RecCust as record
if RecCust.Get(Customer No) then
CustName := RecCust.Name;
Hi,
You may refer the Standard Sales Invoice report (Report ID : 206), the below code is available in the "Sales Invoice Header" - OnAfterGetRecord trigger:
IF NOT Cust.GET("Bill-to Customer No.") THEN
CLEAR(Cust);
the above Cust.Name can be used in the DataSet and eventually to print on the report.
Move ahed with Javeds recommendation, it will solve your case.
Please share your code on what you have tried so far. We will be able to help you to resolve the issue you have.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Saurav.Dhyani 2 Super User 2025 Season 2
RK-25090803-0 1