if(_Release.PGrpApplicable == NoYes::Yes)
{
select workflowtrackingstatustable
where workflowtrackingstatustable .ContextRecId == _Release.RecId
&& workflowtrackingstatustable.C ontextTableId == _Release.tableid;
select workflowtrackingtable where workflowtrackingtable.Workflo wTrackingStatusTable == workflowtrackingstatustable.Re cid
&& workflowtrackingtable.Name == Parameters.Level1//'Step 1'
&& workflowtrackingtable.Tracking Type == WorkflowTrackingType::Completi on;
// ITLTLIndentReportTmp.ElementId = workflowtrackingtable.ElementI d;
select workflowtrackingtableINS where workflowtrackingtableINS.Eleme ntId == workflowtrackingtable.ElementI d
// && workflowtrackingtableINS.Workf lowStepTable == workflowtrackingtable.Workflow StepTable
&& workflowtrackingtableINS.Track ingContext == workflowtrackingcontext::WorkI tem
&& workflowtrackingtableINS.Track ingType == WorkflowTrackingType::Approval
//&& workflowtrackingtableINS.Workf lowElementTable == workflowtrackingtable.Workflow ElementTable
&& workflowtrackingtableINS.Workf lowTrackingStatusTable == workflowtrackingstatustable.Re cId;
if(workflowtrackingtableINS)
{
ReleaseTemp.CreatredBy2 = dirPartyTable::findRec(DirPer sonUser::find(workflowtracking tableINS.User).PersonParty). Name;
ReleaseTemp.ReceiptDate1 = any2date(workflowtrackingtable INS.createdDateTime);
}
}
No comments:
Post a Comment