AX Consultinghttps://axconsulting.wordpress.com
Just another WordPress.com siteTue, 20 Mar 2018 01:39:20 +0000enhourly1http://wordpress.com/https://s2.wp.com/i/buttonw-com.pngAX Consultinghttps://axconsulting.wordpress.com
How to register Item In Ax 2009 code (using X++)https://axconsulting.wordpress.com/2017/03/04/how-to-register-item-in-ax-2009-code-using-x/
https://axconsulting.wordpress.com/2017/03/04/how-to-register-item-in-ax-2009-code-using-x/#respondSat, 04 Mar 2017 18:48:11 +0000http://axconsulting.wordpress.com/?p=893Last days user created transfer Order to transfer Qty from warehouse to new warehouse, but unfortunately the new warehouse not has default location so The QTY already shipped but could not received at new warehouse.

solution:

1- Create default location for new warehouse.

2- Assign default location to each line in transfer order by go to Inventory —> registration

3- Set Default location for new warehouse

4- select auto check box

5- Then click post all.

All steps above you have to it for each line in transfer order, so in case you have many transfer orders it will be tuff task.

In that case I have create below job to register items automatically for transfer order

Hint: Kindly in case you have comment or alternative solution please added below.

Advertisements

]]>https://axconsulting.wordpress.com/2017/03/04/how-to-register-item-in-ax-2009-code-using-x/feed/0sabermahdyimageimageHow to add new action under Context menu in Dynamics AXhttps://axconsulting.wordpress.com/2016/11/22/how-to-add-new-action-under-context-menu-in-dynamics-ax/
https://axconsulting.wordpress.com/2016/11/22/how-to-add-new-action-under-context-menu-in-dynamics-ax/#respondTue, 22 Nov 2016 15:33:01 +0000http://axconsulting.wordpress.com/?p=887Each node in the AOT contains a set of available actions. You can access these actions from thecontext menu, which you can open by right-clicking any node.

You can create custom actions for any element in the AOT by enlist a class as a new add-in by following:1. Create a new menu item and give it a meaningful name, a label, and Help text.2. Set the menu item’s Object Type property to Class.3. Set the menu item’s Object property to the name of the class to be invoked by the add-in.4. Drag the menu item to the SysContextMenu menu.5. If you want the action available only for certain nodes, you need to modify the verifyItemmethod on the SysContextMenu class.

Advertisements

]]>https://axconsulting.wordpress.com/2016/11/22/how-to-add-new-action-under-context-menu-in-dynamics-ax/feed/0sabermahdyMicrosoft Dynamics 365: What You Need to Knowhttps://axconsulting.wordpress.com/2016/11/13/microsoft-dynamics-365-what-you-need-to-know/
https://axconsulting.wordpress.com/2016/11/13/microsoft-dynamics-365-what-you-need-to-know/#respondSun, 13 Nov 2016 06:28:59 +0000http://axconsulting.wordpress.com/?p=885In July 2016, Microsoft announced it would be combining its CRM and ERP solutions into a single cloud-based bundle called Microsoft Dynamics 365. The announcement raised many questions among users about whether it will replace current Microsoft products and how users can implement these solutions.

One thing is clear, though – Dynamics 365 enables employees to work from anywhere at any time through their mobile devices, and Microsoft believes this will be a game changer for its customers. Read on to learn more about Dynamics 365 and mobility.

Microsoft’s New Approach to Business Applications

Microsoft has billed Dynamics 365 as “the next generation of intelligent business applications” that “enable organizations to grow, evolve, and transform.” But, what does that mean in practice?

According to Microsoft spokespeople, Dynamics 365 is a re-architecting and repackaging of the capabilities of Dynamics CRM, Dynamics AX, and a small business SaaS offering called “Project Madeira.” Furthermore, Dynamics 365 complements Microsoft’s current lineup of CRM and ERP solutions (the existing ERP systems will not go away). And, it will connect to Office 365, making it simple for users to communicate, share, and request information from within one platform.

A New Licensing Model

Microsoft offers two licensing models for Dynamics 365: an application-based model and a role-based model.

