get current customer number
lamis
Member Posts: 46
Hey, I'm on the customer card page, I've created an action that opens a new page, on this new page, I want to get the customer number of this card automatically when I insert a new record in it . how can this be done?
0
Answers
-
did you check the standard actions like ship to addresses and bank accounts how the customer no. is automatically flown?
check the properties of the actions..0 -
Lamis,
Try Once as Mohana Suggested.
You want to manually open that Page from the Action Button and you want that customer no over there? Remaining field values you will then enter manually right?Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
I suggest that you store the customer no. value in a global variable on the second page which you're opening.
Make a function on the second page and pass one parameter "Cust_No" and when you open this page from customer card, open this page using RUNMODAL function and call the function and pass the Customer No. value from Customer card to this global variable.
Code on OnAction trigger of opening this page would look something like,
NewPage.AssignCustomer(Rec."No.");
NewPage.RUNMODAL;
Add the function AssignCustomer(LocalCustNo) in the new page and add code in it,
GlobalCustNo := LocalCustNo;
GlobalCustNo is the global variable and LocalCustNo is parameter in AssignCustomer function.
Hope this helps.0 -
Mohana is right, look at standard NAV... hint, have a look at the "RunPageLink" property0
-
thank youu all , that was helpfull0
-
[Topic moved from 'NAV/Navision Classic Client' forum to 'NAV Three Tier' forum]
Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions


