Dear Experts, I am trying to pass auto journal entry with inventory. While journal entry is getting passed, inventory allocation is not getting affected. Please refer to the attached code and screen shot and let me know where I am going wrong. Thanks for your help in advance.
Dear All, I was able to fix the issue. I should be using inventoryallocations instead of inventory entries. Here's the updated code.