Hi,
My PC spec is
- 2.5GHz Intel Core i7 4710HQ Processor (4 Cores)
- 16GB RAM
I'm trying to use D365FO demo vhd(downloaded from LCS-->shared asset library) in my machine , but it is very slow.
How can i speed up?
Hi,
My PC spec is
I'm trying to use D365FO demo vhd(downloaded from LCS-->shared asset library) in my machine , but it is very slow.
How can i speed up?
Message from a moderator:
Before Rain Chong meaninglessly changed the body of the question to ".", he showed a picture of a dialog and complained about not seeing query fields there.
I have a need of using unmapped fields on a data entity of type container. I know that there are 2 ways in using unmapped fields, either by setting the isComputed property to yes, or no.
I have created a new unmapped container field on the FMCustomer extension entity for testing. In the post load method, I am setting a value for this container, as below:
public void postLoad() { super(); this.Age = this.calculateAge(); //integer this.PaymentInformation = ["test1", "test2"]; //container }
As you can see, there is another unmapped field of type int, which is being calculated and loaded correctly. However, the container is either loaded as null, or a system null exception is thrown.
Any ideas on how to solve this? I know that this is a new addition, possibly on update 2, and maybe it has not been implemented fully yet.
Thanks,
MAtthew
Hi Folks,
We have multiple cloud hosted environments for development which are periodically synced by means of doing objects checking-in and doing get lated by source control in other machines. After doing this I see all the objects as expected but when I try to access the entity in CDS for Integrating with Dynamics 365 sales by selecting the machine where entity was NOT created it does not reflect.
But please note I can see the entity if I select the environment where I created the entity but not able to see if I select other environment. Am I missing any steps which I need to do in other environment where entity was not created ?
Hello All,
I want to add Product Name field in InventTransItem form. I have added EcoResProductTranslation in data source of that form and added the Product Name field in Grid of the form.
The problem is that my form is displaying data but its random data. I want to manipulate data on the basis of Item Number (the data should be fetched according to Item Number column). As shown in the screenshot.
I know about display method but I dont know how to use it as I am new to X++.
Can anyone help me in this regard.
Any help would be appreciated.
Thanks.
I'm trying to export a data management entity in JSON format and don't see an option to do this via the UI
Is it possible to do this?
I also don't see an option to create a new source data format of this type either
I know that we can use a URL like below which uses an OData REST filter this to produce JSON of an entity in this format but I understand that this isn't best practice for exporting large amounts of data on a regular basis, so was wondering what is
Hi Everyone,
We are planning to migrate from Oracle EBS to Microsoft Dynamics 365 and I would need your support to know the migration of data process. I would like to know whether Microsoft has come up with default tools which enable in a smooth transition from Oracle to D365. If Microsoft has default tools, is it worth to use those tools or is it recommend to opt for other options.
Regards,
Uday
Hi everyone,
I have an environment with a connection to Team Project in visual studio.
I can connect correctly with the repository. When i load the proyect a error "one or more projects in the solution were not loaded correctly" appears and when i build this error appear:
When the build is complete i have a lot of errors related with MODELS:
more than 60...
I'm alomst sure the problem is in the descriptor, but i dont know where because i have all the configurations rigth:
and when i go to Source Control Explorer the files are there:
I search in folder and they are there.
and the project:
The thing is that in other enverionment these errors doesn't appear, its only in this one. Things that i have do/tried (several times):
I search this in web but no solutions works for me. I don't know what more can i do. Has something similar happened to someone?
Thanks.
CoC is used to extended a method in DFO 365 , the original method some times throw error , so I use the try & catch to over come the the exception i.e. next try is called in , the catch logic never executed and the error is thrown . What should I do to enforce the execution of catch ? I review the whole code to check any existence of ttsbegin & ttscommit , nothing exists ?
Hello,
I'm trying to reconcile a bank account in Dynamics AX (8.1). I've selected all transactions and when manually calculating the reconciliation should work but it isn't in AX.
I tried to remove all transactions to delete the account reconciliation but the below error is received when I try and delete it:
"The transaction may not be deleted. Transactions exist in table BankAccountTrans."
I think one line from a payment included in the reconciliation is stuck as it is now showing that one of the amounts is cleared even though it isn't selected?
Please can you help to get this resolved (either reconciled or deleted so I can begin again)
Regards,
Kataryna
Hi, I am building a report and for some reason the parameter screen loads and I get the following error when I click into it:
Unable to cast object of type 'Dynamics.AX.Application.FormIntControl' to type 'Dynamics.AX.Application.FormStringControl'.
My code is as follows however I cant find out where its coming from,
UI Builder:
class TestSysLogReportUIBuilder extends SrsReportDataContractUIBuilder
{
DialogField dialogTableNum;
DialogGroup dialogGroup;
boolean enable;
private void TableNumLookup(FormStringControl TableNumLookup)
{
Query query = new Query();
QueryBuildDataSource qbds_SysLogTable;
SysTableLookup sysTableLookup;
if (TableNumLookup != null)
{
// Create an instance of SysTableLookup with
// the current calling form control.
sysTableLookup = SysTableLookup::newParameters(tablenum(SysDataBaseLog), TableNumLookup);
// Add fields to be shown in the lookup form.
qbds_SysLogTable = query.addDataSource(tableNum(SysDataBaseLog));
sysTableLookup.addLookupfield(fieldnum(SysDataBaseLog, table), true);
sysTableLookup.parmUseLookupValue(false);
sysTableLookup.parmQuery(query);
// Perform the lookup.
sysTableLookup.performFormLookup();
}
}
public void build()
{
TestSysLogReportContract rdpContract = this.dataContractObject();
dialogTableNum = this.addDialogField(methodstr(TestSysLogReportContract,parmRefTableId),rdpContract);
dialogTableNum.lookupButton(2);
}
public void postRun()
{
Dialog dialogLocal = this.dialog();
DialogField dialogField;
super();
// This method should be called in order to handle events on dialogs.
dialogLocal.dialogForm().formRun().controlMethodOverload(false);
// Override the methods of department field.
dialogField = this.bindInfo().getDialogField(this.dataContractObject(), methodstr(TestSysLogReportContract, parmRefTableId));
dialogField.registerOverrideMethod(methodstr(FormStringControl, lookup), methodstr(TestSysLogReportUIBuilder, TableNumLookup), this);
}
}
Contract:
[DataContractAttribute,SysOperationContractProcessingAttribute(classstr(TestSysLogReportUIBuilder))]
class TestSysLogReportContract
{
RefTableId reftableid;
//Add parmAccountNum method as shown below
[DataMemberAttribute('RefTableId')]
public RefTableId parmRefTableId(RefTableId _reftableid = reftableid)
{
reftableid = _reftableid;
return reftableid;
}
}
Not sure what I am doing wrong. Anything obvious?
In a nutshell I am trying to build a report which has the table name and id as a drop down list.
Hi,
i created for testing purpose inbound port AIF
WSD URI: net.tcp://AOS_SERVICE_HOST/DynamicsAx/Services/test
I use default service CustCustomerService.find.
Can i get this service response by passing this uri to normal browser (chrome) and how to pass parameters needed for this AIF?
I should get XML type response with data?
While doing the purchase order posting in AX 2012 R3 CU13 - i can able to see the update query in the database blocking . During that time , AX performance was very slow until i kill the block. Once it is killed , AX performance become normal.
Please find th eupdate query:
UPDATE T1 SET DEPENDENTSUBLEDGERJOURNALACCOUNTENTRY=T2.RECID,DEPENDENTACCOUNTINGDATE=T3.ACCOUNTINGDATE,RECVERSION=@P1 FROM tempdb."DBO".t108350_9D779272B90D499ABE733AB6A1417FA3 T1 CROSS JOIN SUBLEDGERJOURNALACCOUNTENTRY T2 CROSS JOIN tempdb."DBO".t7461_531F90C085584C3D89C84C743F44DE47 T3 WHERE (T1.PARTITION=5637144576) AND ((T2.PARTITION=5637144576) AND ((((((((((((T2.EXCHANGERATE1=T1.EXCHANGERATE1) AND (T2.EXCHANGERATE2=T1.EXCHANGERATE2)) AND (T2.EXCHANGERATEDATE=T1.EXCHANGERATEDATE)) AND (T2.HISTORICALEXCHANGERATEDATE=T1.HISTORICALEXCHANGERATEDATE)) AND (T2.ISCORRECTION=T1.ISCORRECTION)) AND (T2.LEDGERDIMENSION=T1.LEDGERDIMENSION)) AND (T2.ORIGINALTRANSFERPOLICY=T1.ORIGINALTRANSFERPOLICY)) AND (T2.POSTINGTYPE=T1.POSTINGTYPE)) AND (T2.REPORTINGEXCHANGERATE1=T1.REPORTINGEXCHANGERATE1)) AND (T2.REPORTINGEXCHANGERATE2=T1.REPORTINGEXCHANGERATE2)) AND (T2.SIDE=T1.SIDE)) AND (T2.TRANSACTIONCURRENCY=T1.TRANSACTIONCURRENCY))) AND ((T3.PARTITION=5637144576) AND (T3.SUBLEDGERJOURNALENTRY=T2.SUBLEDGERJOURNALENTRY))
I have been tasked with coming up with a way to report on all custom objects (tables, menu items, data entities, service operations, classes, roles, duties, privileges) within a D365FO environment. I thought I had a viable solution with the following:
1) Since Microsoft is sealing all base models, we can determine that all customizations must occur within a model within the ISV layer or above (layer 8 or above), so step 1 is generating this list of models.
//Limit modules to those with Layer >= 8 (ISV Layer) var modules = Microsoft.Dynamics.Ax.Xpp.MetadataSupport::GetInstalledModuleInfo();
2) Take this list of models, and get all objects within these models
Microsoft.Dynamics.AX.Metadata.Storage.MetadataProviderFactory metadataProviderFactory = new Microsoft.Dynamics.AX.Metadata.Storage.MetadataProviderFactory(); var environment = Microsoft.Dynamics.ApplicationPlatform.Environment.EnvironmentFactory::GetApplicationEnvironment(); str packageDir = environment.get_Aos().get_PackageDirectory(); Microsoft.Dynamics.AX.Metadata.Storage.DiskProvider.DiskProviderConfiguration diskProviderConfiguration = new Microsoft.Dynamics.AX.Metadata.Storage.DiskProvider.DiskProviderConfiguration(); diskProviderConfiguration.AddMetadataPath(packageDir); Microsoft.Dynamics.AX.Metadata.Providers.IMetadataProvider provider = metadataProviderFactory.CreateDiskProvider(diskProviderConfiguration); //This is just classes, there are other objects under the provider including tables, menu items, data entities, service opertations, etc var customClasses = provider.Classes.ListObjectsWithModificationInfo("ModuleName");
The above method works great for customizations made in the environment itself but the ListObjectsWithModificationInfo call will return a blank list if ran against a module from an ISV/3rd party (or any code) that was deployed via deployable package.
Is there any way using the above method to get this information, or can anyone think of another way to get this information?
Hi Guys,
I need to create a contract class in which i need to get the branch dimension as parameter in ssrs report. Please advise on this.
I'm implementing lookup on the custom form, below is the code. I'm getting the error invalid argument type for function.
[FormControlEventHandler(formControlStr(CMSStudents, CMSCourseName), FormControlEventType::Lookup)] public static void CMSCourseName_OnLookup(FormControl sender, FormControlEventArgs e) { Query query = new Query(); QueryBuildDataSource queryBuildDataSource; SysTableLookup sysTableLookup; QueryBuildRange queryBuildRange; queryBuildDataSource = query.addDataSource(tableNum(CMSCourses)); queryBuildRange = queryBuildDataSource.addRange(fieldNum(CMSCourses,Name)); queryBuildRange.value(queryValue(e)); sysTableLookup = SysTableLookup::newParameters(tableNum(CMSCourses),sender,true); sysTableLookup.parmQuery(query); sysTableLookup.addLookupfield(fieldNum(CMSCourses,Name),true); sysTableLookup.performFormLookup(); )
Hi all
I configured a data entity for a BYOD Export to an Azure SQL database. I enabled the specific entity for ChangeTracking and it also shows me that "Track Deletes" is enabled.
However, whenever I delete a record from the mentioned entity, this is not reflected in the Azure SQL database. The record will still be available there.
Did i misunderstood something? I expected the record to be deleted in the Azure database as well?
Your help is really appreciated
Thanks
Andreas