Transfer order problem

B3nz
Member Posts: 37
Hi all,
i'm having trouble in NAV 5 sp1. i've already post the transfer order both shipment and receipt. but now the system doesn't create a perfect/complete item ledger entry. NAV only create 2 lines of item ledger entry(see attachment), where i believe for normal transfer order transaction, NAV will create 4 lines of item ledger entry (2 for shipment location - in transit and 2 for in transit - receipt location).
now the main problem is that it doesn't happen everytime. most of transfer order going normally, and i also can't seems to replicate the problem ](*,)
anyone ever have the same problem? please share your advice
thanks
i'm having trouble in NAV 5 sp1. i've already post the transfer order both shipment and receipt. but now the system doesn't create a perfect/complete item ledger entry. NAV only create 2 lines of item ledger entry(see attachment), where i believe for normal transfer order transaction, NAV will create 4 lines of item ledger entry (2 for shipment location - in transit and 2 for in transit - receipt location).
now the main problem is that it doesn't happen everytime. most of transfer order going normally, and i also can't seems to replicate the problem ](*,)
anyone ever have the same problem? please share your advice
thanks
0
Comments
-
-
Hi Kine,
Never mind that, i already found out that there's some modification that cause the issue
thanks0 -
I am getting exactly the same error in NAV 2009. I checked for any modification or something by debugging. But I could not find anything that stops the transaction in between. Please help me out...
Thanks,
Manjusree0 -
I have the same problem in NAV 2009 SP1. Has anyone found a solution?Navision developer0
-
This was my problem:
If I had an item reserved against inventory and my stock was at 1, the stock was of course already taken. So when creating a transfer order for 1 I got the above result.
My solution was to increase inventory with -(Item.Inventory-Item."Reserved Qty. on Inventory"-QtyToShip) and then decrease it again after the transferItem.GET(TransShptLine2."Item No."); Item.SETRANGE("Location Filter", TransShptLine2."Transfer-from Code"); Item.CALCFIELDS(Inventory, "Reserved Qty. on Inventory"); AdjustedQuantity := Item.Inventory-Item."Reserved Qty. on Inventory"-QtyToShip; IF AdjustedQuantity >= 0 THEN EXIT(FALSE); IF QtyToShip <= 0 THEN EXIT(FALSE); AdjustedQuantity := -AdjustedQuantity; //Post positive adjustment to handle negative inventory ItemJnlLine.INIT; ItemJnlLine.VALIDATE("Entry Type",ItemJnlLine."Entry Type"::"Positive Adjmt."); ItemJnlLine.VALIDATE("Posting Date", TransHeader."Posting Date"); ItemJnlLine."Source No." := TransHeader."Sell-to Customer No."; ItemJnlLine."Source Type" := ItemJnlLine."Source Type"::Item; ItemJnlLine."Document No." := TransShptLine2."Document No."; ItemJnlLine.VALIDATE("Item No.",TransShptLine2."Item No."); ItemJnlLine.Description := 'Temporary Inventory Increase'; ItemJnlLine.VALIDATE(Quantity, AdjustedQuantity); ItemJnlLine."Location Code" := TransShptLine2."Transfer-from Code"; ItemJnlLine."Bin Code" := TransShptLine2."Transfer-from Bin Code"; ItemJnlPostLine.RunWithCheck(ItemJnlLine,TempJnlLineDim);
Navision developer0
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