Purchase Requisition
if(PurchReqWFStatusTransitionHelper::setPurchReqTable2InReview(purchReqTable.RecId))
{
Workflow::activateFromWorkflowType(‘PurchReqReview’,
purchReqTable.RecId,
‘Auto-Submitted into workflow’,
false,
curUserId() );
}
PurchReqWFStatusTransitionHelper::setPurchReqTable2Approved(purchReqTable.RecId,false);
ttsCommit;
info(purchReqTable.PurchReqId);
}
No comments:
Post a Comment