The purpose of this blog is for knowledge sharing and connect the relevant audience who are all into Microsoft Dynamics world.
Alfasith AX
![Alfasith AX](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFCsBSvNUtph5BS_nBvcdYm3YaVG0GBnQAKHbEDjqE6z_HSUuYknE01DBZJCjjZxnvlKVLIXUnkqSVygmTlAQxCn5aR4l7RDLMKbs_VZyTLs_habcFKCCjTzswligQdQWU0UvXXVUt5t4p/s1190/workaholic-hand-typing-keyboard-dark-late-night-with-computer.jpg)
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا
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)
Get a table ID in SQL - D365
Hi select ID from SysTableIdView where SysTableIdView .Name = 'CustTable' Regards,
-
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...