Pages

Tuesday, July 14, 2020

Delete after journal posting (Inventory journal)

Journals are temporary by nature, they even have a parameter to delete lines automatically after posting.  There is no out-of-the-box process to prevent their deletion.   You can always see the status of registered inventory on the Inventory Transactions screen.  

What business need is met by keeping posted arrival journals in the system?  As previously mentioned, preventing the deletion of posted journals would require an extension, but not XDS, you would need to put additional logic on the delete action button to check if the journal is posted or not.  If you did this, I would make a new parameter "allow deletion of posted journals" on the journal names setup and also validate against that flag.  This would allow you to let some journal types be deleted and others not, and would allow you to turn the functionality off from the front end if something changes in the future. 




No comments:

Post a Comment