Skip to main content

Posts

Showing posts with the label Ax7

Resolve "More Than One Form Was Opened at Once for the Lookup Control" Error

While overriding lookup method on  form data source's field it COC is not working for most of the case so everybody is looking after event handlers. But there is one problem in case of that after writing code for event handler its throwing error as "More Than One Form Was Opened at Once for the Lookup Control" as you can see in following screenshot. To resolve this we need to cancel super call to lookup method which is fairly easy to acheive you just need to add following two lines of code in such case  1 2 3 // Cancel the super call of lookup control. FormControlCancelableSuperEventArgs formControlCancelSuper = e as FormControlCancelableSuperEventArgs; formControlCancelSuper.CancelSuperCall(); for example: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 [FormControlEventHandler(formControlStr(PurchTable, ContactInfo_Email), FormControlEventType::Lookup)] public static void ContactInfo_Email_On...

Provide print from D365Fo to printer using Network printers configuration

In D365 Finance and Operations many times we want to print some reports or invoices directly to system connected printer but it's not possible for the D365fo environment to print directly without authenticating your device and connection with your printer and system. So make the trusted connection between your printer and system network printer configuration comes in the picture. So in this blog, we will see how to make configuration for Network printer and provide print directly from D365 Finance and Operations and after following all the steps your printer will be enlisted in network printers section. Navigate to Network printers. After logging into your finance and operations environment navigate to Modules>>Organization administration>>Setup>>Network printers  as follows. Download document routing agent installer and install it. Now on the top side navigate to the application section and click on Download document routing agent. After downloading the appl...

How to enable out of the box hyperlink feature for SSRS Reports in D365 Finance and Supply Chain Management

 In D365 Finance and SCM there are lot of out of the box SSRS reports in which you have hyperlink to move to that particular record (for example Ledger transaction list). But sometimes when you update environment you might end up with no such option in you SSRS report as you can see in following screenshot.  To enable hyperlink features you need to follow following steps:- Navigate to feature management and go to all section in that Search for Report drill through links and disable this feature Search for Report PDF viewer and disable      you need to disable this feature for following limitation which you can find in screenshot. Now check desired SSRS report Now you are able to see hyperlinks links in the reports I hope this post will be helpful to you, Thank you!

Copy production databse to UAT environment | D365 Finance and Operations

Here in this blog we will see how to import database of production environment in UAT for D365 Finance and Operations.In D365 Finance and Operations when you want to move production data in to your UAT environment for testing or special case where you want to perform section you need to Perform refresh database operations. Here are the steps how to refresh the databases as follows:- click on maintain and select move database In the LCS select full details option for desired project and select environment where you want to import your database and now click on maintain button as follows and select move database option as follows select methods among move database option here select "refresh database" option to import prod database into your UAT / Tier 2 or greater than that environment Here is also option point in time restore where you can restore system from previous time here you can find details about it in this  link . select source environment from where data will be imp...

Error "Cannot delete a record in batch job(BatchJob). The corresponding AOS validation failed "while deleting batch job in D365 finance

while you want to delete batch job in Finance and operation you may have faced error as follows "Cannot delete a record in batch job(BatchJob). The corresponding AOS validation failed".               This blog will be helpful to resolve this issue, just follow mentioned steps. Go to batch job( system administation >> inquiries  >> batch jobs ) select batch jobs which you want to delete and press button change status now change its status to canceling as follows after which jobs status will change to canceling and after that it will automatically change to waiting state now try to delete it by pressing delete button. Now select yes to delete record And you have successfully deleted the record. Hope this blog was helpful to you.

Create cloud-hosted environment in LCS | Onebox environment

In this article you will came to know how to create cloud-hosted environment in LCS  also known as onebox environment. First of all you need to create azure connector with the help of azure portal. After this you can create your cloudhosted environment in LCS. Following video consist of full demonstration of above mention both point cloudhosted environment as well as azure connector I hope this article was helpful for you guys,Thank you             

Change planned purchase order status as draft insted of default approved

When we create purchase order using planned order its default approval status will be approved as displayed in screenshot. To change that status to draft write following code where we will change its status to draft and further code to is to remove version of purchase order which necessary to make delete button enabled on purchase order form code:- /// <summary> /// extension of class: ReqTransPoMarkFirm /// </summary> [ExtensionOf(classStr(ReqTransPoMarkFirm))] final class ReqTransPoMarkFirmCFSClass_Extension {     public container conPurchOrders;     /// <summary>     /// updatePurchTable     /// </summary>     /// <param name = "_purchTable">_purchTable</param>     protected void updatePurchTable(PurchTable _purchTable)     {         conPurchOrders += _purchTable.PurchId;         next updatePurchTable(_purchTabl...

What is BYOD? How to implement it in D365 Finance and SCM

Intro ·          BYOD (Bring Your Own Database)  let administrators to export data entities from the application into their own Microsoft Azure SQL database. ·          The BYOD feature lets administrators configure their own database, and then export one or more data entities that are available ·          Allows following o     Define one or more SQL databases that you can export entity data into. o     Export either all the records (full push) or only the records that have changed or been deleted (incremental push). o     Use the rich scheduling capabilities of the batch framework to enable periodic exports. o     Access the entity database by using Transact-SQL (T-SQL), and even extend the database by adding more tables. Entity store vs BYOD ·       ...