28 April 2017

How to get on hand inventory quantity or Available physical quantity in AX 2012

public InventQty onHandInventory(ItemId itemId, InventSiteId inventSiteId,InventLocationId inventLocation)
{
    InventOnhand    inventOnhand;
    InventDim       _inventDim;
    InventDimParm   inventDimParm;
    InventQty       availQty;
    //inventDim
    _inventDim.InventSiteId = inventSiteId;
    _inventDim.InventLocationId = inventLocation;
    inventDimParm.initFromInventDim(_inventDim);

    inventOnhand = inventOnhand::newParameters(itemId,_inventDim,inventDimParm);

    availQty = inventOnhand.availPhysical();
   // info(strFmt("%1",availQty));
    return availQty;

}

93 comments:

  1. Awesome post with lots of data and I have bookmarked this page for my reference. Share more ideas frequently. oracle training in chennai

    ReplyDelete
  2. I believe there are many more pleasurable opportunities ahead for
    individuals that looked at your site.
    javascript training in chennai
    mysql training in chennai

    ReplyDelete
  3. Great post i must say and thanks for the information. Education is definitely a sticky subject. However, is still among the leading topics of our time. I appreciate your post and look forward to more. Data science course in Chennai

    ReplyDelete
  4. href="https://istanbulolala.biz/">https://istanbulolala.biz/
    JGEİRL

    ReplyDelete
  5. Great post! Getting accurate inventory data is crucial for smooth operations, and it's interesting to see how AX 2012 handles this. In the dental industry, managing supplies like dental materials and equipment is just as important. Tools like this help clinics stay efficient and ensure they always have what they need for patient care. Thanks for the helpful information.
    Dental Clinic In Hyderabad

    ReplyDelete
  6. Great post for Dynamics AX developers! The provided X++ code snippet to get the on-hand inventory quantity is clear and practical for real-world AX 2012 scenarios. It’s really helpful to have such handy reusable code for day-to-day development tasks. Thanks for sharing.Looking to master the world of digital marketing? We provide comprehensive digital marketing courses that equip you with the skills to succeed in today's fast-paced online landscape AI Powered Digital Marketing Course In Hyderabad.

    ReplyDelete
  7. Clear and practical example — helped me easily calculate on-hand stock in Dynamics AX.
    best cosmetic surgeon in hyderabad

    ReplyDelete
  8. This article provides a clear walkthrough of how to fetch on‑hand inventory quantities by item and dimension in Microsoft Dynamics AX 2012 (or its newer versions) — especially useful when standard tables don’t directly expose the values. For example, leveraging InventOnHand::newParameters(_itemId, _inventDim, _inventDimParm) returns the available physical quantity.
    Microsoft Dynamics Community
    +2
    basicax.blogspot.com
    +2
    At Vedanta Hospitals, a trusted Spine Surgery Hospital in Kadapa, we rely on timely and accurate inventory tracking for critical surgical supplies to ensure patient safety and smooth operations. Just like properly calculated on‑hand stock keeps IT systems accurate, organized medical supply workflows keep treatments effective.

    ReplyDelete
  9. AXHelper seems like a reliable platform for providing tech guidance and support. It simplifies complex tasks and helps users navigate software issues efficiently. Overall, it’s a handy tool for both beginners and advanced users.

    Mounjaro (tirzepatide) is an advanced weight loss injection available in the UK, designed to support individuals struggling with obesity or excess weight. It works by targeting appetite regulation and improving blood sugar control, helping users achieve sustainable weight loss.

    mounjaro weight loss injection uk

    ReplyDelete
  10. This post provides useful insights into the role of Dynamics AX (AXAPTA) Developers and the skills required to work effectively with the platform. I especially liked how it highlights both technical expertise and business process understanding, which are crucial for successful AX implementations. It would be great to read more about real-world project experiences or best practices for new developers. Thanks for sharing such informative content!
    Digital Marketing with AI Course in Hyderabad

    ReplyDelete
  11. This tutorial on getting on-hand inventory quantity in AX is clear and practical for ERP users. The step-by-step explanation makes it easier to understand how to retrieve the data you need. Thank you for sharing such a helpful and informative guide
    e sim france

    ReplyDelete
  12. I feel really happy to have seen your webpage and look forward to so
    many more entertaining times reading here.
    Hair weaving in hyderabad

    ReplyDelete
  13. Very Informative blog thank you for sharing. Keep sharing.
    hair wigs in Hyderabad

    ReplyDelete
  14. Awesome post with lots of data and I have bookmarked this page for my reference. Share more ideas frequently.
    hair wigs in Hyderabad

    ReplyDelete
  15. Awesome post with lots of data and I have bookmarked this page for my reference.
    Hair extension in hyderabad

    ReplyDelete
  16. Very Informative blog thank you for sharing. Keep sharing.
    Hair extension in hyderabad

    ReplyDelete
  17. Great post for Dynamics AX developers! The provided X++ code snippet to get the on-hand inventory quantity is clear and practical for real-world AX 2012 scenarios.
    Hair weaving in hyderabad

    ReplyDelete
  18. This post provides useful insights into the role of Dynamics AX (AXAPTA) Developers and the skills required to work effectively with the platform.

    Hair Bonding in Hyderabad

    ReplyDelete
  19. Awesome post with lots of data and I have bookmarked this page for my reference. Share more ideas frequently.
    Non Surgical Hair Replacement in Hyderabad

    ReplyDelete
  20. Awesome post with lots of data and I have bookmarked this page for my reference. Share more ideas frequently
    Hair Extension in Hyderabad

    ReplyDelete
  21. A clear and simple explanation of how to get on-hand inventory quantity in Microsoft Dynamics AX.indo western wear

    ReplyDelete
  22. Great post! Getting accurate inventory data is crucial for smooth operations, and it's interesting to see how AX 2012 handles this. In the dental industry, managing supplies like dental materials and equipment is just as important.
    Hair Bonding in Hyderabad

    ReplyDelete
  23. Great post! The explanation and X++ code example for exporting and importing images in Dynamics AX 2012 is very helpful. It makes understanding how to work with image data in table fields much easier. Thanks for sharing such a practical and useful guide for AX developers.
    best pay monthly phone deals

    ReplyDelete
  24. Thanks to sharing this information i thinkl ur expert on it.
    Hair Bonding in Hyderabad

    ReplyDelete
  25. Awesome post with lots of data and I have bookmarked this page for my reference. Share more ideas frequently
    Non Surgical Hair Replacement

    ReplyDelete
  26. Very informative post, especially for people who are just getting into this topic.
    Orthopedic Surgeon in Malakpet

    ReplyDelete
  27. Clear and practical example — helped me easily calculate on-hand stock in Dynamics AX.
    email marketing in visakhapatnam

    ReplyDelete
  28. Very Informative blog thank you for sharing. Keep sharing.
    whatsapp marketing in visakhapatnam

    ReplyDelete
  29. Awesome post with lots of data and I have bookmarked this page for my reference. Share more ideas frequently
    email marketing in visakhapatnam

    ReplyDelete
  30. Clear and practical example — helped me easily calculate on-hand stock in Dynamics AX.
    whatsapp marketing in visakhapatnam

    ReplyDelete
  31. Awesome post with lots of data and I have bookmarked this page for my reference.
    social media marketing services in Visakhapatnam

    ReplyDelete
  32. Great post! I found the information very useful and easy to understand. The practical insights and detailed explanation make this a valuable resource for readers. Thanks for sharing such informative content on AXHelper. Looking forward to more helpful articles!

    IIQA NAAC accreditation consultancy services for colleges and universities including documentation and accreditation process support.

    naac accreditation consultancy

    ReplyDelete

Give me the commetns and solutions

Service class to get the selected record and deleted matching records and refresh the form data source in D365 F&O

 [DataContractAttribute] class ABCUserProfilesBulkDeleteContract {         UserId userId;     [DataMemberAttribute('UserId')]     pu...