Find Cost Value in Inventory Transactions

schoolkid
Member Posts: 103
Hi,
I face an issue and need help,
we have developed a new module in which we use items for the transactions and post them into Inventtrans Table.
In this case the Transaction is seen in the table, but I am unable to fetch the CostValue and also for the Inventory OhHand updates. Where as when a SalesOrder or a Profit/Loss Journal is posted it calculates a CostValue and Inventory OnHand. I want to fetch the COSTVALUE and deduct the ONHAND that is calculated as mentioned.
Any help would be great.
Thanks in advance
I face an issue and need help,
we have developed a new module in which we use items for the transactions and post them into Inventtrans Table.
In this case the Transaction is seen in the table, but I am unable to fetch the CostValue and also for the Inventory OhHand updates. Where as when a SalesOrder or a Profit/Loss Journal is posted it calculates a CostValue and Inventory OnHand. I want to fetch the COSTVALUE and deduct the ONHAND that is calculated as mentioned.
Any help would be great.
Thanks in advance
0
Comments
-
Hi,
updating inventtrans only does not solve u r problem.
To calculate costprice the inventsum has to be updated.
and the respective finacial postings has to be done when u post the inventory transactions through code.
which is a bit complicated.
Really i didnot understand u r requirement of posting inventory transaction throughcode.Kranthi0 -
Hi Kranthi,
My requirement is that i will use the items in my tables and then post them,it has to deduct the items in the inventory on hand and calculate the costvalue just like how it calculates when a sales order is invoiced.
yes i am updating the InventTrans,InventSum and also the inventtransposting tables and also the ledgertrans tables.
I am able to insert my records and calculate them but i face the issue only when i try to calculate the CostValue for the Item
and insert it in the Table.
Thanks,0 -
Hi,
I propably suggest u to utilize the standard functionality available in ax.
example: Profit/Journal or Movement Journal.
If custamization is must u just observe the standard code used in above journal posting.Kranthi0
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