Find Item charges Entries
slmaluwa
Member Posts: 366
Hi all
Here is a simple scenerio.
We create P/O and received the goods. Later, the other costs like freight charges, duty are received and using Item Charges, it is charged to the items, seperately. Invoiced the P/O.
Now, our Finance division wants to see all costs related to this P/O at once, probably in a report format.
Format:
Now, I hope I can create this. But, I do not know which table to get this additional charge details from and how they are inter linked.
I saw some values from "Velue Entry" table & Item Ledger Entry Table.
Can some1 help to find the exact tables order to extract this informatiom from?
Thank you in advance/
Maluwa
Here is a simple scenerio.
We create P/O and received the goods. Later, the other costs like freight charges, duty are received and using Item Charges, it is charged to the items, seperately. Invoiced the P/O.
Now, our Finance division wants to see all costs related to this P/O at once, probably in a report format.
Format:
P/O header Details
.........
........
Item Details
No., Decription, Qty, Cost, Value etc.
Other Costs:
Customs Duty
Frieght Charge
Shipping Agent
TOTAL COST:
Now, I hope I can create this. But, I do not know which table to get this additional charge details from and how they are inter linked.
I saw some values from "Velue Entry" table & Item Ledger Entry Table.
Can some1 help to find the exact tables order to extract this informatiom from?
Thank you in advance/
Maluwa
"A bove maiore discit arare minor"-"From the old ox, the young one learns to plow."
0
Comments
-
There isn't any relation between the charge applied document and the value entry or any other table after posting.
And it is really difficult to modify code for a report like this. (You have to modify Item Jnl Line, Value Entry tables, Purch Post and Item Jnl Post Line codeunits...)
You should better say No to this request. Maybe you can try to create a Item Charge Assignment report by date, item etc..Ufuk Asci
Pargesoft0 -
Can you try with using Structure Order Line Detials table
StructureLineDetails.RESET;
StructureLineDetails.SETRANGE(StructureLineDetails.Type,StructureLineDetails.Type::Purchase);
StructureLineDetails.SETRANGE(StructureLineDetails."Document Type",PurchLine."Document Type");
StructureLineDetails.SETRANGE(StructureLineDetails."Document No.",PurchLine."Document No.");
StructureLineDetails.SETRANGE("Tax/Charge Type",StructureLineDetails."Tax/Charge Type"::Charges);
IF StructureLineDetails.FIND('-') THEN
REPEAT
IF StructureLineDetails."Tax/Charge Group" = 'PACKING'THEN
Packing := Packing + StructureLineDetails.Amount;
IF StructureLineDetails."Tax/Charge Group" = 'FREIGHT-IN' THEN
Freight := Freight + StructureLineDetails.Amount;
UNTIL StructureLineDetails.NEXT = 0;0 -
Structure Order Line Details? Is it part of Indian localization?Ufuk Asci
Pargesoft0 -
Yes, Structures are Indian localization for the complex Indian tax laws.0
-
Dear shivaprasad263
I checked our intallation. It turns out to a W1 (Worldwide Version) and doesn't have any Structure Table
Maluwa"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.7K Microsoft Dynamics NAV
- 18.8K 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
- 328 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