AX 2012 ASN setup

Below I have detailed the steps involved in setting up ASN for AX 2012 R1/R2:

  1. Open System administration > Setup > Services and AIF > Outbound ports
  2. Create a new Outbound port 
  3. Give the Port a name and description e.g. ASN
  4. In the field Adapter Select the option ‘File system adapter’
  5. Setup a URL/File location for the XML file to be saved to
  6. Click Service operations
  7. In the Popup window find the service ‘InventASNSerivce,read’ and move it to the left hand pane using the chevron ( < )

    69

    a) If you cannot find the service ‘InventASNSerivce’ you will need to register this via                    the AOT. To do this follow the steps below:

    i.    Open the AOT and navigate to Services > InventASNService

                 ii.    Right click Add-ins > Register service

                 iii.   If you refresh your service operations in the outbound port setup these services                     should now be available.

    70

  8. Tick the option ‘Customise documents’ and then select the Data Policies option
  9. Within the Data Policies click Enable all

    71

  10. Then click Close
  11. You can chose to setup different value mappings at this point such as:
    1.  Customer numbers (internal or external)
    2. Address information (internal or external)
    3. Item codes (internal, external and Barcodes)
    4. Units of measure (internal or external)
    5. Currency codes (internal or external)
    6. Delivery methods (internal or external)
    7. Terms of delivery (internal or external)
    8. Charge codes (internal or external)
    9. VAT codes (internal or external)
  12. Activate you outbound port

Now you will need to create a batch job to process your ASN’s, to do this follow these steps:

  1. Open System administration > Setup > Batch groups
  2. Create a new batch group called ASN
  3. Add the appropriate AOS’s to this batch group
  4. Save your changes
  5. Open System administration > Inquires > Batch Jobs > Batch Jobs
  6. Click Ctrl + N, Enter a name for the Job and then click F5
  7. Click View tasks
  8. In the Overview section crate two line with the following setup:
Task description Company accounts Partition Key Class name Class description Has conditions Run location Batch group
ASN [Your legal entity] initial AifOutboundProcessingService AIF outbound processing service No Server ASN
ASN2 [Your legal entity] initial AifGatewaySendService AIF gateway send service No Server ASN

 

  1. Close the task screen
  2. On the Batch Job screen select Recurrence and set the job to process ever minute (optional time frame)

    72

  3. Click OK
  4. Now you will need to set your batch job to the appropriate status now. To do this click Functions > Change status
  5. Select the status Waiting

Now this has been setup we will be able to validate that this works. to do this follow the steps below:

1. Outbound rule setup as follows:

  Auto Send Shipment Deliver Picked Items Description Outbound Rule Set Picking Line Status To
  No Yes WMS WMS Staged
  1. Create a shipment template to automatically create shipments using the outbound rule above
  2. Generate a Sales order with an item which will be picked up by the template created in step 1. Sales and marketing > Common > Sales orders > All sales order
  3. Generate the output orders for the sales order
  4. Open the shipment screen Inventory and warehouse management > Common > Shipment
  5. Find the shipment created from your sales order.
  6. Activate your shipment Functions > Activate
  7. Open your picking route and pick your order. Inquires > Picking list then Update > Update all
  8. Deliver the items
  9. On the shipment screen click Shipment staging
  10. In the shipment overview click Functions > Load entire shipment
  11. On the shipment screen click Functions > Send 
  12. On the shipment screen click Functions > Delivery note
  13. On the shipment click Functions > Send ASN 

If you now giver the service and the batch job time to process you should find that the XML document has now been created in the designated file location.

Advertisements

4 thoughts on “AX 2012 ASN setup

  1. Pingback: AX 2012 Shipments (Dispatch with pallets) | Patrick Hawker
  2. Pingback: Tutorial: Configure and process an outbound ASN in the new Warehouse management module - Supply Chain Management in Dynamics AX - Site Home - MSDN Blogs
  3. Pingback: Tutorial: Configure and process an outbound ASN in the new Warehouse management module - Microsoft Dynamics AX Community
  4. Pingback: Tutorial: Configure and process an outbound ASN in the new Warehouse management module – ww12345678 的部落格 | AX Helper

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s