Purchase Order completely invoiced identification in header
s_venkatesh78
Member Posts: 97
Dear Users,
In Navision 5.0 is there any way i can identify whether a purchase order is completely invoiced using any field in the header (Similar to 'Completely received' boolean field in the header) ?
Regards,
Venkatesh
In Navision 5.0 is there any way i can identify whether a purchase order is completely invoiced using any field in the header (Similar to 'Completely received' boolean field in the header) ?
Regards,
Venkatesh
Thanks and Regards,
Venkatesh
Venkatesh
0
Comments
-
if PO is completly Recieved&Invoiced then PO will be deleted.0
-
if the purchase order is completely invoiced and you used the function "get receipt lines", it's not deleted.
There is not a field in purchase header that shows you the order is completely invoiced.
You could create a new field
Best regards0 -
Why do you want to see this?
As an addition if you part process a completely invoiced order may remain and there is a batch job to clear these out.The art of teaching is clarity and the art of learning is to listen0 -
You could make an "exists" flowfield on the header, checking if there are any lines with quantity > 0 and quantity to invoice > 0. This will evaluate to true if there is any quantity to invoice on a line of the order, so use the "revese sign" option of the flowfield and it will be true if there is NO line with quantity to invoice )0
-
No code or new fields if you just want to identify and delete the Orders, then there is already a report to clear them down.
As Adam pointed out navigate the Menu to:
Administration > IT Administration > Data Deletion > Purchase Documents > Delete Invoiced Purchase Orders.
This will run Report - 499 - Delete Invoiced Purch. Orders
If you do not want to Delete the Orders but just Report or Mark them, then look at this report and how it works.
David
Analyst Developer with over 17 years Navision, Contract Status - Busy
Mobile: +44(0)7854 842801
Email: david.cox@adeptris.com
Twitter: https://twitter.com/Adeptris
Website: http://www.adeptris.com0 -
As you cannot do these multiple conditions on a flowfield, this would need two fields to be checked 'Outstanding Quantity' and 'Qty. Received not Invoiced' as these are system updated.MBerger wrote:You could make an "exists" flowfield on the header, checking if there are any lines with quantity > 0 and quantity to invoice > 0. This will evaluate to true if there is any quantity to invoice on a line of the order, so use the "revese sign" option of the flowfield and it will be true if there is NO line with quantity to invoice )
DavidAnalyst Developer with over 17 years Navision, Contract Status - Busy
Mobile: +44(0)7854 842801
Email: david.cox@adeptris.com
Twitter: https://twitter.com/Adeptris
Website: http://www.adeptris.com0 -
It is perfectly possible to make the following flowfield :David Cox wrote:
As you cannot do these multiple conditions on a flowfield, this would need two fields to be checked 'Outstanding Quantity' and 'Qty. Received not Invoiced' as these are system updated.MBerger wrote:You could make an "exists" flowfield on the header, checking if there are any lines with quantity > 0 and quantity to invoice > 0. This will evaluate to true if there is any quantity to invoice on a line of the order, so use the "revese sign" option of the flowfield and it will be true if there is NO line with quantity to invoice )
David-Exist("Purchase Line" WHERE (Document Type=FIELD(Document Type),Document No.=FIELD(No.),Quantity=FILTER(>0),Qty. to Invoice=FILTER(>0)))0 -
MBerger wrote:It is perfectly possible to make the following flowfield :
-Exist("Purchase Line" WHERE (Document Type=FIELD(Document Type),Document No.=FIELD(No.),Quantity=FILTER(>0),Qty. to Invoice=FILTER(>0)))
Definitely its possible to make that flowfield, but unfortunately the logic is wrong on two points.
Firstly its possible to have a negative quantity on an order, so the first condition should be : "Quantity=FILTER(<>0)".
Second, (I think what David was pointing out) is that Qty. To Invoice is a user entered field (with a default), so it is not possible to guarantee the meaning of this field. In fact a large percentage of clients have code to set this to Zero after each posting. You can't create the logic "Quantity Invoiced" = "Quantity" in a flow field.
So you are correct that the flow field will work, but unfortunately it won't be reliable. So you would need to add "Outstanding Quantity" = 0 and "Quantity Shipped Not Invoiced" = 0, though I am doing this off the top of my head, and would need to open Navision to check if I am 100% correct or not.David Singleton0 -
Sorry I did not communicate correctly, just to confirm what I meant and David S has also confirmed.
This works but not correctly, as the "Qty. to Invoice" may be set to Zero by the user, this could be the case in preparing the Purchase Orders to only receive, the user could set the "Qty. to Invoice" to zero which would negate the correct use of this flowfield.MBerger wrote:-Exist("Purchase Line" WHERE (Document Type=FIELD(Document Type),Document No.=FIELD(No.),Quantity=FILTER(>0),Qty. to Invoice=FILTER(>0)))
If you were to use Outstanding Quantity and Qty. Received Not Invoiced, which are system set, then it could work.-Exist("Purchase Line" WHERE (Document Type=FIELD(Document Type),Document No.=FIELD(No.),"Outstanding Quantity"=FILTER(<>0),"Qty. Received Not Invoiced"=FILTER(<>0)))However we do not know why the OP wants to identify the Orders, if it is just to delete them then there is already a process which requires no new fields or code, it is always better for support and upgrade reasons when possible to offer a first solution that requires no system changes.
David :?Analyst Developer with over 17 years Navision, Contract Status - Busy
Mobile: +44(0)7854 842801
Email: david.cox@adeptris.com
Twitter: https://twitter.com/Adeptris
Website: http://www.adeptris.com0 -
Those who had experience with supply chain should know there are many reasons why Orders (or even Quotes) should not be deleted.
It could be for cost analysis, lead time estimation, etc...NAV - Norton Anti Virus
ERP Consultant (not just Navision) & Navision challenger0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 322 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

