Acumatiac Data Access Class Generator not listing table names - acumatica

I am trying to start the T100 courses for Acumatica and the instructions mention to setup a development environment and then start working on some examples. The first example has you create a graph for the Country table using the PXGraph template, build the RB project so you can use the created graph in the site project, create a ListView page pointing to the graph you just created, and then use the Data Access Class Generator to create the Country class for you in the DAC folder.
Which would be great, however when I click on 'Generate Class' for the data source it brings up the DAC Generator window . . . with no tables listed. So I'm supposed to select Country but nothing is there to select. I have no idea what I'm doing wrong, so if anyone has any thoughts on how this list is populated that would be great. Thanks.
Data Access Class Generator with no tables image

On the same place where you are trying to click Generate Class, you have to right click the page and click Refresh.
There is no shortcut, too.
I spent 2 hours ambling around after overlooking that step during tutorial.

I'm not sure what was wrong, but I closed my solution and re-opened and the next time I tried the tables were listed. Magic.

Related

Is there a way to display new column in Orders html table in Kentico without touching the code?

I'm using Kentico MVC v12 with a fresh installation of DancingGoat(MVC) template.
I've modified the "E-commerce" module by adding a new column in the "Order" table.
I would like to be able to see it on the "Order" module in the list page.
I see in the "User interface" tab that it uses an "aspx" page.
In it I see that it calls an "ascx" page that uses a "UniGrid" component and specify the columns directly in a data attribute.
I don't like the idea to modify this file to display my new column because I see this website as the foundation of my next features, I would like to avoid as much as possible to touch the code of the website template, do you know if there is an other way ?
Maybe I'm missing a configuration somewhere else ?
Thank you by advance !
Update 06-03-2019:
I tried the solution of Peter Mogilnitski but it doesn't work :x
I added the column in the data source
Then I checked the column in widget configuration
Nothing is displayed
I debugged the sql query, I don't see my column in the query, is there an other configuration to do somewhere else ?
Update 08-03-2019:
The support of Kentico confirmed that the solution I proposed that was confirmed by #Rui was the right way to do it.
Thank you everyone !
If you want the custom field to appear in the UI, you will have to make change to the ascx page. You will need to make a note to that because you will likely need to update it during upgrade or hotfix (less likely)
Other than adding the data field to Columns, you will also need to add ug:column to the section
<ug:Column Name="SAPID" Source="SAPID" Caption="SAPID" Sort="SAPID" />
Yes. There is. This is the widget called orders:
You need to go to widgets, select orders widget and add your column to visible columns
Now go to store overview:
Click on properties of latest orders (this is orders widget used all over the store) and scroll down to column and make your column checked.

How to duplicate a population of agents

I have got a population of agents named as customers and a number of variables, parameters, and statecharts are defined for them. Then I created a second population of agents. They should include everything that I defined for customers and a few more. I tried copying everything in the customer graphical view page and pasting them into the new agents' page, but it does not work. How can I do that?
Thank you
I assume you want to actually copy your agent-type, add some more variables... and create a population off that new type, correct?
In that case, you need to copy the actual agent-type in the "Projects" window. Right-click the customers agent-type, then "copy.
Now, right-click on the top-level model-object (named like your model) and right-click it. It will allow you to "paste" now. You will have an agent-type "customers" and "customers1" now.
PS: if you have similar agent types that share properties, you should actually use "inheritance" (a Java core functionality that can be used powerfully in AnyLogic).

IBM Maximo: Start Center and Multiple Tables

I am trying to help a colleague out. I created a query in IBM Maximo 7.6, it is in the work orders table but I added a sub query that pulls from the workflow table and filters for anything in Work Flow.
My question is: On the start center, is there anyway to modify the results set so that we can pull fields from work order and work flow? I have work number, status, and vehicle. Basically, is it possible to bring in what inbox the work order is in, on the results set, in graphical form. So, put together a bar graph based on the inbox?
Any direction would be great, thank you!
First, you need to make sure there is a Relationship on the WORKORDER object in Database Configuration that will find the workflow record you want to see info from for a given work order. Once you've done that, these instructions show you, step by step, how to create Report Object Structure (ROS) (an Object Structure "Consumed By" Reporting), how to grant access to the ROS, and then how to use the ROS in a Result Set portlet to access data in related objects.

How to get last created record in an entity in dynamics crm online?

I need to create a view in a page and this view must contain only the last created record. I tried with view filter but it doesn't allow to get the last
created record. Is there any way to do this please?
Thanks in advance,
Create a system view on your target entity that is sorted by createdon descending and then publish the entity. This query will return multiple records, and the most recently created one will be at the top.
Download the XrmToolbox, unblock the zip, and extract it somewhere on your hard drive.
Download FetchXML Builder XrmToolbox plugin, unblock the zip, and extract it into XrmToolbox's plugins folder.
Start XrmToolbox, connect to your org, and click the FetchXML Builder tool.
Open -> View -> specify your entity (I had to play with the autocomplete box a little bit to get it to work) -> select the view you created in step 1. This will load the view in the builder.
Select the Fetch node in the tree on the left. On the right, you will see a field called Top. Specify 1.
Choose Save->Save View. That should do it!

What is this type of webpart called and how do I create it?

I need to create a library for meeting minutes and agendas exactly like
So basically I need a library that organizes meeting minutes and agendas by fiscal year, then Team name.
Any help pointing me in the right direction would be appreciated.
The web part is called a List View Web part.
To create one, first create a document library and add the relevant columns by which you want to organize the documents. Optionally, you can then create a view (or modify an existing view) in the library to display the documents grouped by the desired columns.
Once the library has been created, you can show it on any page by adding its list view web part to that page.
Every view that you create in the library automatically gets its own page with the appropriate list view web part already added.

Resources