Description |
This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.
[HDTN-243653 - AP clearing report as of 1/31/2020 does not Match GL|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-243653]
Issue:
* Item was originally set as 'Inventory'.
* After some time, the item type is changed to 'Non-Inventory'.
!pastedImage_d132180_0.jpg!
* and then the stock was rebuilt. !pastedImage_d132180_1.jpg!
** The first part of the stock rebuild is to clear the GL entries for all the transactions and items it will rebuild.
** The stock rebuild sp will call uspICCreateReceiptGLEntries to re-create the GL entries for the IR.
** However, uspICCreateReceiptGLEntries will only create the GL entries for 'Inventory' types. All 'non-inventory' types are not included.
** Thus, when the stock rebuilt was finished, the deleted GL entries for the non-inventory types are deleted but never regenerated.
Acceptance: User should not be able to change item type when item already has transactions
|