Friday, January 24, 2014

Workflow Event hnadler in class of SalesCreditLimitApprovalEvent Handler Method : Returned

//Workflow Event hnadler in class of SalesCreditLimitApprovalEvent Handler
Method : Returned

public void returned(WorkflowElementEventArgs _workflowElementEventArgs)
{
SalesTable SalesTable;
ttsbegin;
select forupdate SalesTable
where SalesTable.RecId ==_workflowElementEventArgs.parmWorkflowContext().parmRecId();
SalesTable.CreditLimitApprovalStatus = SalesCreditLimitApprovalStatus::Rejected;
SalesTable.update();
ttscommit;
}

No comments:

Post a Comment

Dynamically setting entire Form security access through Extension in D365FO

/// <summary> /// To check if user can get access to the Parameter form /// </summary> class SAN_ParamFormsAccessCtrl {     prot...