Hi All,
I configured a workflow thats work correct at start.
After that i changed something in permissions regarding Sales Header table (36) so that a USER can only see Sales Headers with Salesperson Code = XXX. With XXX is Salesperson Code for a this particular user .
When the user opens the sales headers List page he only sees his orders. So this is ok. But when he opens the detail page and from there he does a 'Approval request' there is an error in Code unit 1501 Workflow management: This error tells me that there are problems with as security filter and that records out side this filter can not be used.
The error shows in the function below.
Can this be a BUG?
I only want an approval of an order i just succesfully opened. How can that give an permission error? I think the code also loops trough soem order sales orders?
Any help is welcome,
Thanks Patrick
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
EvaluateConditionOnTable(SourceRecordId : RecordID;TableId : Integer;TempBlob : Record TempBlob) : Boolean
RecRef.OPEN(TableId);
IF NOT RequestPageParametersHelper.ConvertParametersToFilters(RecRef,TempBlob) THEN
EXIT(TRUE);
IF RecRef.FINDSET THEN
REPEAT
IF RecRef.RECORDID = SourceRecordId THEN
EXIT(TRUE);
UNTIL RecRef.NEXT = 0;
EXIT(FALSE);
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
*This post is locked for comments