The purpose of this blog is for knowledge sharing and connect the relevant audience who are all into Microsoft Dynamics world.
Alfasith AX
Thursday, November 29, 2018
Tuesday, November 27, 2018
How to run a job in D365
Hi,
This is not similar to AX 2012, we needs to invoke it like how we are opening the table browser.
1. Create a item as Runnable class,
2. Add your business Logic codes in main method().
3. Call the below URL with your instance URL and Class name.
https://<instanceURL>/?mi=SysClassRunner&cls=YYYNumberSeqLoad&cmp=YYY
Regards
This is not similar to AX 2012, we needs to invoke it like how we are opening the table browser.
1. Create a item as Runnable class,
2. Add your business Logic codes in main method().
3. Call the below URL with your instance URL and Class name.
https://<instanceURL>/?mi=SysClassRunner&cls=YYYNumberSeqLoad&cmp=YYY
https://URL/?mi=SysClassRunner&cls=EcomPurchOrderEDI&cmpECOP&cmp=ECOP
Monday, November 26, 2018
Saturday, November 17, 2018
Thursday, November 15, 2018
Job to list all the fields in particular table in D365
Hi,
class AlfasithTableFieldList
{
/// <summary>
/// Runs the class with the specified arguments.
/// </summary>
/// <param name = "_args">The specified arguments.</param>
public static void main(Args _args)
{
TableName tableName = 'SalesTable';
SysModelElement sysModelElementTables;
SysModelElement SysModelElementFields;
DictField dictField;
;
while select sysModelElementTables
where sysModelElementTables.ElementType == UtilElementType::Table &&
sysModelElementTables.Name == tableName
join SysModelElementFields
where SysModelElementFields.ElementType == UtilElementType::TableField &&
SysModelElementFields.ParentModelElement == sysModelElementTables.RecId
{
dictField = new DictField(sysModelElementTables.AxId, sysModelElementFields.AxId);
print dictField.name();
}
}
}
Regards,
class AlfasithTableFieldList
{
/// <summary>
/// Runs the class with the specified arguments.
/// </summary>
/// <param name = "_args">The specified arguments.</param>
public static void main(Args _args)
{
TableName tableName = 'SalesTable';
SysModelElement sysModelElementTables;
SysModelElement SysModelElementFields;
DictField dictField;
;
while select sysModelElementTables
where sysModelElementTables.ElementType == UtilElementType::Table &&
sysModelElementTables.Name == tableName
join SysModelElementFields
where SysModelElementFields.ElementType == UtilElementType::TableField &&
SysModelElementFields.ParentModelElement == sysModelElementTables.RecId
{
dictField = new DictField(sysModelElementTables.AxId, sysModelElementFields.AxId);
print dictField.name();
}
}
}
Regards,
Subscribe to:
Posts (Atom)
SQL code to upate one Legal entity banner to all the legal entity in D365
Hi, update companyimage set companyimage.Image = companyimageA.Image from ( select Image from companyimage where dataAreaid = 'USF...
-
Hi, AccountingDistribution ( accounting distribution 7452 ) AccountingDistributionEventTmp ( accounting distribution 100001 ) Accountin...
-
Hi, Create a EDT name it Gender then in properties enumType : //select the enum name Use the below code and enjoy. static v...