Form 634 in NAV 4.x

Ivo_Sabioncello
Member Posts: 3
Did you notice form 634 available in NAV 4.x? OK, so try this:
Add this function to form 634 (GLAcc is a G/L Account record):
Add this code at the end of form 634 OnOpenForm trigger:
Change LookupFormID property of table 15 from G/L Account List to Chart of Accounts Overview.
Now, try to do your posting setup – it should be faster and esier!
Regards,
Ivo
Add this function to form 634 (GLAcc is a G/L Account record):
ExpandAccNo(cNo : Code[20]) TempGLAcc.RESET; TempGLAcc.DELETEALL; TempGLAcc.SETCURRENTKEY("No."); GLAcc.SETFILTER("Account Type",'<>%1',GLAcc."Account Type"::"End-Total"); IF GLAcc.FIND('-') THEN REPEAT TempGLAcc := GLAcc; IF GLAcc."Account Type" = GLAcc."Account Type"::"Begin-Total" THEN TempGLAcc.Totaling := GetEndTotal(GLAcc); IF (TempGLAcc.Indentation = 0) OR (STRPOS(cNo, COPYSTR(TempGLAcc."No.", 1, STRLEN(TempGLAcc."No.") - 1)) = 1) THEN TempGLAcc.INSERT; UNTIL GLAcc.NEXT = 0;
Add this code at the end of form 634 OnOpenForm trigger:
IF CurrForm.LOOKUPMODE THEN ExpandAccNo("No.");
Change LookupFormID property of table 15 from G/L Account List to Chart of Accounts Overview.
Now, try to do your posting setup – it should be faster and esier!
Regards,
Ivo
0
Comments
-
You should also add Ok and Cancel buttons...0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 320 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