Source Code for Purchase Invoice
meh
Member Posts: 50
I am doing customisation of a form. I have used purchase header as the source code for desigining the form. I need vendor posting group and the g/l a/c no where the vendor posting group is assigned. I was able to get information of posting group but not able to get the source of g/l a/c of the same posting group. How that can be done pls suggest
0
Comments
-
Hi,
You'll need to lookup the value in the Vendor Posting Group table. Declare a record variable for the Vendor Posting Group and then in the OnAfterGetRecord add the code to get the record.
e.g.IF NOT VendorPostingGroup.GET( "Vendor Posting Group" ) then VendorPostingGroup.INIT;
Then add a textbox with source expression VendorPostingGroup."Payables Account"0 -
Thank you for the reply.I am not able to do this . I am actually a financial user . SO I will be more happy if you could tell me in more precise form .0
-
meh wrote:Thank you for the reply.I am not able to do this . I am actually a financial user . SO I will be more happy if you could tell me in more precise form .
A change in code is required, as a financial user, I'm guessing that you do not have a developers license to make this change. If this is the case then you will have to contact your Nav business partner to make the change for you.0 -
No we do have a developer licensce . I am working as financial user for the database I do consulting as well but I want to learn some customisation so i thought of doing this .If you can suggest something I will appreciate0
-
Hi Meh,
The only way around this without a development license and assuming you have table designer is to create a flowfield and display this on the form. I think talking to your partner is the best bet as this is such a small change you mightn't even be charged.0
Categories
- All Categories
- 73 General
- 73 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 333 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions