I have created a view in SQL Server. I'd like to use this view to create a report in Microsoft Dynamics NAV 2009. Is this possible and if so, how can I use the view?
Thanks
yes this is possible but you need a new navision table and change the property 'LinkedObject' to Yes.
Further, you need to name the table exactly like the view.
Here are some further hints.. http://msdn.microsoft.com/en-us/library/dd339076.aspx
You then can use that table like any other table in nav with some limitations..
Here's another good tutorial regarding your question:
http://dynamicsuser.net/blogs/waldo/archive/2008/11/08/how-to-display-an-sql-server-view-in-microsoft-dynamics-nav.aspx
Related
Does anyone knows how to create a view in database with CakePHP3?
Is there a way to do this with migrations?
Like define a view to being executed then when I run cake/bin migrations migrate this create view in BD. Than this may create a view and I must be able to execute this view whatever I want in models or controllers?
Thanks for your help in advance
As markstory said in this issues on GitHub this, functionalities didn't exist ye and may be released soon:
https://github.com/cakephp/cakephp/issues/11632
https://github.com/cakephp/migrations/issues/347
I'm looking at the features of SymmetricDS (last version symmetric-server-3.7.24) and in their forum I read it is actually possibile to synch from a view.
So I tried to synch from a view but when I run the program I got an error because symmetricDs cannot create a trigger on the view.
I also read that if a use a materialized view, then the trigger should be created.
The view is on a sqlserver 2008. I dropped the view and create a new one with schemabinding and add a cluster index on it. I also check that all the options are set as required in the MSDN guide to create indexed table.
I run symmetricDS again but still fail to create the trigger on the view.
Can anyone help me?
If what I ask is actually not possibile, then it is possibile to craete an extension that does not use trigger to synchronized the tables? I don't care that the two db are synched realtime, I can use a scheduled job, it will be just fine.
Thank you for you help and suggestion.
BTW: I can also change tool you you know a better one :)
I don't think that's a supported use case. However, you can try setting the sync_on_insert/update/delete fields to 0 on the sym_trigger. Then you would be able to sync the view with an initial load or by scheduling reloads (see "symadmin reload-table" command).
I'm new to Drupal 7. Right now I'm trying to use D7 to build an interface that allows me to directly manipulate the tables in the database.
I have installed a couple modules such as Data, Migrate, Feeds, and etc. I managed to create a view to display the table that I created using Data Module, but I need to add and update the rows from the interface.
Furthermore, is it possible to set up relational tables so that I can update or delete related rows at the same time using Drupal?
Thanks in advance
Using the data module that is quite easy because it comes with the "Data Entity" submodule that creates an entity form for you. This allows you to update data table rows. It should add an edit button at the end of your data view for the table.
Using some basic custom code you can always create a form to add/update data to the table as well. For form creation please have a look at:
http://api.drupal.org/api/drupal/includes%21form.inc/group/form_api/7
I am very new to wordress. I have a appointment form. While submitting a form i need to save those information from the form to the database. I created a table of my own lets say wp_appointment and saved the information to this table. Now what i want to know is that is this a good way to do so or is there any solution to this. And i need to display those information in admin section and update. Is it possible? Please do suggest me if i can do or not.
Thanks in advance
Now what i want to know is that is
this a good way to do so or is there
any solution to this.
Yes, this is the ideal way to doing this. Besides, there is something to consider:
For ease of use and compatability, you can use wordpress's built-in database functions. Check this one: wpdb Class
And i need to display those
information in admin section and
update. Is it possible?
Sure. You can create a custom admin page and show/make editable them in there. As a start point check this link: Adding Administration Menus. You can apply the instructions told there to your function.php file to have custom pages without create an "external plugin".
To answer your questions: Yes, it's possible. And what you described is being done by current calendar plugins.
Here is one:
http://wordpress.org/extend/plugins/events-calendar/
I would take a look at their code to see how they implement something similar to your idea.
I have access to a database table that has been added as a datasource in project (A). Is there any way to refer to this database table from project (B) WITHOUT adding it to project (B)'s datasource?
i.e.
ProjB.databasetable.GetDataSetSchema
Any ideas would be really appreciated. Thanks guys!
The database table is not related to the project A in any way. The project A contains a datasource, probably a DataSet, that is used to access the table.
If you would like to reuse that dataset, just add a reference to ProjectA to ProjectB and ProjectA.MyDataSet will be there for you to use.
The way is to use remote data server and all application will connect to your server.
You can make this with DataAbstract
but you need to rewrite your application.