Access Rights - Read for GRN Record Not Updating
SoftIQ Technologies Ltd.
3-29-17
My client is trying to achieve a scenario where a certain User can OK a GRN but not be able to create a new GRN. I have tried to achieve this by using Access Rights Register Goods Receipts - Read which is working ok as User is not able to create a new GRN but when trying to Ok GRN nothing happens.


In the PUVcRecAction.hal I have put the following code. Where could I be going wrong?


if (transf) then begin
if (UserCanAction("PUOK",true)==false) and (Accessrw.AccLevel!=kAccessLevelReadOnly == true) then begin //JNM - Added - 2017-03-20 --- Cust.

RecordCheckError(1274,StringFromStringSet(3,"PUOK"),-1,"SerNr");
res = -1;
goto L99PUVcRecordCheck;
end;
end;


Is there somewhere kAccessLevelReadOnly disables updating the Record?

/John Maina [2017/03/29 17:00 PM]
------------------------------------------------------------------------
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Paul Timms
Hi Yavuz Thanks for the information. I'm not sure what you mean by "restarting presence or lookup". Is that something we can do? Thanks Paul...
12:14 4 July 2025
Arzu Erdogdu
Hello! You can mark it as closed as option. If document is connected with other documents you can not delete it so you will not be able to delete PO, as you will not be able to remove Goods receipt...
09:29 13 Jun 2025