Under the application-based model, businesses can purchase as many apps as they need, even if it’s only a single app. Conversely, the role-based model enables employees to access mission-critical apps. For example, a salesperson doesn’t just need to use a CRM app. He or she also needs data from field service representatives and the customer service team. The information from those app categories allows the salesperson to not merely do his or her job, but excel at it.

What People Are Saying about Dynamics 365

The Dynamics 365 announcement attracted a great deal of attention from industry analysts. They note that it represents a new approach to CRM and ERP applications from the software giant.

In Microsoft Dynamics AX, you define a workflow by creating a template to base the workflow on. In this walkthrough, you will create a workflow template in the Application Object Tree (AOT) that you can add approvals and tasks to.

A workflow template defines information about:

Which workflow document to use. The workflow document exposes calculated fields and identifies the query that exposes data fields for the workflow.

Tasks and approvals that can be configured by the end user.

Workflow categories used for assigning a workflow template to a specific module.

Menu items and event handlers.

This walkthrough illustrates the following tasks:

Create a workflow template in the AOT.

Create a query to expose data for conditions.

Create a workflow document class to identify the query and calculated fields.

To create a workflow template in the AOT

Right-click the Workflow Templates node, and then select New Workflow Template. A workflow template group displays under the Workflow Template node.

Right-click the new workflow template and then click Properties.

In the Properties sheet, set the Name property to MyWorkflowTemplate.

In the AOT, right-click MyWorkflowTemplate, and then click Save.

After the workflow template is created, you can create the objects that you need to bind to the workflow template. For this walkthrough, the next step is to create a query to identify the table data fields used for the workflow document.

Between constant meetings, phone calls and emails, staying productive at work can be a challenge. However, the odds of staying productive can be greatly improved by taking some simple steps in order to stay efficient.

Here are 12 tips from the Bayt.com team to help you to make the most of your time at work:

1. Don’t let emails take over your day

We are all so accustomed to email that as soon as we see a new email in our inbox we instinctively click it on, focus on the content of the email, and respond. These seemingly tiny activities during the day can quickly add up to large amounts of time that not only cause your day to slip away, but also distract you from completing your current task.

If replying to or disposing of an e-mail takes less than two minutes, do it right away. Send less to receive less: Keep your e-mails short, and write fewer of them. Here are some tips from the career experts at Bayt.com to help you control your work emails.

2. Eliminate unnecessary meetings

Face-to-face communication is essential (email is fraught with misinterpretation), but be ruthless about protecting your time. Avoid every meeting that isn’t truly necessary.

3. Learn how to say ‘no’

While everyone wants to be a good team player at work, saying ‘no’ is sometimes the right thing to do. If you are not the best person for a task, or if you have other pending deadlines, it is OK to turn down a work request. read more

Advertisements

]]>https://axconsulting.wordpress.com/2014/11/17/12-ways-to-improve-your-productivity-at-work/feed/0sabermahdyimageThe administration of number sequences – AX 2012https://axconsulting.wordpress.com/2014/11/12/the-administration-of-number-sequences-ax-2012-2/
https://axconsulting.wordpress.com/2014/11/12/the-administration-of-number-sequences-ax-2012-2/#respondWed, 12 Nov 2014 08:47:06 +0000http://axconsulting.wordpress.com/?p=876The administration of number sequences is performed by using actions provided in the Administration group on the action pane on the Number sequences list page.

Organization Administration –> Common –> Number Sequences —> Number Sequences

Status list

Provides a list of numbers that have been generated for continuous number sequences, but which have not been committed to the database. The numbers are either currently being used in a user session, are reserved for future use in a user session, or are free for use if a new client user session requests a new number for a particular number sequence in the list. If a new number does not exist for a specific continuous number sequence, it is generated by the sequence number framework from the next value for that number sequence in the Number sequence table (NumberSequenceTable).

Manual cleanup

Allows the administrator to manually clean up numbers in the status list. Use of this option is only recommended after anunexpected system failure; in such rare circumstances, numbers might not be automatically cleaned up.

History

Provides the history of changes to the number sequences themselves.

A number of administrator tasks can be performed from the Details page. An administrator can, for example, schedule an automated periodic cleanup for every number sequence by entering intervals on the Automatic cleanup FastTab as displayed in image below

An administrator can also assign number sequences by using a page in the parameters forms in individual application modules. For example, you can view or assign the number sequences to specific references in the General ledger module. You can navigate to the form by using the path General ledger > Setup > Parameters.

