"Applied Item Entries" form empty

slmaluwa
Member Posts: 366
NAV 2009 R2 Classic on SQL 2008 R2
We wanted to see and unapply of sales made from a particular production order. Current remaining balance of the PO Output is 0. So, I thought to unapply the entries and re-apply another correct PO (this is a special case. normally we accept default way).
We notice that "Applied Item Entries" for any invoice/consumption line in item Ledger Entries doesn't show any records.
I checked and see records in "Item Application Entry" table.
Is this normal or a bug ?
TIA
We wanted to see and unapply of sales made from a particular production order. Current remaining balance of the PO Output is 0. So, I thought to unapply the entries and re-apply another correct PO (this is a special case. normally we accept default way).
We notice that "Applied Item Entries" for any invoice/consumption line in item Ledger Entries doesn't show any records.
I checked and see records in "Item Application Entry" table.
Is this normal or a bug ?
TIA
"A bove maiore discit arare minor"-"From the old ox, the young one learns to plow."
0
Comments
-
Hi,slmaluwa wrote:Is this normal or a bug ?
FindAppliedEntry(ItemLedgEntry : Record "Item Ledger Entry") WITH ItemLedgEntry DO BEGIN IF Positive THEN BEGIN ItemApplnEntry.RESET; ItemApplnEntry.SETCURRENTKEY("Inbound Item Entry No.","Outbound Item Entry No.","Cost Application"); ItemApplnEntry.SETRANGE("Inbound Item Entry No.","Entry No."); ItemApplnEntry.SETFILTER("Outbound Item Entry No.",'<>%1',0); //OS001s os.jgl // ItemApplnEntry.SETRANGE("Cost Application",TRUE); //OS001e os.jgl IF ItemApplnEntry.FIND('-') THEN REPEAT InsertTempEntry(ItemApplnEntry."Outbound Item Entry No.",ItemApplnEntry.Quantity); UNTIL ItemApplnEntry.NEXT = 0; END ELSE BEGIN ItemApplnEntry.RESET; ItemApplnEntry.SETCURRENTKEY("Outbound Item Entry No.","Item Ledger Entry No.","Cost Application"); ItemApplnEntry.SETRANGE("Outbound Item Entry No.","Entry No."); ItemApplnEntry.SETRANGE("Item Ledger Entry No.","Entry No."); //OS001s os.jgl // ItemApplnEntry.SETRANGE("Cost Application",TRUE); //OS001e os.jgl IF ItemApplnEntry.FIND('-') THEN REPEAT InsertTempEntry(ItemApplnEntry."Inbound Item Entry No.",-ItemApplnEntry.Quantity); UNTIL ItemApplnEntry.NEXT = 0; END; END;
The "Cost Application" field has something to do with application (Adjust Cost - Item Entries), but not with the application of physical movements. In the demo database this field is always true, because all cost have been adjusted and distributed across applications. But this is not the case in a real production database.
with best regards
Jens0 -
Thank you for the reply. I earlier the solved the original issue of re-applying through Application Worksheet.
After reading your reply and this link http://support.microsoft.com/kb/KbView/2845082, I now understand the issue.
I am commenting the line as all our items are using Average Costing and the users wanted to see the applications always.
I hope there won't be any side effects elsewhere in the system.
Thanks again."A bove maiore discit arare minor"-"From the old ox, the young one learns to plow."0
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
- 320 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