Contact Us:  855-335-6442  |  sales@bezl.io

SaberLogic is Now Bezlio!

We've taken everything we learned during our consulting time and boiled it down into a new mobile ERP platform called Bezlio. We are still developing mobile ERP solutions using Bezlio, but we also have a trusted partner network for any services listed here that we no longer offer. Please reach out to us for more information!

855.335.6442 | sales@bezl.io

Restricting Epicor Users to Post Batches With Credit Memos

If you would like to restrict at a user level which users are allowed to post credit memos a very simple BPM can be established to control this. This is an example of the many practical ways simple BPMs can be utilized within Epicor® to modify system behavior. 

 

Installation Steps

1. Establish a new BPM on the InvcGrp.PrePostInvoices method at Pre-Processing.



2. Name it whatever you like and give it a group name.



3. Add a new action to synchronously execute 4GL code with the following code:

find first ttInvcGrp no-lock.
find first UserFile where UserFile.DcdUserID = DCD-USERID no-lock.

for each InvcHead where InvcHead.Company = ttInvcGrp.Company and InvcHead.GroupID = ttInvcGrp.GroupID and InvcHead.CreditMemo = true no-lock:
if UserFile.CheckBox01 = False then
{lib/PublishEx.i &ExMsg = "'This user is not authorized to post credit memos.'"}
end.


This snippet will check for a CheckBox01 field equal to 'true' in User Maintenance, but you can tweak that "find first" statement / the "if" statement to do lookup whatever you prefer.

About the Author

Copyright © 2002-2019 Bezlio  |  Privacy Policy  |  Terms & Conditions  |  Site Map

Epicor® is a registered trademark of Epicor Software Corporation.
VISUAL is a registered trademark of Infor.