Advertisements

]]>https://axconsulting.wordpress.com/2014/11/12/the-administration-of-number-sequences-ax-2012-2/feed/0sabermahdyimageimageimageimageimageclip_image001The administration of number sequences – AX 2012https://axconsulting.wordpress.com/2014/11/11/the-administration-of-number-sequences-ax-2012/
https://axconsulting.wordpress.com/2014/11/11/the-administration-of-number-sequences-ax-2012/#respondTue, 11 Nov 2014 18:42:35 +0000http://axconsulting.wordpress.com/?p=864The administration of number sequences is performed by using actions provided in the Administration group on the action pane on the Number sequences list page.

Status list

Provides a list of numbers that have been generated for continuous number sequences, but which have not been committed to the database. The numbers are either currently being used in a user session, are reserved for future use in a user session, or are free for use if a new client user session requests a new number for a particular number sequence in the list. If a new number does not exist for a specific continuous number sequence, it is generated by the sequence number framework from the next value for that number sequence in the Number sequence table (NumberSequenceTable).

Manual cleanup

Allows the administrator to manually clean up numbers in the status list. Use of this option is only recommended after an unexpected system failure; in such rare circumstances, numbers might not be automatically cleaned up.

History

Provides the history of changes to the number sequences themselves.

A number of administrator tasks can be performed from the Details page. An administrator can, for example, schedule an automated periodic cleanup for every number sequence by entering intervals on the Automatic cleanup FastTab

An administrator can also assign number sequences by using a page in the parameters forms in individual application modules. For example, you can view or assign the number sequences to specific references in the General ledger module. You can navigate to the form by using the path General ledger > Setup > Parameters.

Number sequences for General Ledger

Advertisements

]]>https://axconsulting.wordpress.com/2014/11/11/the-administration-of-number-sequences-ax-2012/feed/0sabermahdyclip_image001Make sure that the X++ code has been compiled to Microsoft .NET Framework CIL – AX Batch Errorhttps://axconsulting.wordpress.com/2014/11/10/make-sure-that-the-x-code-has-been-compiled-to-microsoft-net-framework-cil-ax-batch-error/
https://axconsulting.wordpress.com/2014/11/10/make-sure-that-the-x-code-has-been-compiled-to-microsoft-net-framework-cil-ax-batch-error/#respondMon, 10 Nov 2014 12:46:19 +0000http://axconsulting.wordpress.com/?p=860I developed custom class which extend RunBaseBatch system class to run in server, After created my class and run the class though batch job, there is an error is occurred and got the following error in log.

“Unable to construct an object from the class Sample Class in the batch framework. Make sure that the X++ code has been compiled to Microsoft .NET Framework CIL, and that the constructor does not require any parameters“

After search through internet I got solution by run “Generate incremental CIL” as displayed below

Consider the following information about how the configuration of number sequences can affect system performance before you set up number sequences.

Continuous and non-continuous number sequences

Number sequences can be continuous or non-continuous. A continuous number sequence does not skip any numbers, but numbers may not be used sequentially. Numbers from a non-continuous number sequence are used sequentially, but the number sequence may skip numbers. For example, if a user cancels a transaction, a number is generated, but not used. In a continuous number sequence, that number is recycled later. In a non-continuous number sequence, the number is not used.

Continuous number sequences are typically required for external documents, such as purchase orders, sales orders, and invoices. However, continuous number sequences can adversely affect system response times because the system must request a number from the database every time that a new document or record is created.

If you use a non-continuous number sequence, you can enable Preallocation on the Performance FastTab of the Number sequences form. When you specify a quantity of numbers to preallocate, the system selects those numbers and stores them in memory. New numbers are requested from the database only after the preallocated quantity has been used.

Unless there is a regulatory requirement that you use continuous number sequences, we recommend that you use non-continuous number sequences for better performance.

Automatic cleanup of number sequences

In case of a power failure, an application error, or other unexpected failure, the system cannot recycle numbers automatically for continuous number sequences. You can run the cleanup process manually or automatically to recover the lost numbers.

Carefully consider server usage when you plan the cleanup process. We recommend that you perform the cleanup as a batch job during non-peak hours.