[Solved]User requested an additional column on table

RSA_Tech
Member Posts: 65
NAV 2013 R2
User would like the Item Charge Assignment (Purch) table ID 5805 to have an additional column.
The request is to add a column for 'Tariff No.' from the 'Foreign Trade' FastTab on the Item Card.
My question is does a column actually need to be added to the table via Table Designer or can I append the tariff No. field to this list in some other way?
cheers friends,
User would like the Item Charge Assignment (Purch) table ID 5805 to have an additional column.
The request is to add a column for 'Tariff No.' from the 'Foreign Trade' FastTab on the Item Card.
My question is does a column actually need to be added to the table via Table Designer or can I append the tariff No. field to this list in some other way?
cheers friends,
0
Answers
-
Hi,
the desired field needs to be added to the page, not necessarily the table. You may calculate the field on the page (OnAfterGetRecord).
In this case, however, I'd probably prefer to add a FlowField (Lookup) to the Item Charge Assignment table.1 -
Screenshot attached are basically those fields which developer has deliberately added in the Page. The Flow is whatever you want to see here it must be first added from development side in the page, once it's added then you can go and add remove whatever you wants.Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/1 -
RockWithNAV wrote: »Screenshot attached are basically those fields which developer has deliberately added in the Page. The Flow is whatever you want to see here it must be first added from development side in the page, once it's added then you can go and add remove whatever you wants.
Okay, so the columns available are the fields from the Item Charge Assignment (purch) page.
If I were to add this on the Dev side then it would be through creating a flowfield on the Item Charge Assignment table or altering the OnAfterGetRecord trigger for Item Charge Assignment page ?
I'm rapidly reading NAV dev resources to get up to speed forgive any obvious lingo mistakes.0 -
Okay, so the columns available are the fields from the Item Charge Assignment (purch) page.
If I were to add this on the Dev side then it would be through creating a flowfield on the Item Charge Assignment table or altering the OnAfterGetRecord trigger for Item Charge Assignment page ?
I'm rapidly reading NAV dev resources to get up to speed forgive any obvious lingo mistakes.
That's pretty much it, but just to be clear for both options you would still need to add the new field/column to the Item Charge Assignment (Purchase) Page.1 -
[Solved] although I'd appreciate a second set of eyes on the process.
thank you @Kishorm
My company does not yet have the appropriate granules to allow me to make these changes but I did spec it out for our partner like so:
1) create New Field on Table ID 5808 name = 'Tariff No.' Data Type = Code and Length = 20
2) add a table relation for the new field within the field's TableRelation property. The table to relate is Table ID 260 'Tariff Number' and the specific field we are after is the 'No.' field.
3) open the Table Assignment (Purch) page (Page ID 5805) and add the field 'Tariff No.' to the Repeater group via Page Designer. As long as the first two steps went well then one should be able to select 'Tariff No.' as the SourceExpr for the newly created field.
compiling the page should complete the modification and make the field available to choose for end users on that page.0 -
2.5) you need to make the field a FlowField and the CalcFormula needs to lookup the Tarriff No. field for the Item table. As it's a FlowField you should also set the Editable property to No1
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