Dynamics AX 2012 R3 Batch Job (Executing, Withhold)

When we restore database in dynamics AX 2012 we usually face an issue of workflow batch job. And we use worflow processor to manually run the worflow batch job.

I tried to fix this with the help of some post. But unfortunately it was an unsuccessful attempt. Than I tried to delete the batch job. I was getting error like

Cannot delete a record in Batch job (BatchJob). The corresponding AOS validation failed.

Steps to be followed to fix this issue.

if workflow status is Executing

  1. Change the status of the batch job to Canceling.
  2. Again change the status of the batch job to Withhold

if workflow status is  Withhold

3. Delete the batch job

4. Create a batch group called “Workflow”

5. Run the batch group through workflow configuration from

System Administrator  >> Setup >> Workflow >> Workflow Infrastructure Configuration

Screen Shot 2016-07-27 at 12.32.24 PM

Screen Shot 2016-07-27 at 12.33.21 PM

select the batch job and click on next set the batch timing and at the end click finish.

Try to submit any workflow. It will work smoothly now.

Thanks.

Prashant Kumar

Sales Orders Direct Delivery With Direct Delivery Journals

In dynamics AX 2012 you can create deliveries for items that are sent directly to your customer from the vendor. This type of delivery saves delivery time and inventory carrying costs, because you do not hold the products in your warehouse before you ship them to the customer.

You can create direct deliveries from the Sales order form. Create a sales order and order lines. Then, on the Action Pane, on the Sales order tab, select Direct delivery. Specify the lines that must be handled as a direct delivery.

Prerequisite for the process:

  1. Select the direct delivery check mark in item master delivery tab.Screen Shot 2016-07-01 at 10.50.34 PM

2. Or select direct delivery check mark in sales order line.

Screen Shot 2016-07-01 at 10.54.32 PM

3. Change order management is not active for that supplier. Or change order management setup has been over ridden.

Screen Shot 2016-07-01 at 11.34.01 PM

Process To be Followed

  1. Create a sales order

Screen Shot 2016-07-01 at 10.58.10 PM

We need to make sure the direct delivery check mark selected.  Save the sales order.

After doing this process you can find a record created with this sales order in direct delivery journal situation in procurement and sourcing module.

Screen Shot 2016-07-01 at 11.02.16 PM

to create a sales order for direct delivery click ok create direct delivery. This will create a purchase order with default vendor selected in purchase tab of that item.

Screen Shot 2016-07-01 at 11.04.24 PM

This will create a record in confirmation tab of this form. This is the purchase order that will fulfill the delivery of above sales order.

Screen Shot 2016-07-01 at 11.06.28 PM

To confirm this purchase order click on confirm purchase order button.  Once you will click that particular record will be disappeared from that tab.

You will find a record created in delivery tab of the same form.

Screen Shot 2016-07-01 at 11.12.53 PM

Here you have two option to receive this order partially or fully. If you will click on receive partially it will open typical product receipt form of Dynamics AX. Full product receipt will post product receipt. System takes product receipt number from default number sequence of direct delivery.

Hence your sales order delivery has been fulfilled. You can find status of PO is receive and sales order has been delivered.

Remaining invoice and payment process will be remain same.

 

Thanks.