Publishing a Base App from powershell, issue with adding a new field to existing table

Rodtmclean
Member Posts: 89
Hi,
I'm in the process of upgrading our vertical to BC17, this is a modified base app rather than extensions.
I can add a field to an existing table and publish via VSCode and all is well with the world. However, when I publish via powershell, I run into a problem. When running a page with the new field, I've added a test field called Text101, the page is not displayed and and the following is recorded in the event log: -
"Microsoft.Dynamics.Nav.Types.GenericException Message: Invalid column name 'Text101'. Statement(s) could not be prepared. StackTrace: Source: "
This is all resolved by publishing from VScode again. I'm wondering if someone has come across this before and maybe it is just a setting somewhere?
Regards
Roddy
ps The product in the future will move to extensions
I'm in the process of upgrading our vertical to BC17, this is a modified base app rather than extensions.
I can add a field to an existing table and publish via VSCode and all is well with the world. However, when I publish via powershell, I run into a problem. When running a page with the new field, I've added a test field called Text101, the page is not displayed and and the following is recorded in the event log: -
"Microsoft.Dynamics.Nav.Types.GenericException Message: Invalid column name 'Text101'. Statement(s) could not be prepared. StackTrace: Source: "
This is all resolved by publishing from VScode again. I'm wondering if someone has come across this before and maybe it is just a setting somewhere?
Regards
Roddy
ps The product in the future will move to extensions

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