Item Charge

JeroenBennink
Member Posts: 4
Hello, I am looking for a solution in Dynamics NAV2013 that can dynamic adjust item charges. Setting up them on the Item-Card and adjust it to Purchase Orders and Production Orders. This Item Charges should generate General Ledger entries which are meant to reserve expected costs.
Does anyone know a standard solution for this?
Does anyone know a standard solution for this?
0
Comments
-
Item charges are great and sadly under-implemented. As standard, you can only post item charges from sales or purchase documents. However, it is possible to post an item charge with a well crafted item journal line in code. Here's one I made earlier..
ItemJnlLine.INIT; ItemJnlLine."Item No.":=<"Item No.">; ItemJnlLine."Location Code":=ItemEntry."Location Code"; ItemJnlLine."Inventory Posting Group":=ValueEntry."Inventory Posting Group"; ItemJnlLine."Source Posting Group":=ValueEntry."Source Posting Group"; ItemJnlLine."Gen. Bus. Posting Group":=ValueEntry."Gen. Bus. Posting Group"; ItemJnlLine."Gen. Prod. Posting Group":=ValueEntry."Gen. Prod. Posting Group"; ItemJnlLine."Item Charge No.":=<"Item Charge">; ItemJnlLine."Posting Date":=<"Posting Date">; ItemJnlLine."Entry Type":= ItemJnlLine."Entry Type"::Purchase; //ItemJnlLine."Source No.":= ItemJnlLine."Document No.":= DocNo; ItemJnlLine.Quantity:=0; ItemJnlLine."Invoiced Quantity":=-<Quantity>; ItemJnlLine."Quantity (Base)":=0; ItemJnlLine."Invoiced Qty. (Base)":=-<Quantity>; ItemJnlLine."Unit Cost":=-<"Purchase Value (LCY)">/<Quantity>; ItemJnlLine.Amount := -ROUND(<"Purchase Value (LCY)">,GLSetup."Amount Rounding Precision"); ItemJnlLine."Applies-to Entry":=ItemEntry."Entry No."; ItemJnlLine."Item Shpt. Entry No.":=ItemEntry."Entry No."; ItemJnlLine."Shortcut Dimension 1 Code":=ItemEntry."Global Dimension 1 Code"; ItemJnlLine."Shortcut Dimension 2 Code":=ItemEntry."Global Dimension 2 Code"; ItemJnlLine."Dimension Set ID":=ItemEntry."Dimension Set ID"; ItenJnlPost.RUN(ItemJnlLine);
I also have implementations where we are posting expected item charges but that requires quite a lot more work.
Good luck, and let me know if you have any questions.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