Dynamics AX
  RSS Feed  LinkedIn  Twitter
Want to turn you're data into a true asset? Ready to break free from the report factory?
Ready to gain true insights that are action focused for truly data informed decisions?
Want to do all of this across mutliple companies, instances of Dynamics and your other investments?
Hillstar Business Intelligence is the answer then! (www.HillstarBI.com)

Hillstar Business Intelligence for Microsoft Dynamics AX and NAV on Mobile, Desktop, Tablet


Let us prove to you how we can take the complexity out of the schema and truly enable users to answer the needed questions to run your business! Visit Hillstar Business Solutions at: www.HillstarBI.com

Thursday, May 18, 2006

Helpful Purchase Order and Sales order info

When working with a client, and doing data imports of their data into the new Ax instance you might have to bring in open purchase orders or sales orders. The great thing about this is that both of these are very similar in how they function, look, act, etc.

One of the key things to understand when bringing in, for example, purchase orders is the Quantity tab and the data that lives there.

The easiest peice about this is the actual Quantity or Purchase Quantity. The thing to keep in mind here when mapping and filling this field with data, is that in reality it's two fields: QtyOrdered, PurchQty
This is a key peice of data that you must first fill to build everything in the Quantity tab from.

The next field that needs to be explained and understood is the Deliver Remainder field on the Qty tab. This field specifys how much of the purchase qty is left to be delivered to the specified delivery address. As long as there is data in this field then the given purchase order is still marked as Open. This field, is actually two fields in the table: RemainInventPhysical, RemainPurchPhysical

Our next field to look at is the Invoice Remainder. This field tells you how much of the purchase qty, that has been recieved, but not yet been invoiced. This field is actually one field called: RemainPurchFinancial.

The next two fields we are going to talk about is the Invoiced and Recieved fields in the tab. These fields are actual not fields in the PurchLine database, but rather are driven from Display methods off of the PurchLine Table itself. These display methods are called: Recieved = PurchLine.receivedInTotal(), Invoiced = PurchLine.invoicedInTotal().
What you need to keep in mind here is that these fields are acutally built off of the vendPackingSlipTrans table (Recieved) and the vendInvoiceTrans table (Invoiced). These tables must have values in them, as they represent actual receiving actions doen to the given purchase order line, and invoicing done. This is something that can be tricky, and must be done correctly, as if done wrong you can have incorrect data in these two tables that can cause reports to be off, etc.

A lot of people / companies at this point decide to back out of the recieved and invoiced values and then for each open PO, redo these actions from within axapta in order to make sure all reporting and values are accurate and percise to maintain data integrity.

The last field we will review, which happens to be the first field in the tab is the Recieve Now field. This field, when supplied with a value, can be used to mark a given qty for the specified line, during a packing slip update to be marked as recieved.

Now we can go further into the details of this and how each field pertains to different actions, etc. What most important to understand is this base knowledge though and from there build upon that during your use of Ax. To Re-cap below is a list of these Field names, and then there actual field name in the table. Also I have included the logic for how Ax determines the status of a given PO or SO:

1. Quantity = PurchLine.QtyOrdered, PurchLine.PurchQty
2. Deliver Remainder = PurchLine.RemainInventPhysical, PurchLine.RemainPurchPhysical
3. Invoice Remainder = PurchLine.RemainPurchFinancial
4. Invoiced = PurchLine.invoicedinTotal() [Display Method]
5. Recieved = PurchLine.recievedInTotal() [Display Method]

Status Logic:

If anything exists in the Deliver Remainder then the PO is open.
If Nothing exsists in the Deliver Remainder, and all Qty Ordered exist in the Recieved then the PO is recieved
If all qty has been recieved, and all has been invoiced, then the PO is invoiced.



Find a job at: www.DynamicsAXJobs.com

1 Comments:

Anonymous Mike Middleton said...

Thanks for this - very useful.
Am I right in thinking that the "Status" of a Purchase Order is defined by a number in a database field? If this is the case where can I find a list of the numbers that are used and what each number means.
eg. "1" might mean "Open"
"2" might mean "Received" etc.

Same applies to PO Ducument Status.

Are these values defined in a manual somewhere or inthe online help?

I'd appreciate and guidance on this please.

9:45 AM  

Post a Comment

<< Home


Copyright 2005-2011, J. Brandon George - All rights Reserved