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

Copy Markup charges while posting purchase invoice using X++

 Copy Markup charges while posting purchase invoice using X++ Class: Important: Code logic is just for Reference.  New class => Duplicate...