Why after creating custom entities in VS and publishing them to the BYOD database, all the tables in BYOD are staging tables and not entity tables? Can anyone let me know if this is normal as I was expecting to see the same entity tables as in VS.
Dynamics 365 Custom Entity Creation: All entities tables in BYOD are staging tables, but no entity tables.
RE: Relation Cardinality and RelatedCardinality
Thanks for the responses. I was wondering if the specified cardinality is actually enforced by the system when data is added to the related tables, or if it just serves as information.
RE: Drop downs not populating data for certain users
Yes, security is fine.
RE: Mobile Device Portal - 1 Server 2 AX Configs
Hi Ansel,
We have done this before in my organization but, I do not remember the exact steps.
I know that we changed the address in Web.Config file. Have you tried this option already?
I will ask my colleagues and check my configs to remember the steps. Then keep here updated if I can line it all up again.
Mobile Device Portal - 1 Server 2 AX Configs
This should be simple and I think I'm just overlooking the answer.
I have 1 Test Server with both a DEV and TEST configuration running. I currently have the Mobile Device Portal working for TEST but can't seem to get it to install for DEV. I can't seem to find where you specify which configuration to use when installing or in IIS. Is the configuration determined based on the User? Do I need to create another WHSmobile user for DEV that is named differently than TEST?
Thanks!
RE: Expose properties of AxSalesTable via AIF SalesSalesOrderService
I'm afraid that I don't understand. What do you mean that AxSalesTable is not accessible? When you say Aif* objects, don't you mean Axd* objects?
Maybe you mean that you used to pass an array of AxSalesTable objects to the service but now it expects an AxdSalesOrder object? Then you just have to assign the array to SalesTable property of AxdSalesOrder.
RE: i have a released Transfer order , how should i cancel it so no quantity stays reserved?
Hi Silvano,
Please refer to my answer for the same question in this thread: how to cancel/void an OPEN work?
i have a released Transfer order , how should i cancel it so no quantity stays reserved?
Dear
i have a Transfer order that was released to warehouse (using WMS) but we need to cancel it , and i want to make sure that none of the items remain reserved or allocated to this transfer order
what is the sequence of Delete that i should do ?
- Delete Work or (Cancel work???) should i delete or cancel
- Delete Load
- Delete Shipment
is this accurate or am i mistaken
Update OrdersEndDate in Trade Promotions Tables
I am trying to update the OrdersEndDate for our Trade Promotions from 12/29/2017 to 12/29/2025.
Here is my code but i am getting a Operand Types are not compatible with the operator. Any guidance i would greatly appreciate it. My x++ skills are a work in progress.
static void AMF_RebateDateUpdate(Args _args)
{
jsTPMTradePromotion jsRebates;
while select forUpdate jsRebates where jsRebates.OrdersEndDate =="12/29/2017"
{
ttsBegin;
jsRebates.OrdersEndDate = '12/29/2025';
jsRebates.update();
ttsCommit;
}
print info('Completed');
pause;
}
RE: Drop downs not populating data for certain users
i would find out the name of the form's menu item(that drop-down table) first. Go into AOT>menu item>display(name of your menu item)>Right click>Add-ins>Security tools> view related security roles. This will tell you all of the roles/duty/privileges(everything related to that menu item) that uses it. This might help you determine which role has this entry point(privileges) with access level. I do get that your security is good but this might a good place to double check. Just a thought. Hope this helps.
RE: purchase order confirmation report doesn't display tax table
RE: Choosing SalesUnit on SalesQuotationLine
You will have to debug it and see where it is exactly changing the salesUnit field. I just did quick find references and that fields is used in so many InitFrom* methods, so without debugging you will not come to know where its getting changed based on that you may have to change place for your code
Choosing SalesUnit on SalesQuotationLine
Hi,
I want to select the SalesUnit of the SalesQuotationLine depending on the customer automatically. Since the SalesUnit is set when the ItemId is modified I would like to change it every time this happens. Therefore I created a onModifiedField data event handler and set it to react every time the ItemId is modified.
The problem is that after my method the SalesUnit is changed again.
I have done the same for SalesLine and it worked:
[DataEventHandler(tableStr(SalesLine), DataEventType::ModifiedField)]
public static void SalesLine_onModifiedField(Common sender, DataEventArgs e)
{
ModifyFieldEventArgs args = e;
FieldId fieldId = args.parmFieldId();
if (fieldId == fieldNum(SalesLine, ItemId))
{
FormDataSource formDataSource = sender.dataSource();
if (!formDataSource)
{
return;
}
SalesLine salesLine = formDataSource.cursor();
SalesTable salesTable;
CustTable custTable;
select salesTable where salesTable.SalesId == salesLine.SalesId;
select custTable where custTable.AccountNum == salesTable.CustAccount;
if (salesTable && custTable.OABPreferredUnit)
{
salesLine.SalesUnit = custTable.OABPreferredUnit;
}
}
}
RE: Drop downs not populating data for certain users
Hi Tyler,
On the journal names, there is a setup to make the journal private to a certain user group? Can you verify if this is used? If so, these users are probably not linked on that user group.
See also: Manage user groups [AX 2012]
RE: SSAS Cubes ...wanted to know (I am fresher)
Hi,
The cubes contain data for all the companies (in that Partition, I think). When reporting, you can either filter the data by company, or show the company on the report. 'Company' is one of the dimensions.
The data in the cubes is not live. It is as recent as the last time the cube was successfully 'Processed'. See 'Automate the processing of cubes' on the left here:
SSAS Cubes ...wanted to know (I am fresher)
My Cleint has asked to show default cubes in ax 2012
what steps required to Deploy,Configure...starting to end what should I do
RE: Expose properties of AxSalesTable via AIF SalesSalesOrderService
Martin, after using the refresh option on the AifService form in the AOT I am unable to access any of the axd* or ax* objects from the exposed AIF web service. I can only access Aif* class objects from the web service.
I think I'm on to something right now, I'll report back.
RE: Mobile Device Portal - 1 Server 2 AX Configs
Hi Ansel,
Have a look at my blog post where it is explained how to install multiple instances. To be able to connect to another environment, you have to change connection properties in the web.config file when the setup is finished: kaya-consulting.com/setup-and-maintain-multiple-instances-of-the-warehouse-mobile-devices-portal
RE: User Groups and the SysAdmin Role
The system administrator has indeed access to all features as it is bypassing the security. But it is not bypassing functional setup for e.g. workflows or user group dependencies.
RE: Restriction Delegation based on Signing limit or Position
Hi Kaushik,
In standard AX it is not possible to restrict the list with users to be setup as delegate. It would require a customization. If a user will be setup as delegate, AX is assuming he would be allowed for approving the workflows with the same signing limit as the original approver.