Point that Inventory is Physically posted

TonyH
Member Posts: 223
Hi all,
Been using NAV for years but now working on my AX skill set.
I've configured the system to use the AIF framework to automatically export an XML file of the InventTrans record on Insert using the InventoryTransactionService AXD.
However what I have discovered is that even by creating a Adjustment Journal Line AX will generate an InventTrans record.
What I really need to do is generate the AIF export into the Queue when the physical inventory is posted either -Ve or +ve.
I've been working around the posting routines and looking at other tables including the InventSum, but am still a little lost as to the best place to put my AIF generation trigger.
Anyone happen to be able to recommend the best place to look at for placing this call?
many thanks
t
Been using NAV for years but now working on my AX skill set.
I've configured the system to use the AIF framework to automatically export an XML file of the InventTrans record on Insert using the InventoryTransactionService AXD.
However what I have discovered is that even by creating a Adjustment Journal Line AX will generate an InventTrans record.
What I really need to do is generate the AIF export into the Queue when the physical inventory is posted either -Ve or +ve.
I've been working around the posting routines and looking at other tables including the InventSum, but am still a little lost as to the best place to put my AIF generation trigger.
Anyone happen to be able to recommend the best place to look at for placing this call?
many thanks
t
0
Comments
-
Hi!
Unlike NAV wherein only posted entries are updated in ILE (Inventory ledger Entry) in AX even unposted lines are updated on Invent trans table as "order" type entries. NAV has multiple columns for the quantities to display.....in AX it creates multiple rows depending upon the transactions for the line item on source document.
Regards,
Sridhar0 -
Hey Sridhar,
Thanks for the reply.
I've already figured out that the InventTrans table gets populated before the actual inventory change takes place, what I was looking for was a "common" point in the system to which I could add on AIF generation code to export an XML file of that transaction.
I think you're reply has only reaffirmed what I had previously discovered.
So far the best I have is in the updatePhysicalIssue and updatePhysicalReceipt in the InventUpd_Phyiscal class.
After some testing it seems a pretty solid solution.. guess time will tell.
t0
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