Gen. Prod. Posting Grp in Req. Worksheet
cally.ong
Member Posts: 2
Hi,
Just wondering if anyone had ever encountered when keying in a G/L account in Requisition Worksheet, the Gen. Prod. Posting Group is not populated in the worksheet. Even when the Gen. Prod. Posting Group is setup in the G/L card, this information is still not populated.
Need some advise.
Regards,
Cally
Just wondering if anyone had ever encountered when keying in a G/L account in Requisition Worksheet, the Gen. Prod. Posting Group is not populated in the worksheet. Even when the Gen. Prod. Posting Group is setup in the G/L card, this information is still not populated.
Need some advise.
Regards,
Cally
0
Comments
-
First of all, wellcome to mibuso...
Secondly, make sure that you surely need it for your implementation because it is basicaly used when entering items and not G/L Account in the requisition worksheet...
A way of testing it is to enter a line with G/L account and entering the Gen. Product Posting Group by hand and trying to post before altering the code...
Then, if you are sure that the code should update that field when choosing a G/L Account then take a look the OnValidate trigget of the "No." field in the table 246 Requisition Line and add a line of code (in the G/L account part) like:CASE Type OF Type::"G/L Account": BEGIN GLAcc.GET("No."); GLAcc.CheckGLAcc; GLAcc.TESTFIELD("Direct Posting",TRUE); Description := GLAcc.Name; VALIDATE("Gen. Prod. Posting Group",GLAcc."Gen. Prod. Posting Group");//<-----add this line... END;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
- 327 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
