Commit 2008bb61 authored by jshaikh's avatar jshaikh

Added Workflow Component

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@177963 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 7e0b1bcb
==============================================================INDENT REQUISITION===========================================================
---------------------------------------------------------------TRANSETUP-------------------------------------------------------------------
update transetup set WORKFLOW_OPT = 4, WRKFLW_INIT= 'INDENTREQWF' where TRAN_WINDOW ='w_indent_req';
----------------------------------------------------------------WF_ROLE--------------------------------------------------------------------
Insert into WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
values ('INDRQ_INT','D','S','Initiator of Indent Requisition Workflow','BASE','Initial',null,'base@baseinfo.com',sysdate,'BASE','BASE','E',
'SELECT EMP_CODE FROM EMPLOYEE WHERE EMP_CODE = (select emp_code from users where code = ? )');
Insert into WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
values ('INDRQ_APR1','S','S','First Level Approver of Indent Requisition Workflow','C12210','SignTran',null,'base@baseinfo.com',sysdate,
'BASE','BASE','E',null);
INSERT INTO WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
VALUES ('INDRQ_APR2','S','S','Second Level Approver of Indent Requisition Workflow','E99902','SignTran',NULL,'base@baseinfo.com',sysdate,
'BASE','BASE','E',null);
INSERT INTO WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
VALUES ('INDRQ_APR3','S','S','Third Level Approver of Indent Requisition Workflow','CV0004','SignTran',NULL,'base@baseinfo.com',sysdate,
'BASE','BASE','E',null);
INSERT INTO WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
VALUES ('INDRQ_APR4','S','S','Fourth Level Approver of Indent Requisition Workflow','VI00000001','SignTran',NULL,'base@baseinfo.com',sysdate,
'BASE','BASE','E',null);
INSERT INTO WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
VALUES ('INDRQ_APR5','S','S','Fifth Level Approver of Indent Requisition Workflow','EA001','SignTran',NULL,'base@baseinfo.com',sysdate,
'BASE','BASE','E',null);
------------------------------------------------------------WF_ROLE_USERS------------------------------------------------------------------
Insert into WF_ROLE_USERS (ROLE_CODE,USERID,CHG_DATE,CHG_USER,CHG_TERM) values ('INDRQ_APR1','C12210',sysdate,'BASE','BASE');
Insert into WF_ROLE_USERS (ROLE_CODE,USERID,CHG_DATE,CHG_USER,CHG_TERM) values ('INDRQ_APR2','E99902',sysdate,'BASE','BASE');
Insert into WF_ROLE_USERS (ROLE_CODE,USERID,CHG_DATE,CHG_USER,CHG_TERM) values ('INDRQ_APR3','CV0004',sysdate,'BASE','BASE');
Insert into WF_ROLE_USERS (ROLE_CODE,USERID,CHG_DATE,CHG_USER,CHG_TERM) values ('INDRQ_APR4','VI00000001',sysdate,'BASE','BASE');
Insert into WF_ROLE_USERS (ROLE_CODE,USERID,CHG_DATE,CHG_USER,CHG_TERM) values ('INDRQ_APR5','EA001',sysdate,'BASE','BASE');
--------------------------------------------------------------MAIL_FORMAT------------------------------------------------------------------
Insert into MAIL_FORMAT
(FORMAT_CODE,FORMAT_TYPE,SEND_TO,COPY_TO,BLIND_COPY,SUBJECT,BODY_TEXT,BODY_COMP,PRIORITY,DELIVERY_REPORT,RETURN_RECEIPT,MAIL_APPLICATION,
MAIL_SERVER,MAIL_BOX,MAIL_ID,ATTACH_TYPE,ATTACH_TEXT,MAIL_GENERATION,WIN_NAME,COND_METHOD,FN_NAME,MAIL_DESCR,WINNAME,EMAIL_EXPR)
values ('INDREQ_APRVL','T','[(E)ROLE_CODE]',null,null,'Purchase requisition approval <Detail1.ind_no> for date <Detail1.ind_date>
Project Code <Detail1.proj_code>',
'Dear Sir/Madam,
This is to inform you that
Transaction No. <Detail1.ind_no>
Item <Detail2.item_descr>
Quantity <Detail2.quantity>
Required date <Detail2.req_date>
Project code <Detail1.proj_code>
Remarks <Detail1.remarks>
Delivery site <Detail1.site_descr>
is ready to approve',1,1,1,1,'M',null,null,null,null,null,null,null,
'w_indent_req',null,null,null,null);
Insert into MAIL_FORMAT
(FORMAT_CODE,FORMAT_TYPE,SEND_TO,COPY_TO,BLIND_COPY,SUBJECT,BODY_TEXT,BODY_COMP,PRIORITY,DELIVERY_REPORT,RETURN_RECEIPT,MAIL_APPLICATION,
MAIL_SERVER,MAIL_BOX,MAIL_ID,ATTACH_TYPE,ATTACH_TEXT,MAIL_GENERATION,WIN_NAME,COND_METHOD,FN_NAME,MAIL_DESCR,WINNAME,EMAIL_EXPR)
values ('INDREQ_APRV_CONF','T','[(E)ROLE_CODE]',null,null,'Purchase requisition <Detail1.ind_no> for date <Detail1.ind_date>
Project Code <Detail1.proj_code> has been approved',
'Dear Sir/Madam,
This is to inform you that
Transaction No. <Detail1.ind_no>
Item <Detail2.item_descr>
Quantity <Detail2.quantity>
Required date <Detail2.req_date>
Project code <Detail1.proj_code>
Remarks <Detail1.remarks>
Delivery site <Detail1.site_descr>
has been approved',1,1,1,1,'M',null,null,null,null,null,null,null,
'w_indent_req',null,null,null,null);
INSERT INTO MAIL_FORMAT
(FORMAT_CODE,FORMAT_TYPE,SEND_TO,COPY_TO,BLIND_COPY,SUBJECT,BODY_TEXT,BODY_COMP,PRIORITY,DELIVERY_REPORT,RETURN_RECEIPT,MAIL_APPLICATION,
MAIL_SERVER,MAIL_BOX,MAIL_ID,ATTACH_TYPE,ATTACH_TEXT,MAIL_GENERATION,WIN_NAME,COND_METHOD,FN_NAME,MAIL_DESCR,WINNAME,EMAIL_EXPR)
VALUES ('INDREQ_APRV_REJ','T','[(E)ROLE_CODE]',NULL,NULL,'Purchase requisition <Detail1.ind_no> for date <Detail1.ind_date>
Project Code <Detail1.proj_code> has been rejected',
'Dear Sir/Madam,
This is to inform you that
Transaction No. <Detail1.ind_no>
Item <Detail2.item_descr>
Quantity <Detail2.quantity>
Required date <Detail2.req_date>
Project code <Detail1.proj_code>
Remarks <Detail1.remarks>
Delivery site <Detail1.site_descr>
has been rejected',1,1,1,1,'M',null,null,null,null,null,null,null,
'w_indent_req',null,null,null,null);
------------------------------------------------------------obj_actions-------------------------------------------------------------------
insert into obj_actions
(OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,ACTION_TYPE,CHG_DATE,CHG_TERM,CHG_USER)
values ('indent_req',6,'approve.gif','Submit','wf_approve','a','C','Submit','1','2','U',sysdate,'BASE','BASE');
------------------------------------------------------------system_events------------------------------------------------------------------
insert into system_events
(OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME)
values ('indent_req','wf_approve','1','prcm_default_ejb','0',sysdate,'BASE','BASE','2','EJB','IndentReqConf');
---------------------------------------------------------system_event_services-------------------------------------------------------------
Insert into system_event_services
(SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,
CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION)
values ('prcm_default_ejb','Action To confirm indent requisition','http://localhost:9090/axis/services/ValidatorService','Base','confirm',
'String','S',null,null,sysdate,'base','base',null,null,null);
----------------------------------------------------system_service_args---------------------------------------------------------------------
Insert into system_service_args
(SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('prcm_default_ejb',1,'COMPONENT_TYPE','I','Component Type','S',null,sysdate,'BASE','BASE','EJB');
Insert into system_service_args
(SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('prcm_default_ejb',2,'COMPONENT_NAME','I','Component Name','S',null,sysdate,'BASE','BASE',null);
Insert into system_service_args
(SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('prcm_default_ejb',3,'<tran_id>','I','tranid','B.String',null,sysdate,'BASE','BASE',null);
Insert into system_service_args
(SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('prcm_default_ejb',4,'XTRA_PARAMS','I','Extra Arguments','S',null,sysdate,'BASE','BASE',null);
Insert into system_service_args
(SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('prcm_default_ejb',5,'FORCED_FLAG','I','Forced Flag','S',null,sysdate,'BASE','BASE',null);
=============================================================================================================================================
============================================================PURCHASE ORDER===================================================================
---------------------------------------------------------------TRANSETUP-------------------------------------------------------------------
update transetup set WORKFLOW_OPT = 4, WRKFLW_INIT= 'PORDERAPRV' where TRAN_WINDOW ='w_porder';
----------------------------------------------------------------WF_ROLE--------------------------------------------------------------------
Insert into WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
values ('POEXEC_INT','D','S','Initiator of Purchase Order Workflow','BASE','Initial',null,'base@baseinfo.com',sysdate,'BASE','BASE','E',
'SELECT EMP_CODE FROM EMPLOYEE WHERE EMP_CODE = (select emp_code from users where code = ? )');
Insert into WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
values ('PO_FINEXEC','S','S','First Level Approver of Purchase Order Workflow','C12210','SignTran',null,'base@baseinfo.com',sysdate,
'BASE','BASE','E',null);
INSERT INTO WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
VALUES ('PO_SCMHEAD','S','S','Second Level Approver of Purchase Order Workflow','E99902','SignTran',NULL,'base@baseinfo.com',sysdate,
'BASE','BASE','E',null);
INSERT INTO WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
VALUES ('PO_PJ_APR','S','S','Third Level Approver of Purchase Order Workflow','CV0004','SignTran',NULL,'base@baseinfo.com',sysdate,
'BASE','BASE','E',null);
------------------------------------------------------------WF_ROLE_USERS------------------------------------------------------------------
Insert into WF_ROLE_USERS (ROLE_CODE,USERID,CHG_DATE,CHG_USER,CHG_TERM) values ('PO_FINEXEC','C12210',sysdate,'BASE','BASE');
Insert into WF_ROLE_USERS (ROLE_CODE,USERID,CHG_DATE,CHG_USER,CHG_TERM) values ('PO_SCMHEAD','E99902',sysdate,'BASE','BASE');
Insert into WF_ROLE_USERS (ROLE_CODE,USERID,CHG_DATE,CHG_USER,CHG_TERM) values ('PO_PJ_APR','CV0004',sysdate,'BASE','BASE');
--------------------------------------------------------------MAIL_FORMAT------------------------------------------------------------------
Insert into MAIL_FORMAT
(FORMAT_CODE,FORMAT_TYPE,SEND_TO,COPY_TO,BLIND_COPY,SUBJECT,BODY_TEXT,BODY_COMP,PRIORITY,DELIVERY_REPORT,RETURN_RECEIPT,MAIL_APPLICATION,
MAIL_SERVER,MAIL_BOX,MAIL_ID,ATTACH_TYPE,ATTACH_TEXT,MAIL_GENERATION,WIN_NAME,COND_METHOD,FN_NAME,MAIL_DESCR,WINNAME,EMAIL_EXPR)
values ('PORD_APRV','T','[(E)ROLE_CODE]',null,null,'Purchase order approval <Detail1.purc_order> for date <Detail1.ord_date>
Project Code <Detail1.proj_code>',
'Dear Sir/Madam,
This is to inform you that
Transaction No. <Detail1.purc_order>
Item <Detail2.item_descr>
Quantity <Detail2.quantity>
Vendor <Detail1.supp_name>
Require date <Detail2.req_date>
Project code <Detail1.proj_code>
Remarks <Detail1.remarks>
is ready to approve',1,1,1,1,'M',null,null,null,null,null,null,null,
'w_porder',null,null,null,null);
Insert into MAIL_FORMAT
(FORMAT_CODE,FORMAT_TYPE,SEND_TO,COPY_TO,BLIND_COPY,SUBJECT,BODY_TEXT,BODY_COMP,PRIORITY,DELIVERY_REPORT,RETURN_RECEIPT,MAIL_APPLICATION,
MAIL_SERVER,MAIL_BOX,MAIL_ID,ATTACH_TYPE,ATTACH_TEXT,MAIL_GENERATION,WIN_NAME,COND_METHOD,FN_NAME,MAIL_DESCR,WINNAME,EMAIL_EXPR)
values ('PORD_APRV_CONF','T','[(E)ROLE_CODE]',null,null,'Purchase order <Detail1.ind_no> for date <Detail1.ind_date>
Project Code <Detail1.proj_code> has been approved',
'Dear Sir/Madam,
This is to inform you that
Transaction No. <Detail1.purc_order>
Item <Detail2.item_descr>
Quantity <Detail2.quantity>
Vendor <Detail1.supp_name>
Require date <Detail2.req_date>
Project code <Detail1.proj_code>
Remarks <Detail1.remarks>
Delivery site <Detail1.site_descr>
has been approved',1,1,1,1,'M',null,null,null,null,null,null,null,
'w_porder',null,null,null,null);
INSERT INTO MAIL_FORMAT
(FORMAT_CODE,FORMAT_TYPE,SEND_TO,COPY_TO,BLIND_COPY,SUBJECT,BODY_TEXT,BODY_COMP,PRIORITY,DELIVERY_REPORT,RETURN_RECEIPT,MAIL_APPLICATION,
MAIL_SERVER,MAIL_BOX,MAIL_ID,ATTACH_TYPE,ATTACH_TEXT,MAIL_GENERATION,WIN_NAME,COND_METHOD,FN_NAME,MAIL_DESCR,WINNAME,EMAIL_EXPR)
VALUES ('PORD_APRV_REJ','T','[(E)ROLE_CODE]',NULL,NULL,'Purchase order <Detail1.ind_no> for date <Detail1.ind_date>
Project Code <Detail1.proj_code> has been rejected',
'Dear Sir/Madam,
This is to inform you that
Transaction No. <Detail1.purc_order>
Item <Detail2.item_descr>
Quantity <Detail2.quantity>
Vendor <Detail1.supp_name>
Require date <Detail2.req_date>
Project code <Detail1.proj_code>
Remarks <Detail1.remarks>
Delivery site <Detail1.site_descr>
has been rejected',1,1,1,1,'M',null,null,null,null,null,null,null,
'w_porder',null,null,null,null);
------------------------------------------------------------obj_actions-------------------------------------------------------------------
insert into obj_actions
(OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,ACTION_TYPE,CHG_DATE,CHG_TERM,CHG_USER)
values ('porder',6,'approve.gif','Submit','wf_approve','a','C','Submit','1','2','U',sysdate,'BASE','BASE');
------------------------------------------------------------system_events------------------------------------------------------------------
insert into system_events
(OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME)
values ('porder','wf_approve','1','prcm_def_ejb','0',sysdate,'BASE','BASE','2','EJB','PorderConf');
---------------------------------------------------------system_event_services-------------------------------------------------------------
Insert into system_event_services
(SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,
CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION)
values ('prcm_def_ejb','Action To confirm purchase order','http://localhost:9090/axis/services/ValidatorService','Base','confirm',
'String','S',null,null,sysdate,'base','base',null,null,null);
----------------------------------------------------system_service_args---------------------------------------------------------------------
Insert into system_service_args
(SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('prcm_def_ejb',1,'COMPONENT_TYPE','I','Component Type','S',null,sysdate,'BASE','BASE','EJB');
Insert into system_service_args
(SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('prcm_def_ejb',2,'COMPONENT_NAME','I','Component Name','S',null,sysdate,'BASE','BASE',null);
Insert into system_service_args
(SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('prcm_def_ejb',3,'<tran_id>','I','tranid','B.String',null,sysdate,'BASE','BASE',null);
Insert into system_service_args
(SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('prcm_def_ejb',4,'XTRA_PARAMS','I','Extra Arguments','S',null,sysdate,'BASE','BASE',null);
Insert into system_service_args
(SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('prcm_def_ejb',5,'FORCED_FLAG','I','Forced Flag','S',null,sysdate,'BASE','BASE',null);
=============================================================================================================================================
======================================================CONSUMPTION POST/ISSUE=================================================================
----------------------------------------------------------TRANSETUP------------------------------------------------------------------------
update transetup set WORKFLOW_OPT = 4, WRKFLW_INIT= 'CONSPOSTWF' where TRAN_WINDOW ='w_consume_issue';
----------------------------------------------------------------WF_ROLE--------------------------------------------------------------------
Insert into WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
values ('CONISS_INT','D','S','Initiator of Consumption Issue Workflow','BASE','Initial',null,'base@baseinfo.com',sysdate,'BASE','BASE','E',
'SELECT EMP_CODE FROM EMPLOYEE WHERE EMP_CODE = (select emp_code from users where code = ? )');
Insert into WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
values ('CONISS_APR','S','S','Approver of Consumption Issue Workflow','EA001','SignTran',null,'base@baseinfo.com',sysdate,
'BASE','BASE','E',null);
------------------------------------------------------------WF_ROLE_USERS------------------------------------------------------------------
Insert into WF_ROLE_USERS (ROLE_CODE,USERID,CHG_DATE,CHG_USER,CHG_TERM) values ('CONISS_APR','EA001',sysdate,'BASE','BASE');
-------------------------------------------------------------MAIL_FORMAT-------------------------------------------------------------------
Insert into MAIL_FORMAT
(FORMAT_CODE,FORMAT_TYPE,SEND_TO,COPY_TO,BLIND_COPY,SUBJECT,BODY_TEXT,BODY_COMP,PRIORITY,DELIVERY_REPORT,RETURN_RECEIPT,MAIL_APPLICATION,
MAIL_SERVER,MAIL_BOX,MAIL_ID,ATTACH_TYPE,ATTACH_TEXT,MAIL_GENERATION,WIN_NAME,COND_METHOD,FN_NAME,MAIL_DESCR,WINNAME,EMAIL_EXPR)
values ('CONISS_APRV','T','[(E)ROLE_CODE]',null,null,'Consumption issue approval mail <Detail1.cons_order> for date <Detail1.issue_date>',
'Dear Sir/Madam,
This is to inform you that
Transaction No. <Detail1.cons_order>
Item <Detail2.item_descr>
Quantity <Detail2.quantity>
Remarks <Detail1.remarks>
is ready to approve',1,1,1,1,'M',null,null,null,null,null,null,null,
'w_consume_issue',null,null,null,null);
Insert into MAIL_FORMAT
(FORMAT_CODE,FORMAT_TYPE,SEND_TO,COPY_TO,BLIND_COPY,SUBJECT,BODY_TEXT,BODY_COMP,PRIORITY,DELIVERY_REPORT,RETURN_RECEIPT,MAIL_APPLICATION,
MAIL_SERVER,MAIL_BOX,MAIL_ID,ATTACH_TYPE,ATTACH_TEXT,MAIL_GENERATION,WIN_NAME,COND_METHOD,FN_NAME,MAIL_DESCR,WINNAME,EMAIL_EXPR)
values ('CONISS_CONF','T','[(E)ROLE_CODE]',null,null,'Consumption issue <Detail1.cons_order> for date <Detail1.issue_date>
is approved',
'Dear Sir/Madam,
This is to inform you that
Transaction No. <Detail1.cons_order>
Item <Detail2.item_descr>
Quantity <Detail2.quantity>
Remarks <Detail1.remarks>
Delivery site <Detail1.site_descr>
is approved',1,1,1,1,'M',null,null,null,null,null,null,null,
'w_consume_issue',null,null,null,null);
INSERT INTO MAIL_FORMAT
(FORMAT_CODE,FORMAT_TYPE,SEND_TO,COPY_TO,BLIND_COPY,SUBJECT,BODY_TEXT,BODY_COMP,PRIORITY,DELIVERY_REPORT,RETURN_RECEIPT,MAIL_APPLICATION,
MAIL_SERVER,MAIL_BOX,MAIL_ID,ATTACH_TYPE,ATTACH_TEXT,MAIL_GENERATION,WIN_NAME,COND_METHOD,FN_NAME,MAIL_DESCR,WINNAME,EMAIL_EXPR)
VALUES ('CONISS_REJ','T','[(E)ROLE_CODE]',NULL,NULL,'Consumption issue <Detail1.cons_order> for date <Detail1.issue_date>
is rejected',
'Dear Sir/Madam,
This is to inform you that
Transaction No. <Detail1.cons_order>
Item <Detail2.item_descr>
Quantity <Detail2.quantity>
Remarks <Detail1.remarks>
Delivery site <Detail1.site_descr>
is rejected',1,1,1,1,'M',null,null,null,null,null,null,null,
'w_consume_issue',null,null,null,null);
----------------------------------------------------------obj_actions------------------------------------------------------------------------
insert into obj_actions
(OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,ACTION_TYPE,CHG_DATE,CHG_TERM,CHG_USER)
values ('consume_issue',6,'approve.gif','Submit','wf_approve','a','C','Submit','1','2','U',sysdate,'BASE','BASE');
=============================================================================================================================================
===============================================================RELEASE ORDER=================================================================
---------------------------------------------------------------TRANSETUP-------------------------------------------------------------------
update transetup set WORKFLOW_OPT = 4, WRKFLW_INIT= 'ROSALESORDERWF' where TRAN_WINDOW ='w_sorder';
----------------------------------------------------------------WF_ROLE--------------------------------------------------------------------
Insert into WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
values ('RO_SO_INIT','D','S','Initiator of Release Order Workflow','BASE','Initial',null,'base@baseinfo.com',sysdate,'BASE','BASE','E',
'SELECT EMP_CODE FROM EMPLOYEE WHERE EMP_CODE = (select emp_code from users where code = ? )');
Insert into WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
values ('RO_SO_APR1','S','S','First Level Approver of Release Order Workflow','C12210','SignTran',null,'base@baseinfo.com',sysdate,
'BASE','BASE','E',null);
INSERT INTO WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
VALUES ('RO_SO_APR2','S','S','Second Level Approver of Release Order Workflow','E99902','SignTran',NULL,'base@baseinfo.com',sysdate,
'BASE','BASE','E',null);
INSERT INTO WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
VALUES ('RO_SO_APR3','S','S','Second Level Approver of Release Order Workflow','E99902','SignTran',NULL,'base@baseinfo.com',sysdate,
'BASE','BASE','E',null);
------------------------------------------------------------WF_ROLE_USERS------------------------------------------------------------------
Insert into WF_ROLE_USERS (ROLE_CODE,USERID,CHG_DATE,CHG_USER,CHG_TERM) values ('RO_SO_APR1','C12210',sysdate,'BASE','BASE');
Insert into WF_ROLE_USERS (ROLE_CODE,USERID,CHG_DATE,CHG_USER,CHG_TERM) values ('RO_SO_APR2','E99902',sysdate,'BASE','BASE');
Insert into WF_ROLE_USERS (ROLE_CODE,USERID,CHG_DATE,CHG_USER,CHG_TERM) values ('RO_SO_APR3','E99902',sysdate,'BASE','BASE');
--------------------------------------------------------------MAIL_FORMAT------------------------------------------------------------------
Insert into MAIL_FORMAT
(FORMAT_CODE,FORMAT_TYPE,SEND_TO,COPY_TO,BLIND_COPY,SUBJECT,BODY_TEXT,BODY_COMP,PRIORITY,DELIVERY_REPORT,RETURN_RECEIPT,MAIL_APPLICATION,
MAIL_SERVER,MAIL_BOX,MAIL_ID,ATTACH_TYPE,ATTACH_TEXT,MAIL_GENERATION,WIN_NAME,COND_METHOD,FN_NAME,MAIL_DESCR,WINNAME,EMAIL_EXPR)
values ('RO_SORD_APRV','T','[(E)ROLE_CODE]',null,null,'Release order approval <Detail1.sale_order> for date <Detail1.order_date>',
'Dear Sir/Madam,
This is to inform you that
Release Order No. <Detail1.sale_order>
RO Dated <Detail1.order_date>
Item <Detail2.item_descr>
Billing Name <Detail1.cust_name__bil>
Quantity <Detail2.quantity>
Required date <Detail2.req_date>
Project code <Detail1.proj_code>
Remarks <Detail1.remarks>
Delivery site <Detail2.site_descr>
is ready to approve',1,1,1,1,'M',null,null,null,null,null,null,null,
'w_sorder',null,null,null,null);
Insert into MAIL_FORMAT
(FORMAT_CODE,FORMAT_TYPE,SEND_TO,COPY_TO,BLIND_COPY,SUBJECT,BODY_TEXT,BODY_COMP,PRIORITY,DELIVERY_REPORT,RETURN_RECEIPT,MAIL_APPLICATION,
MAIL_SERVER,MAIL_BOX,MAIL_ID,ATTACH_TYPE,ATTACH_TEXT,MAIL_GENERATION,WIN_NAME,COND_METHOD,FN_NAME,MAIL_DESCR,WINNAME,EMAIL_EXPR)
values ('ROSORD_CONF','T','[(E)ROLE_CODE]',null,null,'Release order <Detail1.sale_order> for date <Detail1.order_date>
is approved',
'Dear Sir/Madam,
This is to inform you that
Release Order No. <Detail1.sale_order>
RO Dated <Detail1.order_date>
Item <Detail2.item_descr>
Billing Name <Detail1.cust_name__bil>
Quantity <Detail2.quantity>
Required date <Detail2.req_date>
Project code <Detail1.proj_code>
Remarks <Detail1.remarks>
Delivery site <Detail2.site_descr>
is approved',1,1,1,1,'M',null,null,null,null,null,null,null,
'w_sorder',null,null,null,null);
INSERT INTO MAIL_FORMAT
(FORMAT_CODE,FORMAT_TYPE,SEND_TO,COPY_TO,BLIND_COPY,SUBJECT,BODY_TEXT,BODY_COMP,PRIORITY,DELIVERY_REPORT,RETURN_RECEIPT,MAIL_APPLICATION,
MAIL_SERVER,MAIL_BOX,MAIL_ID,ATTACH_TYPE,ATTACH_TEXT,MAIL_GENERATION,WIN_NAME,COND_METHOD,FN_NAME,MAIL_DESCR,WINNAME,EMAIL_EXPR)
VALUES ('ROSORD_REJ','T','[(E)ROLE_CODE]',NULL,NULL,'Release order <Detail1.sale_order> for date <Detail1.order_date>
is rejected',
'Dear Sir/Madam,
This is to inform you that
Release Order No. <Detail1.sale_order>
RO Dated <Detail1.order_date>
Item <Detail2.item_descr>
Billing Name <Detail1.cust_name__bil>
Quantity <Detail2.quantity>
Required date <Detail2.req_date>
Project code <Detail1.proj_code>
Remarks <Detail1.remarks>
Delivery site <Detail2.site_descr>
is rejected',1,1,1,1,'M',null,null,null,null,null,null,null,
'w_sorder',null,null,null,null);
=============obj_actions=====================
insert into obj_actions
(OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,ACTION_TYPE,CHG_DATE,CHG_TERM,CHG_USER)
values ('sorder',6,'approve.gif','Submit','wf_approve','a','C','Submit','1','2','U',sysdate,'BASE','BASE');
=============system_events=====================
insert into system_events
(OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME)
values ('sorder','wf_approve','1','prcm_rosord_ejb','0',sysdate,'BASE','BASE','2','EJB','SorderConf');
=============system_event_services================
Insert into system_event_services
(SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,
CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION)
values ('prcm_rosord_ejb','Action To confirm sorder','http://localhost:9090/axis/services/ValidatorService','Base','confirm','String',
'S',null,null,sysdate,'base','base',null,null,null);
=============system_service_args================
Insert into system_service_args
(SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('prcm_rosord_ejb',1,'COMPONENT_TYPE','I','Component Type','S',null,sysdate,'BASE','BASE','EJB');
Insert into system_service_args
(SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('prcm_rosord_ejb',2,'COMPONENT_NAME','I','Component Name','S',null,sysdate,'BASE','BASE',null);
Insert into system_service_args
(SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('prcm_rosord_ejb',3,'<tran_id>','I','tranid','C.String',null,sysdate,'BASE','BASE',null);
Insert into system_service_args
(SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('prcm_rosord_ejb',4,'XTRA_PARAMS','I','Extra Arguments','S',null,sysdate,'BASE','BASE',null);
Insert into system_service_args
(SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('prcm_rosord_ejb',5,'FORCED_FLAG','I','Forced Flag','S',null,sysdate,'BASE','BASE',null);
=============================================================================================================================================
===========================================================RELEASE/SALES CONTRACT============================================================
---------------------------------------------------------------TRANSETUP-------------------------------------------------------------------
update transetup set WORKFLOW_OPT = 4, WRKFLW_INIT= 'SALESCONTRACTWF' where TRAN_WINDOW ='w_scontract';
----------------------------------------------------------------WF_ROLE--------------------------------------------------------------------
Insert into WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
values ('SCONT_INIT','D','S','Initiator of Release order Sales Contract Workflow','BASE','Initial',null,'base@baseinfo.com',sysdate,'BASE','BASE','E',
'SELECT EMP_CODE FROM EMPLOYEE WHERE EMP_CODE = (select emp_code from users where code = ? )');
Insert into WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
values ('SCONT_APR1','S','S','First Level Approver of Release order Sales Contract Workflow','C12210','SignTran',null,'base@baseinfo.com',sysdate,
'BASE','BASE','E',null);
INSERT INTO WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
VALUES ('SCONT_APR2','S','S','Second Level Approver of Release order Sales Contract Workflow','E99902','SignTran',NULL,'base@baseinfo.com',sysdate,
'BASE','BASE','E',null);
INSERT INTO WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
VALUES ('SCONT_APR3','S','S','Third Level Approver of Release order Sales Contract Workflow','CV0004','SignTran',NULL,'base@baseinfo.com',sysdate,
'BASE','BASE','E',null);
------------------------------------------------------------WF_ROLE_USERS------------------------------------------------------------------
Insert into WF_ROLE_USERS (ROLE_CODE,USERID,CHG_DATE,CHG_USER,CHG_TERM) values ('SCONT_APR1','C12210',sysdate,'BASE','BASE');
Insert into WF_ROLE_USERS (ROLE_CODE,USERID,CHG_DATE,CHG_USER,CHG_TERM) values ('SCONT_APR2','E99902',sysdate,'BASE','BASE');
Insert into WF_ROLE_USERS (ROLE_CODE,USERID,CHG_DATE,CHG_USER,CHG_TERM) values ('SCONT_APR3','CV0004',sysdate,'BASE','BASE');
-------------------------------------------------------------MAIL_FORMAT-------------------------------------------------------------------
Insert into MAIL_FORMAT
(FORMAT_CODE,FORMAT_TYPE,SEND_TO,COPY_TO,BLIND_COPY,SUBJECT,BODY_TEXT,BODY_COMP,PRIORITY,DELIVERY_REPORT,RETURN_RECEIPT,MAIL_APPLICATION,
MAIL_SERVER,MAIL_BOX,MAIL_ID,ATTACH_TYPE,ATTACH_TEXT,MAIL_GENERATION,WIN_NAME,COND_METHOD,FN_NAME,MAIL_DESCR,WINNAME,EMAIL_EXPR)
values ('SCONT_APRV','T','[(E)ROLE_CODE]',null,null,'Sales Contract Approval <Detail1.contract_no> for period <Detail1.contract_date>',
'Dear Sir/Madam,
This is to inform you that
Transaction No. <Detail1.contract_no>
Item <Detail2.item_descr>
Quantity <Detail2.quantity_batch>
Status date <Detail2.status_date>
Project code <Detail1.proj_code>
Remarks <Detail2.remarks>
is ready to approve',1,1,1,1,'M',null,null,null,null,null,null,null,
'w_scontract',null,null,null,null);
Insert into MAIL_FORMAT
(FORMAT_CODE,FORMAT_TYPE,SEND_TO,COPY_TO,BLIND_COPY,SUBJECT,BODY_TEXT,BODY_COMP,PRIORITY,DELIVERY_REPORT,RETURN_RECEIPT,MAIL_APPLICATION,
MAIL_SERVER,MAIL_BOX,MAIL_ID,ATTACH_TYPE,ATTACH_TEXT,MAIL_GENERATION,WIN_NAME,COND_METHOD,FN_NAME,MAIL_DESCR,WINNAME,EMAIL_EXPR)
values ('SCONT_APRV_CONF','T','[(E)ROLE_CODE]',null,null,'Sales Contract Approval <Detail1.contract_no> for period <Detail1.contract_date>
is approved',
'Dear Sir/Madam,
This is to inform you that
Transaction No. <Detail1.contract_no>
Item <Detail2.item_descr>
Quantity <Detail2.quantity_batch>
Status date <Detail2.status_date>
Project code <Detail1.proj_code>
Remarks <Detail2.remarks>
is approved',1,1,1,1,'M',null,null,null,null,null,null,null,
'w_scontract',null,null,null,null);
INSERT INTO MAIL_FORMAT
(FORMAT_CODE,FORMAT_TYPE,SEND_TO,COPY_TO,BLIND_COPY,SUBJECT,BODY_TEXT,BODY_COMP,PRIORITY,DELIVERY_REPORT,RETURN_RECEIPT,MAIL_APPLICATION,
MAIL_SERVER,MAIL_BOX,MAIL_ID,ATTACH_TYPE,ATTACH_TEXT,MAIL_GENERATION,WIN_NAME,COND_METHOD,FN_NAME,MAIL_DESCR,WINNAME,EMAIL_EXPR)
VALUES ('SCONT_APRV_REJ','T','[(E)ROLE_CODE]',NULL,NULL,'Sales Contract Approval <Detail1.contract_no> for period <Detail1.contract_date>
is rejected',
'Dear Sir/Madam,
This is to inform you that
Transaction No. <Detail1.contract_no>
Item <Detail2.item_descr>
Quantity <Detail2.quantity_batch>
Status date <Detail2.status_date>
Project code <Detail1.proj_code>
Remarks <Detail2.remarks>
is rejected',1,1,1,1,'M',null,null,null,null,null,null,null,
'w_scontract',null,null,null,null);
=============obj_actions=====================
insert into obj_actions
(OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,ACTION_TYPE,CHG_DATE,CHG_TERM,CHG_USER)
values ('scontract',6,'approve.gif','Submit','wf_approve','a','C','Submit','1','2','U',sysdate,'BASE','BASE');
==============================================================================================================================================
============================================================PLACEMENT & CARRIAGE(SO)==========================================================
---------------------------------------------------------------TRANSETUP-------------------------------------------------------------------
update transetup set WORKFLOW_OPT = 4, WRKFLW_INIT= 'PLCMNTNCARRGWF' where TRAN_WINDOW ='w_sorder';
----------------------------------------------------------------WF_ROLE--------------------------------------------------------------------
Insert into WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
values ('PLCRG_INT','D','S','Initiator of Placement & carriage SO Workflow','BASE','Initial',null,'base@baseinfo.com',sysdate,'BASE','BASE','E',
'SELECT EMP_CODE FROM EMPLOYEE WHERE EMP_CODE = (select emp_code from users where code = ? )');
Insert into WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
values ('PLCRG_APR1','S','S','First Level Approver of Placement & carriage SO Workflow','C12210','SignTran',null,'base@baseinfo.com',sysdate,
'BASE','BASE','E',null);
INSERT INTO WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
VALUES ('PLCRG_APR2','S','S','Second Level Approver of Placement & carriage SO Workflow','E99902','SignTran',NULL,'base@baseinfo.com',sysdate,
'BASE','BASE','E',null);
------------------------------------------------------------WF_ROLE_USERS------------------------------------------------------------------
Insert into WF_ROLE_USERS (ROLE_CODE,USERID,CHG_DATE,CHG_USER,CHG_TERM) values ('PLCRG_APR1','C12210',sysdate,'BASE','BASE');
Insert into WF_ROLE_USERS (ROLE_CODE,USERID,CHG_DATE,CHG_USER,CHG_TERM) values ('PLCRG_APR2','E99902',sysdate,'BASE','BASE');
--------------------------------------------------------------MAIL_FORMAT------------------------------------------------------------------
Insert into MAIL_FORMAT
(FORMAT_CODE,FORMAT_TYPE,SEND_TO,COPY_TO,BLIND_COPY,SUBJECT,BODY_TEXT,BODY_COMP,PRIORITY,DELIVERY_REPORT,RETURN_RECEIPT,MAIL_APPLICATION,
MAIL_SERVER,MAIL_BOX,MAIL_ID,ATTACH_TYPE,ATTACH_TEXT,MAIL_GENERATION,WIN_NAME,COND_METHOD,FN_NAME,MAIL_DESCR,WINNAME,EMAIL_EXPR)
values ('PLCRG_APRV','T','[(E)ROLE_CODE]',null,null,'Service order approval <Detail1.sale_order> for date <Detail1.order_date>',
'Dear Sir/Madam,
This is to inform you that
Broadcaster name <Detail1.sp_name>
Item <Detail2.item_descr>
Quantity <Detail2.quantity>
Required date <Detail2.req_date>
Project code <Detail1.proj_code>
Remarks <Detail1.remarks>
Delivery site <Detail1.site_descr>
is ready to approve',1,1,1,1,'M',null,null,null,null,null,null,null,
'w_sorder',null,null,null,null);
Insert into MAIL_FORMAT
(FORMAT_CODE,FORMAT_TYPE,SEND_TO,COPY_TO,BLIND_COPY,SUBJECT,BODY_TEXT,BODY_COMP,PRIORITY,DELIVERY_REPORT,RETURN_RECEIPT,MAIL_APPLICATION,
MAIL_SERVER,MAIL_BOX,MAIL_ID,ATTACH_TYPE,ATTACH_TEXT,MAIL_GENERATION,WIN_NAME,COND_METHOD,FN_NAME,MAIL_DESCR,WINNAME,EMAIL_EXPR)
values ('PLCRG_CONF','T','[(E)ROLE_CODE]',null,null,'Service order <Detail1.sale_order> for date <Detail1.order_date>
has been approved',
'Dear Sir/Madam,
This is to inform you that
Transaction No. <Detail1.ind_no>
Broadcaster name <Detail1.sp_name>
Item <Detail2.item_descr>
Quantity <Detail2.quantity>
Required date <Detail2.req_date>
Project code <Detail1.proj_code>
Remarks <Detail1.remarks>
Delivery site <Detail1.site_descr>
has been approved',1,1,1,1,'M',null,null,null,null,null,null,null,
'w_sorder',null,null,null,null);
INSERT INTO MAIL_FORMAT
(FORMAT_CODE,FORMAT_TYPE,SEND_TO,COPY_TO,BLIND_COPY,SUBJECT,BODY_TEXT,BODY_COMP,PRIORITY,DELIVERY_REPORT,RETURN_RECEIPT,MAIL_APPLICATION,
MAIL_SERVER,MAIL_BOX,MAIL_ID,ATTACH_TYPE,ATTACH_TEXT,MAIL_GENERATION,WIN_NAME,COND_METHOD,FN_NAME,MAIL_DESCR,WINNAME,EMAIL_EXPR)
VALUES ('PLCRG_REJ','T','[(E)ROLE_CODE]',NULL,NULL,'Service order <Detail1.sale_order> for date <Detail1.order_date>
has been rejected',
'Dear Sir/Madam,
This is to inform you that
Transaction No. <Detail1.ind_no>
Broadcaster name <Detail1.sp_name>
Item <Detail2.item_descr>
Quantity <Detail2.quantity>
Required date <Detail2.req_date>
Project code <Detail1.proj_code>
Remarks <Detail1.remarks>
Delivery site <Detail1.site_descr>
has been rejected',1,1,1,1,'M',null,null,null,null,null,null,null,
'w_sorder',null,null,null,null);
=============obj_actions=====================
insert into obj_actions
(OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,ACTION_TYPE,CHG_DATE,CHG_TERM,CHG_USER)
values ('sorder',6,'approve.gif','Submit','wf_approve','a','C','Submit','1','2','U',sysdate,'BASE','BASE');
=============system_events=====================
insert into system_events
(OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME)
values ('sorder','wf_approve','1','prcm_plcmnt_ejb','0',sysdate,'BASE','BASE','2','EJB','SorderConf');
=============system_event_services================
Insert into system_event_services
(SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,
CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION)
values ('prcm_plcmnt_ejb','Action To confirm sorder','http://localhost:9090/axis/services/ValidatorService','Base','confirm','String',
'S',null,null,sysdate,'base','base',null,null,null);
=============system_service_args================
Insert into system_service_args
(SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('prcm_plcmnt_ejb',1,'COMPONENT_TYPE','I','Component Type','S',null,sysdate,'BASE','BASE','EJB');
Insert into system_service_args
(SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('prcm_plcmnt_ejb',2,'COMPONENT_NAME','I','Component Name','S',null,sysdate,'BASE','BASE',null);
Insert into system_service_args
(SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('prcm_plcmnt_ejb',3,'<tran_id>','I','tranid','C.String',null,sysdate,'BASE','BASE',null);
Insert into system_service_args
(SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('prcm_plcmnt_ejb',4,'XTRA_PARAMS','I','Extra Arguments','S',null,sysdate,'BASE','BASE',null);
Insert into system_service_args
(SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('prcm_plcmnt_ejb',5,'FORCED_FLAG','I','Forced Flag','S',null,sysdate,'BASE','BASE',null);
=============================================================================================================================================
================================================================PURCHASE CONTRACT============================================================
---------------------------------------------------------------TRANSETUP-------------------------------------------------------------------
update transetup set WORKFLOW_OPT = 4, WRKFLW_INIT= 'PCONTRACTWF' where TRAN_WINDOW ='w_pcontract';
----------------------------------------------------------------WF_ROLE--------------------------------------------------------------------
Insert into WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
values ('PCONT_INIT','D','S','Initiator of Purchase Contract Workflow','BASE','Initial',null,'base@baseinfo.com',sysdate,'BASE','BASE','E',
'SELECT EMP_CODE FROM EMPLOYEE WHERE EMP_CODE = (select emp_code from users where code = ? )');
Insert into WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
values ('PCONT_APR1','S','S','First Level Approver of Purchase Contract Workflow','C12210','SignTran',null,'base@baseinfo.com',sysdate,
'BASE','BASE','E',null);
INSERT INTO WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
VALUES ('PCONT_APR2','S','S','Second Level Approver of Purchase Contract Workflow','E99902','SignTran',NULL,'base@baseinfo.com',sysdate,
'BASE','BASE','E',null);
INSERT INTO WF_ROLE
(ROLE_CODE,ROLE_TYPE,EVENT_CARR,DESCR,USER_ID,SUBJECT_STR,INCLUDE_DATA,EMAIL_ADDR,CHG_DATE,CHG_USER,CHG_TERM,ROLE_ENTITY,ROLE_ENTITY_SQL)
VALUES ('PCONT_APR3','S','S','Third Level Approver of Purchase Contract Workflow','CV0004','SignTran',NULL,'base@baseinfo.com',sysdate,
'BASE','BASE','E',null);
------------------------------------------------------------WF_ROLE_USERS------------------------------------------------------------------
Insert into WF_ROLE_USERS (ROLE_CODE,USERID,CHG_DATE,CHG_USER,CHG_TERM) values ('PCONT_APR1','C12210',sysdate,'BASE','BASE');
Insert into WF_ROLE_USERS (ROLE_CODE,USERID,CHG_DATE,CHG_USER,CHG_TERM) values ('PCONT_APR2','E99902',sysdate,'BASE','BASE');
Insert into WF_ROLE_USERS (ROLE_CODE,USERID,CHG_DATE,CHG_USER,CHG_TERM) values ('PCONT_APR3','CV0004',sysdate,'BASE','BASE');
-------------------------------------------------------------MAIL_FORMAT-------------------------------------------------------------------
Insert into MAIL_FORMAT
(FORMAT_CODE,FORMAT_TYPE,SEND_TO,COPY_TO,BLIND_COPY,SUBJECT,BODY_TEXT,BODY_COMP,PRIORITY,DELIVERY_REPORT,RETURN_RECEIPT,MAIL_APPLICATION,
MAIL_SERVER,MAIL_BOX,MAIL_ID,ATTACH_TYPE,ATTACH_TEXT,MAIL_GENERATION,WIN_NAME,COND_METHOD,FN_NAME,MAIL_DESCR,WINNAME,EMAIL_EXPR)
values ('PCONT_APRV','T','[(E)ROLE_CODE]',null,null,'Purchase Contract Approval <Detail1.contract_no> for period <Detail1.fromdate> to
<Detail1.todate>',
'Dear Sir/Madam,
This is to inform you that
Transaction No. <Detail1.contract_no>
Item <Detail2.item_descr>
Quantity <Detail2.quantity_batch>
Status date <Detail2.status_date>
Project code <Detail1.proj_code>
Remarks <Detail2.remarks>
is ready to approve',1,1,1,1,'M',null,null,null,null,null,null,null,
'w_pcontract',null,null,null,null);
Insert into MAIL_FORMAT
(FORMAT_CODE,FORMAT_TYPE,SEND_TO,COPY_TO,BLIND_COPY,SUBJECT,BODY_TEXT,BODY_COMP,PRIORITY,DELIVERY_REPORT,RETURN_RECEIPT,MAIL_APPLICATION,
MAIL_SERVER,MAIL_BOX,MAIL_ID,ATTACH_TYPE,ATTACH_TEXT,MAIL_GENERATION,WIN_NAME,COND_METHOD,FN_NAME,MAIL_DESCR,WINNAME,EMAIL_EXPR)
values ('PCONT_APRV_CONF','T','[(E)ROLE_CODE]',null,null,'Purchase Contract Approval <Detail1.contract_no> for period <Detail1.fromdate> to
<Detail1.todate> is approved',
'Dear Sir/Madam,
This is to inform you that
Transaction No. <Detail1.contract_no>
Item <Detail2.item_descr>
Quantity <Detail2.quantity_batch>
Status date <Detail2.status_date>
Project code <Detail1.proj_code>
Remarks <Detail2.remarks>
is approved',1,1,1,1,'M',null,null,null,null,null,null,null,
'w_pcontract',null,null,null,null);
INSERT INTO MAIL_FORMAT
(FORMAT_CODE,FORMAT_TYPE,SEND_TO,COPY_TO,BLIND_COPY,SUBJECT,BODY_TEXT,BODY_COMP,PRIORITY,DELIVERY_REPORT,RETURN_RECEIPT,MAIL_APPLICATION,
MAIL_SERVER,MAIL_BOX,MAIL_ID,ATTACH_TYPE,ATTACH_TEXT,MAIL_GENERATION,WIN_NAME,COND_METHOD,FN_NAME,MAIL_DESCR,WINNAME,EMAIL_EXPR)
VALUES ('PCONT_APRV_REJ','T','[(E)ROLE_CODE]',NULL,NULL,'Purchase Contract Approval <Detail1.contract_no> for period <Detail1.fromdate> to
<Detail1.todate> is rejected',
'Dear Sir/Madam,
This is to inform you that
Transaction No. <Detail1.contract_no>
Item <Detail2.item_descr>
Quantity <Detail2.quantity_batch>
Status date <Detail2.status_date>
Project code <Detail1.proj_code>
Remarks <Detail2.remarks>
is rejected',1,1,1,1,'M',null,null,null,null,null,null,null,
'w_pcontract',null,null,null,null);
=============obj_actions=====================
insert into obj_actions
(OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,ACTION_TYPE,CHG_DATE,CHG_TERM,CHG_USER)
values ('pcontract',6,'approve.gif','Submit','wf_approve','a','C','Submit','1','2','U',sysdate,'BASE','BASE');
<?xml version="1.0" encoding="UTF-8"?>
<Package Id="CONSPOSTWF" xmlns="http://www.wfmc.org/2002/XPDL1.0" xmlns:xpdl="http://www.wfmc.org/2002/XPDL1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wfmc.org/2002/XPDL1.0 http://wfmc.org/standards/docs/TC-1025_schema_10_xpdl.xsd">
<PackageHeader>
<XPDLVersion>1.0</XPDLVersion>
<Vendor>Together</Vendor>
<Created>2017-12-27 14:29:05</Created>
</PackageHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<ConformanceClass GraphConformance="NON_BLOCKED"/>
<WorkflowProcesses>
<WorkflowProcess AccessLevel="PUBLIC" Id="CONSPOSTWF" Name="Process">
<ProcessHeader DurationUnit="D">
<Created>2017-12-27 14:30:07</Created>
</ProcessHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<Participants>
<Participant Id="CONPST_INT" Name="CONPST_INT">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="CONISS_INT"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Initiator"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.emp_code:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="CONPST_APR" Name="CONPST_APR">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="CONISS_APR"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approval"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.emp_code:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
</Participants>
<Applications>
<Application Id="SignTrans" Name="SignTrans">
<FormalParameters>
<FormalParameter Id="processInstanceId" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="roleCodeSign" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="entityCode" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="formatCode" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="xslFileName" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="signFor" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="context1" Index="7" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="context2" Index="8" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="context3" Index="9" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.wrkflw.utility.SignTrans"/>
<ExtendedAttribute Name="METHOD_NAME" Value="insertSignCtx"/>
<ExtendedAttribute Name="EXEC_MODE" Value="ASYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="EMail" Name="EMail">
<FormalParameters>
<FormalParameter Id="mailXMLStr" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="infoType" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="processInstanceId" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.utility.EMail"/>
<ExtendedAttribute Name="METHOD_NAME" Value="sendMail"/>
</ExtendedAttributes>
</Application>
<Application Id="ConsumpIssueConfWF" Name="ConsumpIssueConfWF">
<FormalParameters>
<FormalParameter Id="CONS_ISSUE" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="EMP_CODE_APRV" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="XML_DATA_ALL" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRC_ID" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="keyFlag" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="USER_INFO" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.webitm.ejb.dis.ConsumpIssueConfWF"/>
<ExtendedAttribute Name="METHOD_NAME" Value="confirm"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
</Applications>
<Activities>
<Activity Id="CONSPOSTWF" Name="CONSPOSTWF">
<Implementation>
<No/>
</Implementation>
<Performer>CONPST_INT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="CONPST_INT"/>
<ExtendedAttribute Name="XOffset" Value="250"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="CNSPST_SIGN" Name="CNSPST_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>CONISS_APRV</ActualParameter>
<ActualParameter>CONSPOSTWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Consumption Issue</ActualParameter>
<ActualParameter>&lt;Detail1.issue_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.cons_order&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>CONPST_APR</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="CONSPOSTWF_Tra3"/>
<TransitionRef Id="CONSPOSTWF_Tra4"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="CONPST_APR"/>
<ExtendedAttribute Name="XOffset" Value="250"/>
<ExtendedAttribute Name="YOffset" Value="55"/>
</ExtendedAttributes>
</Activity>
<Activity Id="CNSPST_APRV_MAIL" Name="CNSPST_APRV_MAIL">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;consume_issue&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;CONISS_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>CONPST_INT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="CONPST_INT"/>
<ExtendedAttribute Name="XOffset" Value="540"/>
<ExtendedAttribute Name="YOffset" Value="110"/>
</ExtendedAttributes>
</Activity>
<Activity Id="CONPST_REJ_MAIL" Name="CONPST_REJ_MAIL">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;consume_issue&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;CONISS_REJ&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>CONPST_INT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="CONPST_INT"/>
<ExtendedAttribute Name="XOffset" Value="540"/>
<ExtendedAttribute Name="YOffset" Value="30"/>
</ExtendedAttributes>
</Activity>
<Activity Id="CNSPST_CONF" Name="CNSPST_CONF">
<Implementation>
<Tool Id="ConsumpIssueConfWF" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;Detail1.cons_issue&gt;</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>E</ActualParameter>
<ActualParameter>$USER_INFO</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>CONPST_APR</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="CONPST_APR"/>
<ExtendedAttribute Name="XOffset" Value="540"/>
<ExtendedAttribute Name="YOffset" Value="55"/>
</ExtendedAttributes>
</Activity>
</Activities>
<Transitions>
<Transition From="CONSPOSTWF" Id="CONSPOSTWF_Tra2" To="CNSPST_SIGN">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="CNSPST_SIGN" Id="CONSPOSTWF_Tra3" To="CONPST_REJ_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="CNSPST_SIGN" Id="CONSPOSTWF_Tra4" To="CNSPST_CONF">
<Condition Type="CONDITION">$APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="CNSPST_CONF" Id="CONSPOSTWF_Tra12" To="CNSPST_APRV_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
</Transitions>
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow" Value="CONPST_INT;CONSPOSTWF;100;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="CONPST_INT;CONPST_REJ_MAIL;750;30;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="CONPST_INT;CNSPST_APRV_MAIL;750;110;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="CONPST_INT;CONPST_APR;"/>
</ExtendedAttributes>
</WorkflowProcess>
</WorkflowProcesses>
<ExtendedAttributes>
<ExtendedAttribute Name="MadeBy" Value="JaWE"/>
<ExtendedAttribute Name="Version" Value="1.4.2"/>
</ExtendedAttributes>
</Package>
<?xml version="1.0" encoding="UTF-8"?>
<Package Id="INDENTREQWF" xmlns="http://www.wfmc.org/2002/XPDL1.0" xmlns:xpdl="http://www.wfmc.org/2002/XPDL1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wfmc.org/2002/XPDL1.0 http://wfmc.org/standards/docs/TC-1025_schema_10_xpdl.xsd">
<PackageHeader>
<XPDLVersion>1.0</XPDLVersion>
<Vendor>Together</Vendor>
<Created>2017-12-25 12:02:10</Created>
</PackageHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<ConformanceClass GraphConformance="NON_BLOCKED"/>
<WorkflowProcesses>
<WorkflowProcess AccessLevel="PUBLIC" Id="INDENTREQWF" Name="Process">
<ProcessHeader DurationUnit="D">
<Created>2017-12-25 12:02:38</Created>
</ProcessHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<Participants>
<Participant Id="INDRQ_INT" Name="INDRQ_INT">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="INDRQ_INT"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Initiator"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.site_code__ori:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="INDRQ_APR1" Name="INDRQ_APR1">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="INDRQ_APR1"/>
<ExtendedAttribute Name="SIGN_FOR" Value="First level approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.site_code__ori:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="INDRQ_APR2" Name="INDRQ_APR2">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="INDRQ_APR2"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Second level approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.site_code__ori:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="INDRQ_APR3" Name="INDRQ_APR3">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="INDRQ_APR3"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Third level approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.site_code__ori:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="INDRQ_APR4" Name="INDRQ_APR4">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="INDRQ_APR4"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Fourth level approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.site_code__ori:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="INDRQ_APR5" Name="INDRQ_APR5">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="INDRQ_APR5"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Final approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.site_code__ori:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
</Participants>
<Applications>
<Application Id="SignTrans" Name="SignTrans">
<FormalParameters>
<FormalParameter Id="processInstanceId" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="roleCodeSign" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="entityCode" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="formatCode" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="xslFileName" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="signFor" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="context1" Index="7" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="context2" Index="8" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="context3" Index="9" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.wrkflw.utility.SignTrans"/>
<ExtendedAttribute Name="METHOD_NAME" Value="insertSignCtx"/>
<ExtendedAttribute Name="EXEC_MODE" Value="ASYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="TranSave" Name="TranSave">
<FormalParameters>
<FormalParameter Id="OBJ_NAME" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="REF_ID" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="ENTITY_ID" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRC_INST_ID" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="TRANS_INFO" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRFMR_CODE" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="NEW_REC" Index="7" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.wrkflw.utility.TransSave"/>
<ExtendedAttribute Name="METHOD_NAME" Value="saveChangeInTrans"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="IndentReqConfWF" Name="IndentReqConfWF">
<FormalParameters>
<FormalParameter Id="IND_NO" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="EMP_CODE_APRV" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="XML_DATA_ALL" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRC_ID" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="keyFlag" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="USER_INFO" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.webitm.ejb.dis.IndentReqConfWF"/>
<ExtendedAttribute Name="METHOD_NAME" Value="confirm"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="EMail" Name="EMail">
<FormalParameters>
<FormalParameter Id="MAIL_XML" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="INFO_TYPE" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRC_ID" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.utility.EMail"/>
<ExtendedAttribute Name="METHOD_NAME" Value="sendMail"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
</Applications>
<Activities>
<Activity Id="INDENTREQWF" Name="INDENTREQWF">
<Implementation>
<No/>
</Implementation>
<Performer>INDRQ_INT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDRQ_INT"/>
<ExtendedAttribute Name="XOffset" Value="230"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="VERT_HEAD_SIGN" Name="VERT_HEAD_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>INDREQ_APRVL</ActualParameter>
<ActualParameter>INDENTREQWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Indent</ActualParameter>
<ActualParameter>&lt;Detail1.ind_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.ind_no&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>INDRQ_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="INDENTREQWF_Tra25"/>
<TransitionRef Id="APR1_ESC"/>
<TransitionRef Id="INDENTREQWF_Tra3"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDRQ_APR1"/>
<ExtendedAttribute Name="XOffset" Value="230"/>
<ExtendedAttribute Name="YOffset" Value="60"/>
</ExtendedAttributes>
</Activity>
<Activity Id="VERTHD_SAVE" Name="VERTHD_SAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>indent_req</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>INDRQ_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDRQ_APR1"/>
<ExtendedAttribute Name="XOffset" Value="530"/>
<ExtendedAttribute Name="YOffset" Value="60"/>
</ExtendedAttributes>
</Activity>
<Activity Id="DEPT_HEAD_SGN" Name="DEPT_HEAD_SGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>INDREQ_APRVL</ActualParameter>
<ActualParameter>INDENTREQWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Indent</ActualParameter>
<ActualParameter>&lt;Detail1.ind_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.ind_no&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>INDRQ_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="APR2_ESC"/>
<TransitionRef Id="INDENTREQWF_Tra26"/>
<TransitionRef Id="INDENTREQWF_Tra8"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDRQ_APR2"/>
<ExtendedAttribute Name="XOffset" Value="230"/>
<ExtendedAttribute Name="YOffset" Value="40"/>
</ExtendedAttributes>
</Activity>
<Activity Id="DEPTHD_SAVE" Name="DEPTHD_SAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>indent_req</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>INDRQ_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDRQ_APR2"/>
<ExtendedAttribute Name="XOffset" Value="530"/>
<ExtendedAttribute Name="YOffset" Value="40"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SCMHD_SAVE" Name="SCMHD_SAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>indent_req</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>INDRQ_APR3</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDRQ_APR3"/>
<ExtendedAttribute Name="XOffset" Value="530"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="BSNSHD_SAVE" Name="BSNSHD_SAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>indent_req</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>INDRQ_APR4</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDRQ_APR4"/>
<ExtendedAttribute Name="XOffset" Value="530"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="PJ_SAVE" Name="PJ_SAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>indent_req</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>INDRQ_APR5</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDRQ_APR5"/>
<ExtendedAttribute Name="XOffset" Value="530"/>
<ExtendedAttribute Name="YOffset" Value="60"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SCM_HEAD_SGN" Name="SCM_HEAD_SGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>INDREQ_APRVL</ActualParameter>
<ActualParameter>INDENTREQWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Indent</ActualParameter>
<ActualParameter>&lt;Detail1.ind_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.ind_no&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>INDRQ_APR3</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="INDENTREQWF_Tra27"/>
<TransitionRef Id="INDENTREQWF_Tra10"/>
<TransitionRef Id="APR3_ESC"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDRQ_APR3"/>
<ExtendedAttribute Name="XOffset" Value="230"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="BUSNS_HEAD_SGN" Name="BUSNS_HEAD_SGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>INDREQ_APRVL</ActualParameter>
<ActualParameter>INDENTREQWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Indent</ActualParameter>
<ActualParameter>&lt;Detail1.ind_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.ind_no&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>INDRQ_APR4</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="INDENTREQWF_Tra12"/>
<TransitionRef Id="APR4_ESC"/>
<TransitionRef Id="INDENTREQWF_Tra28"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDRQ_APR4"/>
<ExtendedAttribute Name="XOffset" Value="230"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="PJ_APRV_SIGN" Name="PJ_APRV_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>INDREQ_APRVL</ActualParameter>
<ActualParameter>INDENTREQWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Indent</ActualParameter>
<ActualParameter>&lt;Detail1.ind_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.ind_no&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>INDRQ_APR5</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="INDENTREQWF_Tra14"/>
<TransitionRef Id="INDENTREQWF_Tra29"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDRQ_APR5"/>
<ExtendedAttribute Name="XOffset" Value="230"/>
<ExtendedAttribute Name="YOffset" Value="60"/>
</ExtendedAttributes>
</Activity>
<Activity Id="INDREQ_CONF" Name="INDREQ_CONF">
<Implementation>
<Tool Id="IndentReqConfWF" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>INDRQ_APR5</ActualParameter>
<ActualParameter>$USER_INFO</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>INDRQ_APR5</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="INDENTREQWF_Tra24"/>
<TransitionRef Id="INDENTREQWF_Tra20"/>
<TransitionRef Id="INDENTREQWF_Tra21"/>
<TransitionRef Id="INDENTREQWF_Tra22"/>
<TransitionRef Id="INDENTREQWF_Tra23"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDRQ_APR5"/>
<ExtendedAttribute Name="XOffset" Value="760"/>
<ExtendedAttribute Name="YOffset" Value="60"/>
</ExtendedAttributes>
</Activity>
<Activity Id="BH_APRV_MAIL" Name="BH_APRV_MAIL">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;link&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;indent_req&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;INDREQ_APRV_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;ITMTransactionEditor.jsp?Status=OUTER&amp;amp;OBJ_CONTEXT=1&amp;amp;OBJ_NAME=indent_req&amp;amp;EDIT_FLAG=V&amp;amp;DB_ID=$REF_ID&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>INDRQ_APR4</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDRQ_APR4"/>
<ExtendedAttribute Name="XOffset" Value="670"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SCM_APRV_MAIL" Name="SCM_APRV_MAIL">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;link&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;indent_req&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;INDREQ_APRV_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;ITMTransactionEditor.jsp?Status=OUTER&amp;amp;OBJ_CONTEXT=1&amp;amp;OBJ_NAME=indent_req&amp;amp;EDIT_FLAG=V&amp;amp;DB_ID=$REF_ID&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>INDRQ_APR3</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDRQ_APR3"/>
<ExtendedAttribute Name="XOffset" Value="670"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="DEPT_APRV_MAIL" Name="DEPT_APRV_MAIL">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;link&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;indent_req&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;INDREQ_APRV_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;ITMTransactionEditor.jsp?Status=OUTER&amp;amp;OBJ_CONTEXT=1&amp;amp;OBJ_NAME=indent_req&amp;amp;EDIT_FLAG=V&amp;amp;DB_ID=$REF_ID&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>INDRQ_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDRQ_APR2"/>
<ExtendedAttribute Name="XOffset" Value="700"/>
<ExtendedAttribute Name="YOffset" Value="40"/>
</ExtendedAttributes>
</Activity>
<Activity Id="VH_APRV_MAIL" Name="VH_APRV_MAIL">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;link&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;indent_req&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;INDREQ_APRV_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;ITMTransactionEditor.jsp?Status=OUTER&amp;amp;OBJ_CONTEXT=1&amp;amp;OBJ_NAME=indent_req&amp;amp;EDIT_FLAG=V&amp;amp;DB_ID=$REF_ID&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>INDRQ_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDRQ_APR1"/>
<ExtendedAttribute Name="XOffset" Value="750"/>
<ExtendedAttribute Name="YOffset" Value="70"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APRV_MAIL" Name="APRV_MAIL">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;link&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;indent_req&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;INDREQ_APRV_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;ITMTransactionEditor.jsp?Status=OUTER&amp;amp;OBJ_CONTEXT=1&amp;amp;OBJ_NAME=indent_req&amp;amp;EDIT_FLAG=V&amp;amp;DB_ID=$REF_ID&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>INDRQ_INT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDRQ_INT"/>
<ExtendedAttribute Name="XOffset" Value="810"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="REJ_MAIL" Name="REJ_MAIL">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;link&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;indent_req&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;INDREQ_APRV_REJ&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;ITMTransactionEditor.jsp?Status=OUTER&amp;amp;OBJ_CONTEXT=1&amp;amp;OBJ_NAME=indent_req&amp;amp;EDIT_FLAG=V&amp;amp;DB_ID=$REF_ID&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>INDRQ_INT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDRQ_INT"/>
<ExtendedAttribute Name="XOffset" Value="530"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
</Activities>
<Transitions>
<Transition From="INDENTREQWF" Id="INDENTREQWF_Tra2" To="VERT_HEAD_SIGN">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="VERT_HEAD_SIGN" Id="INDENTREQWF_Tra3" To="VERTHD_SAVE">
<Condition Type="CONDITION">$HR_SPAN &lt; 120 &amp;&amp; $APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN,$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="VERTHD_SAVE" Id="INDENTREQWF_Tra7" To="DEPT_HEAD_SGN">
<Condition Type="CONDITION">$APP_STATUS == "1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="DEPT_HEAD_SGN" Id="INDENTREQWF_Tra8" To="DEPTHD_SAVE">
<Condition Type="CONDITION">$HR_SPAN &lt; 29 &amp;&amp; $APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN,$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="DEPTHD_SAVE" Id="INDENTREQWF_Tra9" To="SCM_HEAD_SGN">
<Condition Type="CONDITION">$APP_STATUS == "1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="SCM_HEAD_SGN" Id="INDENTREQWF_Tra10" To="SCMHD_SAVE">
<Condition Type="CONDITION">$HR_SPAN &lt; 29 &amp;&amp; $APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN,$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SCMHD_SAVE" Id="INDENTREQWF_Tra11" To="BUSNS_HEAD_SGN">
<Condition Type="CONDITION">$APP_STATUS == "1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="BUSNS_HEAD_SGN" Id="INDENTREQWF_Tra12" To="BSNSHD_SAVE">
<Condition Type="CONDITION">$HR_SPAN &lt; 29 &amp;&amp; $APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN,$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="BSNSHD_SAVE" Id="INDENTREQWF_Tra13" To="PJ_APRV_SIGN">
<Condition Type="CONDITION">$APP_STATUS == "1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="PJ_APRV_SIGN" Id="INDENTREQWF_Tra14" To="PJ_SAVE">
<Condition Type="CONDITION">$APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="PJ_SAVE" Id="INDENTREQWF_Tra15" To="INDREQ_CONF">
<Condition Type="CONDITION">$APP_STATUS == "1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="VERT_HEAD_SIGN" Id="APR1_ESC" Name="APR1_ESC" To="DEPT_HEAD_SGN">
<Condition Type="CONDITION">$HR_SPAN &gt; 120</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN"/>
</ExtendedAttributes>
</Transition>
<Transition From="DEPT_HEAD_SGN" Id="APR2_ESC" Name="APR2_ESC" To="SCM_HEAD_SGN">
<Condition Type="CONDITION">$HR_SPAN &gt; 120</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN"/>
</ExtendedAttributes>
</Transition>
<Transition From="SCM_HEAD_SGN" Id="APR3_ESC" Name="APR3_ESC" To="BUSNS_HEAD_SGN">
<Condition Type="CONDITION">$HR_SPAN &gt; 120</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN"/>
</ExtendedAttributes>
</Transition>
<Transition From="BUSNS_HEAD_SGN" Id="APR4_ESC" Name="APR4_ESC" To="PJ_APRV_SIGN">
<Condition Type="CONDITION">$HR_SPAN &gt; 120</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN"/>
</ExtendedAttributes>
</Transition>
<Transition From="INDREQ_CONF" Id="INDENTREQWF_Tra20" To="BH_APRV_MAIL">
<Condition Type="CONDITION">$APP_RESULT=="Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="INDREQ_CONF" Id="INDENTREQWF_Tra21" To="SCM_APRV_MAIL">
<Condition Type="CONDITION">$APP_RESULT=="Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="INDREQ_CONF" Id="INDENTREQWF_Tra22" To="DEPT_APRV_MAIL">
<Condition Type="CONDITION">$APP_RESULT=="Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="INDREQ_CONF" Id="INDENTREQWF_Tra23" To="VH_APRV_MAIL">
<Condition Type="CONDITION">$APP_RESULT=="Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="INDREQ_CONF" Id="INDENTREQWF_Tra24" To="APRV_MAIL">
<Condition Type="CONDITION">$APP_RESULT=="Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="VERT_HEAD_SIGN" Id="INDENTREQWF_Tra25" To="REJ_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="DEPT_HEAD_SGN" Id="INDENTREQWF_Tra26" To="REJ_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SCM_HEAD_SGN" Id="INDENTREQWF_Tra27" To="REJ_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="BUSNS_HEAD_SGN" Id="INDENTREQWF_Tra28" To="REJ_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="PJ_APRV_SIGN" Id="INDENTREQWF_Tra29" To="REJ_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
</Transitions>
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow" Value="INDRQ_INT;INDENTREQWF;90;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="INDRQ_INT;APRV_MAIL;950;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="INDRQ_APR3;SCM_APRV_MAIL;950;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="INDRQ_APR4;BH_APRV_MAIL;950;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="INDRQ_APR2;DEPT_APRV_MAIL;950;40;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="INDRQ_APR1;VH_APRV_MAIL;950;70;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="INDRQ_INT;REJ_MAIL;670;50;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="INDRQ_INT;INDRQ_APR1;INDRQ_APR2;INDRQ_APR3;INDRQ_APR4;INDRQ_APR5;"/>
</ExtendedAttributes>
</WorkflowProcess>
</WorkflowProcesses>
<ExtendedAttributes>
<ExtendedAttribute Name="MadeBy" Value="JaWE"/>
<ExtendedAttribute Name="Version" Value="1.4.2"/>
</ExtendedAttributes>
</Package>
<?xml version="1.0" encoding="UTF-8"?>
<Package Id="PCONTRACTWF" xmlns="http://www.wfmc.org/2002/XPDL1.0" xmlns:xpdl="http://www.wfmc.org/2002/XPDL1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wfmc.org/2002/XPDL1.0 http://wfmc.org/standards/docs/TC-1025_schema_10_xpdl.xsd">
<PackageHeader>
<XPDLVersion>1.0</XPDLVersion>
<Vendor>Together</Vendor>
<Created>2018-01-05 10:25:07</Created>
</PackageHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<ConformanceClass GraphConformance="NON_BLOCKED"/>
<WorkflowProcesses>
<WorkflowProcess AccessLevel="PUBLIC" Id="PCONTRACTWF" Name="PCONTRACTWF">
<ProcessHeader DurationUnit="D">
<Created>2018-01-05 10:25:46</Created>
</ProcessHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<Participants>
<Participant Id="PCONT_INIT" Name="PCONT_INIT">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="PCONT_INIT"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Initiator"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.supp_code:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="PCONT_APR1" Name="PCONT_APR1">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="PCONT_APR1"/>
<ExtendedAttribute Name="SIGN_FOR" Value="First approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.supp_code:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="PCONT_APR2" Name="PCONT_APR2">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="PCONT_APR2"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Second approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.supp_code:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="PCONT_APR3" Name="PCONT_APR3">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="PCONT_APR3"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Final approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.supp_code:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
</Participants>
<Applications>
<Application Id="SignTrans" Name="SignTrans">
<FormalParameters>
<FormalParameter Id="processInstanceId" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="roleCodeSign" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="entityCode" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="formatCode" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="xslFileName" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="signFor" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="context1" Index="7" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="context2" Index="8" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="context3" Index="9" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.wrkflw.utility.SignTrans"/>
<ExtendedAttribute Name="METHOD_NAME" Value="insertSignCtx"/>
<ExtendedAttribute Name="EXEC_MODE" Value="ASYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="TranSave" Name="TranSave">
<FormalParameters>
<FormalParameter Id="OBJ_NAME" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="REF_ID" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="ENTITY_ID" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRC_INST_ID" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="TRANS_INFO" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRFMR_CODE" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="NEW_REC" Index="7" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.wrkflw.utility.TransSave"/>
<ExtendedAttribute Name="METHOD_NAME" Value="saveChangeInTrans"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="PurContractConfWF" Name="PurContractConfWF">
<FormalParameters>
<FormalParameter Id="CONTRACT_NO" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="EMP_CODE_APRV" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="XML_DATA_ALL" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRC_ID" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="keyFlag" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="USER_INFO" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.webitm.ejb.dis.PurContractConfWF"/>
<ExtendedAttribute Name="METHOD_NAME" Value="confirm"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="Email" Name="Email">
<FormalParameters>
<FormalParameter Id="mailXMLStr" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="infoType" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRC_ID" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.utility.EMail"/>
<ExtendedAttribute Name="METHOD_NAME" Value="sendMail"/>
</ExtendedAttributes>
</Application>
</Applications>
<Activities>
<Activity Id="PCONTRACTWF" Name="PCONTRACTWF">
<Implementation>
<No/>
</Implementation>
<Performer>PCONT_INIT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PCONT_INIT"/>
<ExtendedAttribute Name="XOffset" Value="240"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APR1_SIGN" Name="APR1_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>PCONT_APRV</ActualParameter>
<ActualParameter>PCONTRACTWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Purchase Contract</ActualParameter>
<ActualParameter>&lt;Detail1.contract_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.contract_no&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PCONT_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="PCONTRACTWF_Tra3"/>
<TransitionRef Id="PCONTRACTWF_Tra8"/>
<TransitionRef Id="PCONTRACTWF_Tra19"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PCONT_APR1"/>
<ExtendedAttribute Name="XOffset" Value="240"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APR2_SIGN" Name="APR2_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>PCONT_APRV</ActualParameter>
<ActualParameter>PCONTRACTWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Purchase Contract</ActualParameter>
<ActualParameter>&lt;Detail1.contract_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.contract_no&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PCONT_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="PCONTRACTWF_Tra20"/>
<TransitionRef Id="PCONTRACTWF_Tra9"/>
<TransitionRef Id="PCONTRACTWF_Tra4"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PCONT_APR2"/>
<ExtendedAttribute Name="XOffset" Value="240"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APR3_SIGN" Name="APR3_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>PCONT_APRV</ActualParameter>
<ActualParameter>PCONTRACTWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Purchase Contract</ActualParameter>
<ActualParameter>&lt;Detail1.contract_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.contract_no&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PCONT_APR3</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="PCONTRACTWF_Tra21"/>
<TransitionRef Id="PCONTRACTWF_Tra5"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PCONT_APR3"/>
<ExtendedAttribute Name="XOffset" Value="240"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APR1_TSAVE" Name="APR1_TSAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>pcontract</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PCONT_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PCONT_APR1"/>
<ExtendedAttribute Name="XOffset" Value="450"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APR2_TSAVE" Name="APR2_TSAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>pcontract</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PCONT_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PCONT_APR2"/>
<ExtendedAttribute Name="XOffset" Value="450"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APR3_TSAVE" Name="APR3_TSAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>pcontract</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PCONT_APR3</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PCONT_APR3"/>
<ExtendedAttribute Name="XOffset" Value="450"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="PCONT_CONF" Name="PCONT_CONF">
<Implementation>
<Tool Id="PurContractConfWF" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>E</ActualParameter>
<ActualParameter>$USER_INFO</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PCONT_APR3</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="PCONTRACTWF_Tra12"/>
<TransitionRef Id="PCONTRACTWF_Tra11"/>
<TransitionRef Id="PCONTRACTWF_Tra14"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PCONT_APR3"/>
<ExtendedAttribute Name="XOffset" Value="630"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APR2_CONF_MAIL" Name="APR2_CONF_MAIL">
<Implementation>
<Tool Id="Email" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;pcontract&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;PCONT_APRV_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PCONT_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PCONT_APR2"/>
<ExtendedAttribute Name="XOffset" Value="710"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APR1_CONF_MAIL" Name="APR1_CONF_MAIL">
<Implementation>
<Tool Id="Email" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;pcontract&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;PCONT_APRV_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PCONT_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PCONT_APR1"/>
<ExtendedAttribute Name="XOffset" Value="680"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="INIT_CONF_MAIL" Name="INIT_CONF_MAIL">
<Implementation>
<Tool Id="Email" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;pcontract&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;PCONT_APRV_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PCONT_INIT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PCONT_INIT"/>
<ExtendedAttribute Name="XOffset" Value="630"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="INIT_REJ_MAIL" Name="INIT_REJ_MAIL">
<Implementation>
<Tool Id="Email" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;pcontract&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;PCONT_APRV_REJ&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PCONT_INIT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PCONT_INIT"/>
<ExtendedAttribute Name="XOffset" Value="400"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
</Activities>
<Transitions>
<Transition From="PCONTRACTWF" Id="PCONTRACTWF_Tra2" To="APR1_SIGN">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR1_SIGN" Id="PCONTRACTWF_Tra3" To="APR1_TSAVE">
<Condition Type="CONDITION">$HR_SPAN &lt; 120 &amp;&amp; $APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN,$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR2_SIGN" Id="PCONTRACTWF_Tra4" To="APR2_TSAVE">
<Condition Type="CONDITION">$HR_SPAN &lt; 120 &amp;&amp; $APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN,$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR3_SIGN" Id="PCONTRACTWF_Tra5" To="APR3_TSAVE">
<Condition Type="CONDITION">$APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR1_TSAVE" Id="PCONTRACTWF_Tra6" To="APR2_SIGN">
<Condition Type="CONDITION">$APP_STATUS == "1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR2_TSAVE" Id="PCONTRACTWF_Tra7" To="APR3_SIGN">
<Condition Type="CONDITION">$APP_STATUS == "1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR1_SIGN" Id="PCONTRACTWF_Tra8" To="APR2_SIGN">
<Condition Type="CONDITION">$HR_SPAN &lt; 120</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR2_SIGN" Id="PCONTRACTWF_Tra9" To="APR3_SIGN">
<Condition Type="CONDITION">$HR_SPAN &lt; 120</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR3_TSAVE" Id="PCONTRACTWF_Tra10" To="PCONT_CONF">
<Condition Type="CONDITION">$APP_STATUS == "1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="PCONT_CONF" Id="PCONTRACTWF_Tra11" To="APR2_CONF_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="PCONT_CONF" Id="PCONTRACTWF_Tra12" To="APR1_CONF_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="PCONT_CONF" Id="PCONTRACTWF_Tra14" To="INIT_CONF_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR1_SIGN" Id="PCONTRACTWF_Tra19" To="INIT_REJ_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR2_SIGN" Id="PCONTRACTWF_Tra20" To="INIT_REJ_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR3_SIGN" Id="PCONTRACTWF_Tra21" To="INIT_REJ_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
</Transitions>
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow" Value="PCONT_INIT;PCONTRACTWF;120;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="PCONT_INIT;INIT_CONF_MAIL;840;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="PCONT_APR2;APR2_CONF_MAIL;840;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="PCONT_INIT;INIT_REJ_MAIL;540;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="PCONT_APR1;APR1_CONF_MAIL;840;50;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="PCONT_INIT;PCONT_APR1;PCONT_APR2;PCONT_APR3;"/>
</ExtendedAttributes>
</WorkflowProcess>
</WorkflowProcesses>
<ExtendedAttributes>
<ExtendedAttribute Name="MadeBy" Value="JaWE"/>
<ExtendedAttribute Name="Version" Value="1.4.2"/>
</ExtendedAttributes>
</Package>
<?xml version="1.0" encoding="UTF-8"?>
<Package Id="PLCMNTNCARRGWF" xmlns="http://www.wfmc.org/2002/XPDL1.0" xmlns:xpdl="http://www.wfmc.org/2002/XPDL1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wfmc.org/2002/XPDL1.0 http://wfmc.org/standards/docs/TC-1025_schema_10_xpdl.xsd">
<PackageHeader>
<XPDLVersion>1.0</XPDLVersion>
<Vendor>Together</Vendor>
<Created>2017-12-28 12:24:52</Created>
</PackageHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<ConformanceClass GraphConformance="NON_BLOCKED"/>
<WorkflowProcesses>
<WorkflowProcess AccessLevel="PUBLIC" Id="PLCMNTNCARRGWF" Name="Process">
<ProcessHeader DurationUnit="D">
<Created>2017-12-28 12:25:30</Created>
</ProcessHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<Participants>
<Participant Id="PLCRG_INT" Name="PLCRG_INT">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="PLCRG_INT"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Initiator"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.emp_code__ord:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="PLCRG_APR1" Name="PLCRG_APR1">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="PLCRG_APR1"/>
<ExtendedAttribute Name="SIGN_FOR" Value="First approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.emp_code__ord:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="PLCRG_APR2" Name="PLCRG_APR2">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="PLCRG_APR2"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Second approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.emp_code__ord:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
</Participants>
<Applications>
<Application Id="SignTrans" Name="SignTrans">
<FormalParameters>
<FormalParameter Id="processInstanceId" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="roleCodeSign" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="entityCode" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="formatCode" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="xslFileName" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="signFor" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="context1" Index="7" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="context2" Index="8" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="context3" Index="9" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.wrkflw.utility.SignTrans"/>
<ExtendedAttribute Name="METHOD_NAME" Value="insertSignCtx"/>
<ExtendedAttribute Name="EXEC_MODE" Value="ASYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="SorderConfWF" Name="SorderConfWF">
<FormalParameters>
<FormalParameter Id="REF_ID" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="XTRA_PARAMS" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="FORCED_FLAG" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="USER_INFO" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="EJB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.webitm.ejb.dis.adv.SorderConfWF"/>
<ExtendedAttribute Name="METHOD_NAME" Value="confirm"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="EMail" Name="EMail">
<FormalParameters>
<FormalParameter Id="mailXMLStr" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="infoType" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="processInstanceId" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.utility.EMail"/>
<ExtendedAttribute Name="METHOD_NAME" Value="sendMail"/>
</ExtendedAttributes>
</Application>
<Application Id="TranSave" Name="TranSave">
<FormalParameters>
<FormalParameter Id="OBJ_NAME" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="REF_ID" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="ENTITY_ID" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRC_INST_ID" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="TRANS_INFO" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRFMR_CODE" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="NEW_REC" Index="7" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.wrkflw.utility.TransSave"/>
<ExtendedAttribute Name="METHOD_NAME" Value="saveChangeInTrans"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
</Applications>
<Activities>
<Activity Id="PLCMNTNCARRGWF" Name="PLCMNTNCARRGWF">
<Implementation>
<No/>
</Implementation>
<Performer>PLCRG_INT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PLCRG_INT"/>
<ExtendedAttribute Name="XOffset" Value="260"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APR1_SIGN" Name="APR1_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>PLCRG_APRV</ActualParameter>
<ActualParameter>PLCMNTNCARRGWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Placement &amp; Carriage</ActualParameter>
<ActualParameter>&lt;Detail1.order_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.emp_code__ord&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PLCRG_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="PLCMNTNCARRGWF_Tra4"/>
<TransitionRef Id="PLCMNTNCARRGWF_Tra8"/>
<TransitionRef Id="PLCMNTNCARRGWF_Tra19"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PLCRG_APR1"/>
<ExtendedAttribute Name="XOffset" Value="260"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APR2_SIGN" Name="APR2_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>PLCRG_APRV</ActualParameter>
<ActualParameter>PLCMNTNCARRGWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Placement &amp; Carriage</ActualParameter>
<ActualParameter>&lt;Detail1.order_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.emp_code__ord&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PLCRG_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="PLCMNTNCARRGWF_Tra9"/>
<TransitionRef Id="PLCMNTNCARRGWF_Tra3"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PLCRG_APR2"/>
<ExtendedAttribute Name="XOffset" Value="260"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APR2_CONF" Name="APR2_CONF">
<Implementation>
<Tool Id="SorderConfWF" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>loginCode=$PRFMR_CODE~tloginEmpCode=$PRFMR_CODE</ActualParameter>
<ActualParameter>true</ActualParameter>
<ActualParameter>$USER_INFO</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PLCRG_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="PLCMNTNCARRGWF_Tra6"/>
<TransitionRef Id="PLCMNTNCARRGWF_Tra7"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PLCRG_APR2"/>
<ExtendedAttribute Name="XOffset" Value="560"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APR1_TS" Name="APR1_TS">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>sorder</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PLCRG_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PLCRG_APR1"/>
<ExtendedAttribute Name="XOffset" Value="490"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APR1_CONF_MAIL" Name="APR1_CONF_MAIL">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;sorder&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;PLCRG_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PLCRG_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PLCRG_APR1"/>
<ExtendedAttribute Name="XOffset" Value="650"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="INIT_CONF" Name="INIT_CONF">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;sorder&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;PLCRG-CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PLCRG_INT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PLCRG_INT"/>
<ExtendedAttribute Name="XOffset" Value="650"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="INIT_REJMAIL" Name="INIT_REJMAIL">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;sorder&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;PLCRG_REJ&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PLCRG_INT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PLCRG_INT"/>
<ExtendedAttribute Name="XOffset" Value="410"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APR2_TS" Name="APR2_TS">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>sorder</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PLCRG_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PLCRG_APR2"/>
<ExtendedAttribute Name="XOffset" Value="410"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
</Activities>
<Transitions>
<Transition From="PLCMNTNCARRGWF" Id="PLCMNTNCARRGWF_Tra2" To="APR1_SIGN">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR2_SIGN" Id="PLCMNTNCARRGWF_Tra3" To="APR2_TS">
<Condition Type="CONDITION">$APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR1_SIGN" Id="PLCMNTNCARRGWF_Tra4" To="APR1_TS">
<Condition Type="CONDITION">$HR_SPAN &lt; 120 &amp;&amp; $APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN,$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR1_TS" Id="PLCMNTNCARRGWF_Tra5" To="APR2_SIGN">
<Condition Type="CONDITION">$APP_STATUS == "1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR2_CONF" Id="PLCMNTNCARRGWF_Tra6" To="APR1_CONF_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR2_CONF" Id="PLCMNTNCARRGWF_Tra7" To="INIT_CONF">
<Condition Type="CONDITION">$APP_RESULT == "Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR1_SIGN" Id="PLCMNTNCARRGWF_Tra8" To="INIT_REJMAIL">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR2_SIGN" Id="PLCMNTNCARRGWF_Tra9" To="INIT_REJMAIL">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR1_SIGN" Id="PLCMNTNCARRGWF_Tra19" To="APR2_SIGN">
<Condition Type="CONDITION">$HR_SPAN &gt; 120</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR2_TS" Id="PLCMNTNCARRGWF_Tra33" To="APR2_CONF">
<Condition Type="CONDITION">$APP_STATUS == "1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
</Transitions>
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow" Value="PLCRG_INT;PLCMNTNCARRGWF;110;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="PLCRG_INT;INIT_REJMAIL;550;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="PLCRG_INT;INIT_CONF;790;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="PLCRG_APR1;APR1_CONF_MAIL;790;50;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="PLCRG_INT;PLCRG_APR1;PLCRG_APR2;"/>
</ExtendedAttributes>
</WorkflowProcess>
</WorkflowProcesses>
<ExtendedAttributes>
<ExtendedAttribute Name="MadeBy" Value="JaWE"/>
<ExtendedAttribute Name="Version" Value="1.4.2"/>
</ExtendedAttributes>
</Package>
<?xml version="1.0" encoding="UTF-8"?>
<Package Id="PORDERAPRV" Name="PORDERAPRV" xmlns="http://www.wfmc.org/2002/XPDL1.0" xmlns:xpdl="http://www.wfmc.org/2002/XPDL1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wfmc.org/2002/XPDL1.0 http://wfmc.org/standards/docs/TC-1025_schema_10_xpdl.xsd">
<PackageHeader>
<XPDLVersion>1.0</XPDLVersion>
<Vendor>Together</Vendor>
<Created>2014-05-20 15:54:44</Created>
</PackageHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<ConformanceClass GraphConformance="NON_BLOCKED"/>
<WorkflowProcesses>
<WorkflowProcess AccessLevel="PUBLIC" Id="PORDERAPRV" Name="PORDERAPRV">
<ProcessHeader DurationUnit="D">
<Created>2014-05-20 15:55:40</Created>
</ProcessHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<Participants>
<Participant Id="PORDERAPRV" Name="PURCHASEXECUTIVE">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="POPUREXEC"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approve"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.emp_code:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="SCMHEAD" Name="SCMHEAD">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="PO_SCMHEAD"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.site_code__dlv:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="DIRECTOR" Name="DIRECTOR">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="POPURDIR"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approve"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.site_code__dlv:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="PUREXECTVE" Name="PUREXECTVE">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="POEXEC_INT"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Initiator"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.site_code__dlv:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="PORD_PJ_APR" Name="PORD_PJ_APR">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="PO_PJ_APR"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approve"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.site_code__dlv:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="GENMANAGER" Name="GENMANAGER">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="INGENMGR"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approve"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.site_code__dlv:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="PURMANAGER2" Name="PURMANAGER2">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="POPURMGR2"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approve"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.site_code__dlv:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="FINEXECTVE" Name="FINEXECTVE">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="PO_FINEXEC"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approval"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.site_code__dlv:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
</Participants>
<Applications>
<Application Id="SignTrans" Name="SignTrans">
<FormalParameters>
<FormalParameter Id="PRC_ID" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRFMR_ROLE_CODE" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRFMR_CODE" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="FORMAT_CODE" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="XSL_FILE_NAME" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="SIGN_FOR" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="CTX_1" Index="7" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="CTX_2" Index="8" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="CTX_3" Index="9" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.wrkflw.utility.SignTrans"/>
<ExtendedAttribute Name="METHOD_NAME" Value="insertSignCtx"/>
<ExtendedAttribute Name="EXEC_MODE" Value="ASYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="TranSave" Name="TranSave">
<FormalParameters>
<FormalParameter Id="OBJ_NAME" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="REF_ID" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="ENTITY_ID" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRC_INST_ID" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="TRANS_INFO" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRFMR_CODE" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="NEW_REC" Index="7" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="METHOD_NAME" Value="saveChangeInTrans"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.wrkflw.utility.TransSave"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="PurchaseOrderAprvConf" Name="PurchaseOrderAprvConf">
<FormalParameters>
<FormalParameter Id="PURC_ORDER" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="EMP_CODE_APRV" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="XML_DATA_ALL" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRC_ID" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="keyFlag" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="USER_INFO" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.webitm.ejb.dis.wrkflw.PurchaseOrderAprvConf"/>
<ExtendedAttribute Name="METHOD_NAME" Value="confirm"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="EMAIL" Name="EMAIL">
<FormalParameters>
<FormalParameter Id="MAIL_XML" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="INFO_TYPE" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRC_ID" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.utility.EMail"/>
<ExtendedAttribute Name="METHOD_NAME" Value="sendMail"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
</Applications>
<Activities>
<Activity Id="PORDERAPRV" Name="PORDERAPRV">
<Implementation>
<No/>
</Implementation>
<Performer>PUREXECTVE</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PUREXECTVE"/>
<ExtendedAttribute Name="XOffset" Value="170"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="FINEXEC_SIGN" Name="FINEXEC_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>PORD_APRV</ActualParameter>
<ActualParameter>PORDERAPPROVAL</ActualParameter>
<ActualParameter>APPROVAL</ActualParameter>
<ActualParameter>PurchaseOrder</ActualParameter>
<ActualParameter>&lt;Detail1.ord_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.purc_order&gt;</ActualParameter>
</ActualParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="ESCALATE" Value="PorderWrkFlw_ESC"/>
</ExtendedAttributes>
</Tool>
</Implementation>
<Performer>FINEXECTVE</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="SINTRNSAVE2"/>
<TransitionRef Id="PorderWrkFlw_ESC"/>
<TransitionRef Id="PORDERAPRV_Tra33"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="FINEXECTVE"/>
<ExtendedAttribute Name="XOffset" Value="300"/>
<ExtendedAttribute Name="YOffset" Value="40"/>
</ExtendedAttributes>
</Activity>
<Activity Id="PO_APRV_CONF" Name="PO_APRV_CONF">
<Implementation>
<Tool Id="PurchaseOrderAprvConf" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>PORD_PJ_APR</ActualParameter>
<ActualParameter>$USER_INFO</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PORD_PJ_APR</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="CONDITION2"/>
<TransitionRef Id="PORDERAPRV_Tra30"/>
<TransitionRef Id="PORDERAPRV_Tra29"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PORD_PJ_APR"/>
<ExtendedAttribute Name="XOffset" Value="850"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="PM_D" Name="PM_D">
<Implementation>
<No/>
</Implementation>
<Performer>FINEXECTVE</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="FINEXECTVE"/>
<ExtendedAttribute Name="XOffset" Value="740"/>
<ExtendedAttribute Name="YOffset" Value="40"/>
</ExtendedAttributes>
</Activity>
<Activity Id="PUREXEC_SENDMAIL" Name="PUREXEC_SENDMAIL">
<Implementation>
<Tool Id="EMAIL" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;link&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;porder&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;PORD_APRV_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;ITMTransactionEditor.jsp?Status=OUTER&amp;amp;OBJ_CONTEXT=1&amp;amp;OBJ_NAME=porder&amp;amp;EDIT_FLAG=V&amp;amp;DB_ID=$REF_ID&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PUREXECTVE</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PUREXECTVE"/>
<ExtendedAttribute Name="XOffset" Value="850"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="PO_PJ_SIGN" Name="PO_PJ_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>PORD_APRV</ActualParameter>
<ActualParameter>PORDERAPPROVAL</ActualParameter>
<ActualParameter>APPROVAL</ActualParameter>
<ActualParameter>PurchaseOrder</ActualParameter>
<ActualParameter>&lt;Detail1.ord_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.purc_order&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PORD_PJ_APR</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="SINTRNSAVE5"/>
<TransitionRef Id="PORDERAPRV_Tra35"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PORD_PJ_APR"/>
<ExtendedAttribute Name="XOffset" Value="300"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="PM_HR_SPAN" Name="PM_HR_SPAN">
<Implementation>
<Tool Id="PurchaseOrderAprvConf" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>FINEXECTVE</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="FINEXECTVE"/>
<ExtendedAttribute Name="XOffset" Value="160"/>
<ExtendedAttribute Name="YOffset" Value="70"/>
</ExtendedAttributes>
</Activity>
<Activity Id="ESC_ACTIVITY" Name="ESC_ACTIVITY">
<Implementation>
<No/>
</Implementation>
<Performer>FINEXECTVE</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="FINEXECTVE"/>
<ExtendedAttribute Name="XOffset" Value="450"/>
<ExtendedAttribute Name="YOffset" Value="90"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SCMHD_SIGN" Name="SCMHD_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>PORD_APRV</ActualParameter>
<ActualParameter>PORDERAPPROVAL</ActualParameter>
<ActualParameter>APPROVAL</ActualParameter>
<ActualParameter>PurchaseOrder</ActualParameter>
<ActualParameter>&lt;Detail1.ord_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.purc_order&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SCMHEAD</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="SINTRNSAVE3"/>
<TransitionRef Id="PORDERAPRV_Tra26"/>
<TransitionRef Id="PORDERAPRV_Tra34"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SCMHEAD"/>
<ExtendedAttribute Name="XOffset" Value="300"/>
<ExtendedAttribute Name="YOffset" Value="40"/>
</ExtendedAttributes>
</Activity>
<Activity Id="TD_D" Name="TD_D">
<Implementation>
<No/>
</Implementation>
<Performer>SCMHEAD</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SCMHEAD"/>
<ExtendedAttribute Name="XOffset" Value="740"/>
<ExtendedAttribute Name="YOffset" Value="40"/>
</ExtendedAttributes>
</Activity>
<Activity Id="PORDERAPRV_Act1" Name="PM_HR_SPAN">
<Implementation>
<Tool Id="PurchaseOrderAprvConf" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SCMHEAD</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SCMHEAD"/>
<ExtendedAttribute Name="XOffset" Value="160"/>
<ExtendedAttribute Name="YOffset" Value="70"/>
</ExtendedAttributes>
</Activity>
<Activity Id="PORDERAPRV_Act2" Name="ESC_ACTIVITY">
<Implementation>
<No/>
</Implementation>
<Performer>SCMHEAD</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SCMHEAD"/>
<ExtendedAttribute Name="XOffset" Value="490"/>
<ExtendedAttribute Name="YOffset" Value="80"/>
</ExtendedAttributes>
</Activity>
<Activity Id="FINEXEC_SENDMAIL" Name="FINEXEC_SENDMAIL">
<Implementation>
<Tool Id="EMAIL" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;link&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;porder&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;PORD_APRV_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;ITMTransactionEditor.jsp?Status=OUTER&amp;amp;OBJ_CONTEXT=1&amp;amp;OBJ_NAME=porder&amp;amp;EDIT_FLAG=V&amp;amp;DB_ID=$REF_ID&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>FINEXECTVE</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="FINEXECTVE"/>
<ExtendedAttribute Name="XOffset" Value="900"/>
<ExtendedAttribute Name="YOffset" Value="30"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SCM_SENDMAIL" Name="SCM_SENDMAIL">
<Implementation>
<Tool Id="EMAIL" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;link&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;porder&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;PORD_APRV_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;ITMTransactionEditor.jsp?Status=OUTER&amp;amp;OBJ_CONTEXT=1&amp;amp;OBJ_NAME=porder&amp;amp;EDIT_FLAG=V&amp;amp;DB_ID=$REF_ID&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SCMHEAD</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SCMHEAD"/>
<ExtendedAttribute Name="XOffset" Value="930"/>
<ExtendedAttribute Name="YOffset" Value="40"/>
</ExtendedAttributes>
</Activity>
<Activity Id="PORDER_REJMAIL" Name="PORDER_REJMAIL">
<Implementation>
<Tool Id="EMAIL" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;link&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;porder&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;PORD_APRV_REJ&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;ITMTransactionEditor.jsp?Status=OUTER&amp;amp;OBJ_CONTEXT=1&amp;amp;OBJ_NAME=porder&amp;amp;EDIT_FLAG=V&amp;amp;DB_ID=$REF_ID&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PUREXECTVE</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PUREXECTVE"/>
<ExtendedAttribute Name="XOffset" Value="430"/>
<ExtendedAttribute Name="YOffset" Value="40"/>
</ExtendedAttributes>
</Activity>
</Activities>
<Transitions>
<Transition From="FINEXEC_SIGN" Id="SINTRNSAVE2" Name="SINTRNSAVE2" To="PM_D">
<Condition Type="CONDITION">$HR_SPAN &lt; 120 &amp;&amp; $APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN,$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="PORDERAPRV" Id="CONDITION" Name="CONDITION" To="FINEXEC_SIGN">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="PO_APRV_CONF" Id="CONDITION2" Name="CONDITION2" To="PUREXEC_SENDMAIL">
<Condition Type="CONDITION">$APP_RESULT=="Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="PO_PJ_SIGN" Id="SINTRNSAVE5" Name="SINTRNSAVE5" To="PO_APRV_CONF">
<Condition Type="CONDITION">$APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="FINEXEC_SIGN" Id="PorderWrkFlw_ESC" Name="PorderWrkFlw_ESC" To="PM_HR_SPAN">
<Condition Type="CONDITION">$HR_SPAN &gt; 120</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN"/>
</ExtendedAttributes>
</Transition>
<Transition From="PM_HR_SPAN" Id="CONDITION5" Name="CONDITION5" To="SCMHD_SIGN">
<Condition Type="CONDITION">$APP_RESULT=="Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SCMHD_SIGN" Id="SINTRNSAVE3" Name="SINTRNSAVE3" To="TD_D">
<Condition Type="CONDITION">$HR_SPAN &lt; 120 &amp;&amp; $APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN,$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="TD_D" Id="SAVESIGNTRAN3" Name="SAVESIGNTRAN3" To="PO_PJ_SIGN">
<Condition Type="CONDITION">$APP_STATUS == "1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="PM_D" Id="SAVESIGNTRAN2" Name="SAVESIGNTRAN2" To="SCMHD_SIGN">
<Condition Type="CONDITION">$APP_STATUS == "1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="SCMHD_SIGN" Id="PORDERAPRV_Tra26" To="PORDERAPRV_Act1">
<Condition Type="CONDITION">$HR_SPAN &gt; 120</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN"/>
</ExtendedAttributes>
</Transition>
<Transition From="PORDERAPRV_Act1" Id="PORDERAPRV_Tra27" To="PO_PJ_SIGN">
<Condition Type="CONDITION">$APP_RESULT=="Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="PO_APRV_CONF" Id="PORDERAPRV_Tra29" To="SCM_SENDMAIL">
<Condition Type="CONDITION">$APP_RESULT=="Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="PO_APRV_CONF" Id="PORDERAPRV_Tra30" To="FINEXEC_SENDMAIL">
<Condition Type="CONDITION">$APP_RESULT=="Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="FINEXEC_SIGN" Id="PORDERAPRV_Tra33" To="PORDER_REJMAIL">
<Condition Type="CONDITION">$APP_RESULT=="R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SCMHD_SIGN" Id="PORDERAPRV_Tra34" To="PORDER_REJMAIL">
<Condition Type="CONDITION">$APP_RESULT=="R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="PO_PJ_SIGN" Id="PORDERAPRV_Tra35" To="PORDER_REJMAIL">
<Condition Type="CONDITION">$APP_RESULT=="R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
</Transitions>
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow" Value="PUREXECTVE;PORDERAPRV;60;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="PUREXECTVE;PORDER_REJMAIL;610;40;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="FINEXECTVE;FINEXEC_SENDMAIL;1050;30;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="SCMHEAD;SCM_SENDMAIL;1100;40;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="PUREXECTVE;PUREXEC_SENDMAIL;990;50;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="PUREXECTVE;FINEXECTVE;SCMHEAD;PORD_PJ_APR;"/>
</ExtendedAttributes>
</WorkflowProcess>
</WorkflowProcesses>
<ExtendedAttributes>
<ExtendedAttribute Name="MadeBy" Value="JaWE"/>
<ExtendedAttribute Name="Version" Value="1.4.2"/>
</ExtendedAttributes>
</Package>
<?xml version="1.0" encoding="UTF-8"?>
<Package Id="ROSALESORDERWF" xmlns="http://www.wfmc.org/2002/XPDL1.0" xmlns:xpdl="http://www.wfmc.org/2002/XPDL1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wfmc.org/2002/XPDL1.0 http://wfmc.org/standards/docs/TC-1025_schema_10_xpdl.xsd">
<PackageHeader>
<XPDLVersion>1.0</XPDLVersion>
<Vendor>Together</Vendor>
<Created>2018-01-05 15:13:37</Created>
</PackageHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<ConformanceClass GraphConformance="NON_BLOCKED"/>
<WorkflowProcesses>
<WorkflowProcess AccessLevel="PUBLIC" Id="ROSALESORDERWF" Name="ROSALESORDERWF">
<ProcessHeader DurationUnit="D">
<Created>2018-01-05 15:14:22</Created>
</ProcessHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<Participants>
<Participant Id="RO_SO_INIT" Name="RO_SO_INIT">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="RO_SO_INIT"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Initiator"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.emp_code__ord:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="RO_SO_APR1" Name="RO_SO_APR1">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="RO_SO_APR1"/>
<ExtendedAttribute Name="SIGN_FOR" Value="First level approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.emp_code__ord:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="RO_SO_APR2" Name="RO_SO_APR2">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="RO_SO_APR2"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Second level approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.emp_code__ord:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="RO_SO_APR3" Name="RO_SO_APR3">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="RO_SO_APR3"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Final level approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.emp_code__ord:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
</Participants>
<Applications>
<Application Id="SignTrans" Name="SignTrans">
<FormalParameters>
<FormalParameter Id="processInstanceId" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="roleCodeSign" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="entityCode" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="formatCode" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="xslFileName" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="signFor" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="context1" Index="7" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="context2" Index="8" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="context3" Index="9" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.wrkflw.utility.SignTrans"/>
<ExtendedAttribute Name="METHOD_NAME" Value="insertSignCtx"/>
<ExtendedAttribute Name="EXEC_MODE" Value="ASYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="TranSave" Name="TranSave">
<FormalParameters>
<FormalParameter Id="OBJ_NAME" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="REF_ID" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="ENTITY_ID" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRC_INST_ID" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="TRANS_INFO" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRFMR_CODE" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="NEW_REC" Index="7" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.wrkflw.utility.TransSave"/>
<ExtendedAttribute Name="METHOD_NAME" Value="saveChangeInTrans"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="SorderConfWF" Name="SorderConfWF">
<FormalParameters>
<FormalParameter Id="REF_ID" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="XTRA_PARAMS" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="FORCED_FLAG" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="USER_INFO" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="EJB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.webitm.ejb.dis.adv.SorderConfWF"/>
<ExtendedAttribute Name="METHOD_NAME" Value="confirm"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="EMail" Name="EMail">
<FormalParameters>
<FormalParameter Id="mailXMLStr" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="infoType" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="processInstanceId" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.utility.EMail"/>
<ExtendedAttribute Name="METHOD_NAME" Value="sendMail"/>
</ExtendedAttributes>
</Application>
</Applications>
<Activities>
<Activity Id="ROSALESORDERWF" Name="ROSALESORDERWF">
<Implementation>
<No/>
</Implementation>
<Performer>RO_SO_INIT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="RO_SO_INIT"/>
<ExtendedAttribute Name="XOffset" Value="240"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APR1_SIGN" Name="APR1_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>RO_SORD_APRV</ActualParameter>
<ActualParameter>ROSALESORDERWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Release Order</ActualParameter>
<ActualParameter>&lt;Detail1.order_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.sale_order&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>RO_SO_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="ROSALESORDERWF_Tra3"/>
<TransitionRef Id="ROSALESORDERWF_Tra5"/>
<TransitionRef Id="ROSALESORDERWF_Tra14"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="RO_SO_APR1"/>
<ExtendedAttribute Name="XOffset" Value="240"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APR2_SIGN" Name="APR2_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>RO_SORD_APRV</ActualParameter>
<ActualParameter>ROSALESORDERWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Release Order</ActualParameter>
<ActualParameter>&lt;Detail1.order_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.sale_order&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>RO_SO_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="ROSALESORDERWF_Tra15"/>
<TransitionRef Id="ROSALESORDERWF_Tra4"/>
<TransitionRef Id="ROSALESORDERWF_Tra6"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="RO_SO_APR2"/>
<ExtendedAttribute Name="XOffset" Value="240"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APR3_SIGN" Name="APR3_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>RO_SORD_APRV</ActualParameter>
<ActualParameter>ROSALESORDERWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Release Order</ActualParameter>
<ActualParameter>&lt;Detail1.order_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.sale_order&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>RO_SO_APR3</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="ROSALESORDERWF_Tra7"/>
<TransitionRef Id="ROSALESORDERWF_Tra16"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="RO_SO_APR3"/>
<ExtendedAttribute Name="XOffset" Value="240"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SO_APR1_TSAVE" Name="SO_APR1_TSAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>sorder</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>RO_SO_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="RO_SO_APR1"/>
<ExtendedAttribute Name="XOffset" Value="450"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SO_APR2_TSAVE" Name="SO_APR2_TSAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>sorder</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>RO_SO_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="RO_SO_APR2"/>
<ExtendedAttribute Name="XOffset" Value="450"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SO_APR3_TSAVE" Name="SO_APR3_TSAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>sorder</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>RO_SO_APR3</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="RO_SO_APR3"/>
<ExtendedAttribute Name="XOffset" Value="450"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="RO_SO_CONF" Name="RO_SO_CONF">
<Implementation>
<Tool Id="SorderConfWF" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>loginCode=$PRFMR_CODE~tloginEmpCode=$PRFMR_CODE</ActualParameter>
<ActualParameter>true</ActualParameter>
<ActualParameter>$USER_INFO</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>RO_SO_APR3</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="ROSALESORDERWF_Tra12"/>
<TransitionRef Id="ROSALESORDERWF_Tra11"/>
<TransitionRef Id="ROSALESORDERWF_Tra13"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="RO_SO_APR3"/>
<ExtendedAttribute Name="XOffset" Value="610"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APR3_APRV_MAIL" Name="APR3_APRV_MAIL">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;sorder&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;ROSORD_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>RO_SO_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="RO_SO_APR2"/>
<ExtendedAttribute Name="XOffset" Value="690"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APR2_APRV_MAIL" Name="APR2_APRV_MAIL">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;sorder&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;ROSORD_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>RO_SO_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="RO_SO_APR1"/>
<ExtendedAttribute Name="XOffset" Value="660"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="INIT_APRV_MAIL" Name="INIT_APRV_MAIL">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;sorder&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;ROSORD_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>RO_SO_INIT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="RO_SO_INIT"/>
<ExtendedAttribute Name="XOffset" Value="610"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="INIT_REJ_MAIL" Name="INIT_REJ_MAIL">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;sorder&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;ROSORD_REJ&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>RO_SO_INIT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="RO_SO_INIT"/>
<ExtendedAttribute Name="XOffset" Value="400"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
</Activities>
<Transitions>
<Transition From="ROSALESORDERWF" Id="ROSALESORDERWF_Tra2" To="APR1_SIGN">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR1_SIGN" Id="ROSALESORDERWF_Tra3" To="APR2_SIGN">
<Condition Type="CONDITION">$HR_SPAN &gt; 120</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR2_SIGN" Id="ROSALESORDERWF_Tra4" To="APR3_SIGN">
<Condition Type="CONDITION">$HR_SPAN &gt; 120</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR1_SIGN" Id="ROSALESORDERWF_Tra5" To="SO_APR1_TSAVE">
<Condition Type="CONDITION">$HR_SPAN &lt; 120 &amp;&amp; $APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN,$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR2_SIGN" Id="ROSALESORDERWF_Tra6" To="SO_APR2_TSAVE">
<Condition Type="CONDITION">$HR_SPAN &lt; 120 &amp;&amp; $APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN,$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR3_SIGN" Id="ROSALESORDERWF_Tra7" To="SO_APR3_TSAVE">
<Condition Type="CONDITION">$APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SO_APR1_TSAVE" Id="ROSALESORDERWF_Tra8" To="APR2_SIGN">
<Condition Type="CONDITION">$APP_STATUS == "1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="SO_APR2_TSAVE" Id="ROSALESORDERWF_Tra9" To="APR3_SIGN">
<Condition Type="CONDITION">$APP_STATUS == "1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="SO_APR3_TSAVE" Id="ROSALESORDERWF_Tra10" To="RO_SO_CONF">
<Condition Type="CONDITION">$APP_STATUS == "1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="RO_SO_CONF" Id="ROSALESORDERWF_Tra11" To="APR3_APRV_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="RO_SO_CONF" Id="ROSALESORDERWF_Tra12" To="APR2_APRV_MAIL">
<Condition Type="CONDITION">$APP_RESULT</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="RO_SO_CONF" Id="ROSALESORDERWF_Tra13" To="INIT_APRV_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR1_SIGN" Id="ROSALESORDERWF_Tra14" To="INIT_REJ_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR2_SIGN" Id="ROSALESORDERWF_Tra15" To="INIT_REJ_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR3_SIGN" Id="ROSALESORDERWF_Tra16" To="INIT_REJ_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
</Transitions>
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow" Value="RO_SO_INIT;ROSALESORDERWF;90;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="RO_SO_INIT;INIT_REJ_MAIL;520;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="RO_SO_INIT;INIT_APRV_MAIL;820;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="RO_SO_APR2;APR3_APRV_MAIL;820;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="RO_SO_APR1;APR2_APRV_MAIL;820;50;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="RO_SO_INIT;RO_SO_APR1;RO_SO_APR2;RO_SO_APR3;"/>
</ExtendedAttributes>
</WorkflowProcess>
</WorkflowProcesses>
<ExtendedAttributes>
<ExtendedAttribute Name="MadeBy" Value="JaWE"/>
<ExtendedAttribute Name="Version" Value="1.4.2"/>
</ExtendedAttributes>
</Package>
<?xml version="1.0" encoding="UTF-8"?>
<Package Id="SALESCONTRACTWF" xmlns="http://www.wfmc.org/2002/XPDL1.0" xmlns:xpdl="http://www.wfmc.org/2002/XPDL1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wfmc.org/2002/XPDL1.0 http://wfmc.org/standards/docs/TC-1025_schema_10_xpdl.xsd">
<PackageHeader>
<XPDLVersion>1.0</XPDLVersion>
<Vendor>Together</Vendor>
<Created>2018-01-05 12:59:38</Created>
</PackageHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<ConformanceClass GraphConformance="NON_BLOCKED"/>
<WorkflowProcesses>
<WorkflowProcess AccessLevel="PUBLIC" Id="SALESCONTRACTWF" Name="SALESCONTRACTWF">
<ProcessHeader DurationUnit="D">
<Created>2018-01-05 12:59:56</Created>
</ProcessHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<Participants>
<Participant Id="SCONT_INIT" Name="SCONT_INIT">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SCONT_INIT"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Initiator"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.cust_code:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="SCONT_APR1" Name="SCONT_APR1">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SCONT_APR1"/>
<ExtendedAttribute Name="SIGN_FOR" Value="First approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.cust_code:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="SCONT_APR2" Name="SCONT_APR2">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SCONT_APR2"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Second approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.cust_code:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="SCONT_APR3" Name="SCONT_APR3">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SCONT_APR3"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Final approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.cust_code:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
</Participants>
<Applications>
<Application Id="SignTrans" Name="SignTrans">
<FormalParameters>
<FormalParameter Id="processInstanceId" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="roleCodeSign" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="entityCode" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="formatCode" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="xslFileName" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="signFor" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="context1" Index="7" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="context2" Index="8" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="context3" Index="9" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.wrkflw.utility.SignTrans"/>
<ExtendedAttribute Name="METHOD_NAME" Value="insertSignCtx"/>
<ExtendedAttribute Name="EXEC_MODE" Value="ASYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="TranSave" Name="TranSave">
<FormalParameters>
<FormalParameter Id="OBJ_NAME" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="REF_ID" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="ENTITY_ID" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRC_INST_ID" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="TRANS_INFO" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRFMR_CODE" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="NEW_REC" Index="7" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.wrkflw.utility.TransSave"/>
<ExtendedAttribute Name="METHOD_NAME" Value="saveChangeInTrans"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="SContractConfWF" Name="SContractConfWF">
<FormalParameters>
<FormalParameter Id="CONTRACT_NO" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="EMP_CODE_CON" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="XML_DATA_ALL" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRC_ID" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="keyFlag" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="USER_INFO" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.webitm.ejb.dis.SalesContractConfWF"/>
<ExtendedAttribute Name="METHOD_NAME" Value="confirm"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="EMail" Name="EMail">
<FormalParameters>
<FormalParameter Id="mailXMLStr" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="infoType" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="processInstanceId" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.utility.EMail"/>
<ExtendedAttribute Name="METHOD_NAME" Value="sendMail"/>
</ExtendedAttributes>
</Application>
</Applications>
<Activities>
<Activity Id="SALESCONTRACTWF" Name="SALESCONTRACTWF">
<Implementation>
<No/>
</Implementation>
<Performer>SCONT_INIT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SCONT_INIT"/>
<ExtendedAttribute Name="XOffset" Value="210"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SC_APR1_SIGN" Name="SC_APR1_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>SCONT_APRV</ActualParameter>
<ActualParameter>SALESCONTRACTWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Sales Contract</ActualParameter>
<ActualParameter>&lt;Detail1.contract_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.contract_no&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SCONT_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="SALESCONTRACTWF_Tra3"/>
<TransitionRef Id="SALESCONTRACTWF_Tra9"/>
<TransitionRef Id="SALESCONTRACTWF_Tra14"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SCONT_APR1"/>
<ExtendedAttribute Name="XOffset" Value="210"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SC_APR2_SIGN" Name="SC_APR2_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>SCONT_APRV</ActualParameter>
<ActualParameter>SALESCONTRACTWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Sales Contract</ActualParameter>
<ActualParameter>&lt;Detail1.contract_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.contract_no&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SCONT_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="SALESCONTRACTWF_Tra10"/>
<TransitionRef Id="SALESCONTRACTWF_Tra5"/>
<TransitionRef Id="SALESCONTRACTWF_Tra15"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SCONT_APR2"/>
<ExtendedAttribute Name="XOffset" Value="210"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SC_APR3_SIGN" Name="SC_APR3_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>SCONT_APRV</ActualParameter>
<ActualParameter>SALESCONTRACTWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Sales Contract</ActualParameter>
<ActualParameter>&lt;Detail1.contract_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.contract_no&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SCONT_APR3</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="SALESCONTRACTWF_Tra16"/>
<TransitionRef Id="SALESCONTRACTWF_Tra7"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SCONT_APR3"/>
<ExtendedAttribute Name="XOffset" Value="210"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SC_APR1_TSAVE" Name="SC_APR1_TSAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>scontract</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SCONT_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SCONT_APR1"/>
<ExtendedAttribute Name="XOffset" Value="420"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SC_APR2_TSAVE" Name="SC_APR2_TSAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>scontract</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SCONT_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SCONT_APR2"/>
<ExtendedAttribute Name="XOffset" Value="420"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SC_APR3_TSAVE" Name="SC_APR3_TSAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>scontract</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SCONT_APR3</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SCONT_APR3"/>
<ExtendedAttribute Name="XOffset" Value="420"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SCONT_CONF" Name="SCONT_CONF">
<Implementation>
<Tool Id="SContractConfWF" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>&lt;Detail1.emp_code__con&gt;</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>E</ActualParameter>
<ActualParameter>$USER_INFO</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SCONT_APR3</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="SALESCONTRACTWF_Tra12"/>
<TransitionRef Id="SALESCONTRACTWF_Tra13"/>
<TransitionRef Id="SALESCONTRACTWF_Tra11"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SCONT_APR3"/>
<ExtendedAttribute Name="XOffset" Value="620"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APR2_APRV_MAIL" Name="APR2_APRV_MAIL">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;scontract&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;SCONT_APRV_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SCONT_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SCONT_APR2"/>
<ExtendedAttribute Name="XOffset" Value="710"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APR1_APRV_MAIL" Name="APR1_APRV_MAIL">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;scontract&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;SCONT_APRV_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SCONT_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SCONT_APR1"/>
<ExtendedAttribute Name="XOffset" Value="670"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="INIT_APRV_MAIL" Name="INIT_APRV_MAIL">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;scontract&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;SCONT_APRV_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SCONT_INIT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SCONT_INIT"/>
<ExtendedAttribute Name="XOffset" Value="620"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="INIT_REJ_MAIL" Name="INIT_REJ_MAIL">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;scontract&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;SCONT_APRV_REJ&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SCONT_INIT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SCONT_INIT"/>
<ExtendedAttribute Name="XOffset" Value="370"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
</Activities>
<Transitions>
<Transition From="SALESCONTRACTWF" Id="SALESCONTRACTWF_Tra2" To="SC_APR1_SIGN">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="SC_APR1_SIGN" Id="SALESCONTRACTWF_Tra3" To="SC_APR1_TSAVE">
<Condition Type="CONDITION">$HR_SPAN &lt; 120 &amp;&amp; $APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN,$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SC_APR1_TSAVE" Id="SALESCONTRACTWF_Tra4" To="SC_APR2_SIGN">
<Condition Type="CONDITION">$APP_STATUS == "1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="SC_APR2_SIGN" Id="SALESCONTRACTWF_Tra5" To="SC_APR2_TSAVE">
<Condition Type="CONDITION">$HR_SPAN &lt; 120 &amp;&amp; $APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN,$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SC_APR2_TSAVE" Id="SALESCONTRACTWF_Tra6" To="SC_APR3_SIGN">
<Condition Type="CONDITION">$APP_STATUS == "1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="SC_APR3_SIGN" Id="SALESCONTRACTWF_Tra7" To="SC_APR3_TSAVE">
<Condition Type="CONDITION">$APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SC_APR3_TSAVE" Id="SALESCONTRACTWF_Tra8" To="SCONT_CONF">
<Condition Type="CONDITION">$APP_STATUS == "1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="SC_APR1_SIGN" Id="SALESCONTRACTWF_Tra9" To="SC_APR2_SIGN">
<Condition Type="CONDITION">$HR_SPAN &lt; 120</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN"/>
</ExtendedAttributes>
</Transition>
<Transition From="SC_APR2_SIGN" Id="SALESCONTRACTWF_Tra10" To="SC_APR3_SIGN">
<Condition Type="CONDITION">$HR_SPAN &lt; 120</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN"/>
</ExtendedAttributes>
</Transition>
<Transition From="SCONT_CONF" Id="SALESCONTRACTWF_Tra11" To="APR2_APRV_MAIL">
<Condition Type="CONDITION">$APP_RESULT=="Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SCONT_CONF" Id="SALESCONTRACTWF_Tra12" To="APR1_APRV_MAIL">
<Condition Type="CONDITION">$APP_RESULT=="Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SCONT_CONF" Id="SALESCONTRACTWF_Tra13" To="INIT_APRV_MAIL">
<Condition Type="CONDITION">$APP_RESULT=="Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SC_APR1_SIGN" Id="SALESCONTRACTWF_Tra14" To="INIT_REJ_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SC_APR2_SIGN" Id="SALESCONTRACTWF_Tra15" To="INIT_REJ_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SC_APR3_SIGN" Id="SALESCONTRACTWF_Tra16" To="INIT_REJ_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
</Transitions>
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow" Value="SCONT_INIT;SALESCONTRACTWF;70;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="SCONT_APR2;APR2_APRV_MAIL;830;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="SCONT_INIT;INIT_APRV_MAIL;830;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="SCONT_INIT;INIT_REJ_MAIL;530;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="SCONT_APR1;APR1_APRV_MAIL;830;50;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="SCONT_INIT;SCONT_APR1;SCONT_APR2;SCONT_APR3;"/>
</ExtendedAttributes>
</WorkflowProcess>
</WorkflowProcesses>
<ExtendedAttributes>
<ExtendedAttribute Name="MadeBy" Value="JaWE"/>
<ExtendedAttribute Name="Version" Value="1.4.2"/>
</ExtendedAttributes>
</Package>
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/hr_portal1.css"></link>
<!--<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/hr_portal1.css"></link>-->
<style type="text/css">
.tableClass {margin-bottom:10px; width:100%; background-color:#FFF;
/*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px
solid #d9d9d9;}
.tableClass td {border-bottom: 1px solid #d9d9d9; border-right: 1px solid
#d9d9d9; font-size:14px;}
.tbletopbrd{border-top:2px solid #5fdeb2;}
.date {
color: #9d9ca2;
font-size: 11px;
font-weight: normal;
}
td {
padding: 5px;
}
</style>
</head>
<body>
<INPUT type="hidden" name="OBJ_NAME" id="OBJ_NAME" value='consume_issue'/>
<INPUT type='hidden' name='OBJ_CONTEXT' value='1'/>
<INPUT type='hidden' name='EDIT_FLAG' value='A'/>
<INPUT type='hidden' name='DOM_ID' value='{@domID}'/>
<INPUT type='hidden' name='DB_ID' value='{@dbID}'/>
<xsl:for-each select="//Detail1">
<TABLE name="main" id="main" class="tLabel" style="position:relative; width:100%; border-top: #5fdeb2 3px solid;" cellspacing="0" cellpadding="0" >
<tr>
<td colspan="3" >
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="tblenew">
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Consumption order:
<b><xsl:value-of select="cons_order" /></b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Date:
<b><xsl:value-of select="issue_date"/></b>
</font>
</td>
</tr>
<tr>
<td colspan="3" class = "tLabelDataD3" >
<div class = "tLabelDataD3" >
<font size="4">
<b><xsl:value-of select="employee_emp_fname"/>&#160;
<xsl:value-of select="employee_emp_lname"/></b>
</font>
</div>
<div class="empInfoDiv" >
<font size="3">
<b><xsl:value-of select="emp_code"/></b>
</font>
</div>
</td>
</tr>
&#160;
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Created by:
<b><xsl:value-of select="employee_emp_fname" />
<xsl:value-of select="employee_emp_lname" />
(<xsl:value-of select="emp_code__ord" />)</b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Item series:
<b><xsl:for-each select="//Detail1">
<xsl:value-of select="itemser_descr"/>
(<xsl:value-of select="item_ser" />)
</xsl:for-each></b>
</font>
</td>
</tr>
</TABLE>
</td>
</tr>
<tr>
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tTitleD" >
<tr>
<td class="cellttl1">Bill to: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:for-each select="//Detail1">
<xsl:value-of select="site_descr" />&#160;
(<xsl:value-of select="site_code__ord" />)
</xsl:for-each>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Transport mode: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:choose>
<xsl:when test="trans_mode='A' ">
By Air
</xsl:when>
<xsl:when test="trans_mode='R' ">
By Road
</xsl:when>
<xsl:when test="trans_mode='L' ">
By Rail
</xsl:when>
<xsl:when test="trans_mode='S' ">
By Ship
</xsl:when>
</xsl:choose>
</font>
</td>
</tr>
</table>
</td>
</tr>
</TABLE>
</xsl:for-each>
<br/>
<div style="overflow-x: scroll; width:100%">
<table class="tableClass" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tbody>
<xsl:for-each select="//Detail1">
<tr border="1">
<td width="100px">
<font face="Times New Roman" size="2">Sr no</font>
</td>
<td width="100px">
<font face="Times New Roman" size="2">Item</font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Quantity</font>
</td>
<td width="100px">
<font face="Times New Roman" size="2">Unit</font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Rate<br/></font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Amount<br/></font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Tax amount<br/></font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Net amount<br/></font>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//Detail2">
<xsl:sort select="item_code" />
<xsl:variable name="dbID">
<xsl:value-of select="@domID" />
</xsl:variable>
<xsl:variable name="line_no">
<xsl:value-of select="line_no" />
</xsl:variable>
<xsl:variable name="line_no__inv">
<xsl:value-of select="line_no__inv" />
</xsl:variable>
<tr>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="line_no"/>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="item_descr" />&#160;
(<xsl:value-of select="item_code" />)
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="quantity" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="unit" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<!--<xsl:value-of select="rate" />-->
<xsl:value-of select="format-number(rate, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<!--<xsl:value-of select="discount" />-->
<xsl:value-of select="format-number(amount, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="format-number(tax_amt, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:value-of select="format-number(net_amt, '##,###,###,###,###')"/>
</font>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/hr_portal1.css"></link>
<!--<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/hr_portal1.css"></link>-->
<style type="text/css">
.tableClass {margin-bottom:10px; width:100%; background-color:#FFF;
/*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px
solid #d9d9d9;}
.tableClass td {border-bottom: 1px solid #d9d9d9; border-right: 1px solid
#d9d9d9; font-size:14px;}
.tbletopbrd{border-top:2px solid #5fdeb2;}
.date {
color: #9d9ca2;
font-size: 11px;
font-weight: normal;
}
td {
padding: 5px;
}
</style>
</head>
<body>
<INPUT type="hidden" name="OBJ_NAME" id="OBJ_NAME" value='consume_issue'/>
<INPUT type='hidden' name='OBJ_CONTEXT' value='1'/>
<INPUT type='hidden' name='EDIT_FLAG' value='A'/>
<INPUT type='hidden' name='DOM_ID' value='{@domID}'/>
<INPUT type='hidden' name='DB_ID' value='{@dbID}'/>
<xsl:for-each select="//Detail1">
<TABLE name="main" id="main" class="tLabel" style="position:relative; width:100%; border-top: #5fdeb2 3px solid;" cellspacing="0" cellpadding="0" >
<tr>
<td colspan="3" >
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="tblenew">
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Consumption order:
<b><xsl:value-of select="cons_order" /></b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Date:
<b><xsl:value-of select="issue_date"/></b>
</font>
</td>
</tr>
<tr>
<td colspan="3" class = "tLabelDataD3" >
<div class = "tLabelDataD3" >
<font size="4">
<b><xsl:value-of select="employee_emp_fname"/>&#160;
<xsl:value-of select="employee_emp_lname"/></b>
</font>
</div>
<div class="empInfoDiv" >
<font size="3">
<b><xsl:value-of select="emp_code"/></b>
</font>
</div>
</td>
</tr>
&#160;
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Created by:
<b><xsl:value-of select="employee_emp_fname" />
<xsl:value-of select="employee_emp_lname" />
(<xsl:value-of select="emp_code__ord" />)</b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Item series:
<b><xsl:for-each select="//Detail1">
<xsl:value-of select="itemser_descr"/>
(<xsl:value-of select="item_ser" />)
</xsl:for-each></b>
</font>
</td>
</tr>
</TABLE>
</td>
</tr>
<tr>
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tTitleD" >
<tr>
<td class="cellttl1">Bill to: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:for-each select="//Detail1">
<xsl:value-of select="site_descr" />&#160;
(<xsl:value-of select="site_code__ord" />)
</xsl:for-each>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Transport mode: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:choose>
<xsl:when test="trans_mode='A' ">
By Air
</xsl:when>
<xsl:when test="trans_mode='R' ">
By Road
</xsl:when>
<xsl:when test="trans_mode='L' ">
By Rail
</xsl:when>
<xsl:when test="trans_mode='S' ">
By Ship
</xsl:when>
</xsl:choose>
</font>
</td>
</tr>
</table>
</td>
</tr>
</TABLE>
</xsl:for-each>
<br/>
<div style="overflow-x: scroll; width:100%">
<table class="tableClass" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tbody>
<xsl:for-each select="//Detail1">
<tr border="1">
<td width="100px">
<font face="Times New Roman" size="2">Sr no</font>
</td>
<td width="100px">
<font face="Times New Roman" size="2">Item</font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Quantity</font>
</td>
<td width="100px">
<font face="Times New Roman" size="2">Unit</font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Rate<br/></font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Amount<br/></font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Tax amount<br/></font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Net amount<br/></font>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//Detail2">
<xsl:sort select="item_code" />
<xsl:variable name="dbID">
<xsl:value-of select="@domID" />
</xsl:variable>
<xsl:variable name="line_no">
<xsl:value-of select="line_no" />
</xsl:variable>
<xsl:variable name="line_no__inv">
<xsl:value-of select="line_no__inv" />
</xsl:variable>
<tr>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="line_no"/>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="item_descr" />&#160;
(<xsl:value-of select="item_code" />)
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="quantity" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="unit" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<!--<xsl:value-of select="rate" />-->
<xsl:value-of select="format-number(rate, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<!--<xsl:value-of select="discount" />-->
<xsl:value-of select="format-number(amount, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="format-number(tax_amt, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:value-of select="format-number(net_amt, '##,###,###,###,###')"/>
</font>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<!--<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/hr_portal1.css"></link>-->
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/GTPL_WORKFLOW/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/GTPL_WORKFLOW/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/GTPL_WORKFLOW/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/GTPL_WORKFLOW/css/hr_portal1.css"></link>
<style type="text/css">
.tableClass {margin-bottom:10px; width:100%; background-color:#FFF;
/*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px
solid #d9d9d9;}
.tableClass td {border-bottom: 1px solid #d9d9d9; border-right: 1px solid
#d9d9d9; font-size:14px;}
.tbletopbrd{border-top:2px solid #5fdeb2;}
.date {
color: #9d9ca2;
font-size: 11px;
font-weight: normal;
}
td {
padding: 5px;
}
</style>
</head>
<body>
<INPUT type="hidden" name="OBJ_NAME" id="OBJ_NAME" value='indent_req'/>
<INPUT type='hidden' name='OBJ_CONTEXT' value='1'/>
<INPUT type='hidden' name='EDIT_FLAG' value='A'/>
<INPUT type='hidden' name='DOM_ID' value='{@domID}'/>
<INPUT type='hidden' name='DB_ID' value='{@dbID}'/>
<xsl:for-each select="//Detail1">
<xsl:variable name="dbID">
<xsl:value-of select="@dbID" />
</xsl:variable>
<xsl:variable name="wf_status">
<xsl:value-of select="wf_status" />
</xsl:variable>
<xsl:variable name="ind_no">
<xsl:value-of select="ind_no" />
</xsl:variable>
<xsl:variable name="ind_date">
<xsl:value-of select="ind_date" />
</xsl:variable>
<xsl:variable name="ind_type">
<xsl:value-of select="ind_type" />
</xsl:variable>
<xsl:variable name="site_code__ori">
<xsl:value-of select="site_code__ori" />
</xsl:variable>
<xsl:variable name="dept_code">
<xsl:value-of select="dept_code" />
</xsl:variable>
<xsl:variable name="emp_code__req">
<xsl:value-of select="emp_code__req" />
</xsl:variable>
<xsl:variable name="proj_code">
<xsl:value-of select="proj_code" />
</xsl:variable>
<xsl:variable name="item_ser">
<xsl:value-of select="item_ser" />
</xsl:variable>
<xsl:variable name="work_order">
<xsl:value-of select="work_order" />
</xsl:variable>
<xsl:variable name="remarks">
<xsl:value-of select="remarks" />
</xsl:variable>
<TABLE name="main" id="main" class="tLabel" style="position:relative; width:100%; border-top: #5fdeb2 3px solid;" cellspacing="0" cellpadding="0" >
<tr>
<td colspan="3" >
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="tblenew">
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Indent:
<b><xsl:value-of select="ind_no" /></b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Date:
<b><xsl:value-of select="ind_date" /></b>
</font>
</td>
</tr>
<tr>
<td colspan="3" class = "tLabelDataD3" >
<div class = "tLabelDataD3" >
<font size="4">
<b><xsl:value-of select="employee_emp_fname"/>&#160;
<xsl:value-of select="employee_emp_lname"/></b>
</font>
</div>
<div class="empInfoDiv" >
<font size="3">
<b><xsl:value-of select="emp_code__req"/></b>
</font>
</div>
</td>
</tr>
&#160;
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Site:
<b><xsl:value-of select="site_descr" />&#160;
(<xsl:value-of select="site_code__ori" />)</b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Item series: <b><xsl:value-of select="item_ser" /></b>
</font>
</td>
</tr>
</TABLE>
</td>
</tr>
<tr>
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tTitleD" >
<tr>
<td class="cellttl1">Reference: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="ref_no" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Delivery to: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="site_code__del"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Bill to: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="site_code__bil"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Project: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="proj_code" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Department: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="department_descr" />&#160;
(<xsl:value-of select="dept_code" />)
</font>
</td>
</tr>
<!--<tr>
<td class="cellttl1">Minimum batch quantity : </td>
<td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<xsl:value-of select= "min_batch_qty"/>
</td>
</tr>
<tr>
<td class="cellttl1">Maximum batch quantity : </td>
<td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<xsl:value-of select= "max_batch_qty"/>
</td>
</tr>-->
</table>
</td>
</tr>
</TABLE>
</xsl:for-each>
<br/>
<div style="overflow-x: scroll; width:100%">
<table class="tableClass" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tbody>
<xsl:for-each select="//Detail1">
<tr border="1">
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Sr no</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Item</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Unit</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Quantity</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Approximate rate</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Maximum rate</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Last purchase rate</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Required date</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Expected <br/>consumption date</font>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//Detail2">
<xsl:sort select="item_code" />
<xsl:variable name="dbID">
<xsl:value-of select="@domID" />
</xsl:variable>
<xsl:variable name="line_no">
<xsl:value-of select="line_no" />
</xsl:variable>
<xsl:variable name="line_no__inv">
<xsl:value-of select="line_no__inv" />
</xsl:variable>
<tr>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="line_no"/>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="item_descr" />&#160;
(<xsl:value-of select="item_code" />)
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="unit" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="quantity" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="purc_rate" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="max_rate" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="last_pur_rate" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="req_date" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="exp_cons_date" />
</xsl:for-each>
</font>
</td>
</tr>
<!--<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="format-number(net_amt, '##,###,###,###,###')"/>
</font>
</td>-->
</xsl:for-each>
</tbody>
</table>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<!--<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/hr_portal1.css"></link>-->
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/hr_portal1.css"></link>
<style type="text/css">
.tableClass {margin-bottom:10px; width:100%; background-color:#FFF;
/*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px
solid #d9d9d9;}
.tableClass td {border-bottom: 1px solid #d9d9d9; border-right: 1px solid
#d9d9d9; font-size:14px;}
.tbletopbrd{border-top:2px solid #5fdeb2;}
.date {
color: #9d9ca2;
font-size: 11px;
font-weight: normal;
}
td {
padding: 5px;
}
</style>
</head>
<body>
<INPUT type="hidden" name="OBJ_NAME" id="OBJ_NAME" value='indent_req'/>
<INPUT type='hidden' name='OBJ_CONTEXT' value='1'/>
<INPUT type='hidden' name='EDIT_FLAG' value='A'/>
<INPUT type='hidden' name='DOM_ID' value='{@domID}'/>
<INPUT type='hidden' name='DB_ID' value='{@dbID}'/>
<xsl:for-each select="//Detail1">
<xsl:variable name="dbID">
<xsl:value-of select="@dbID" />
</xsl:variable>
<xsl:variable name="wf_status">
<xsl:value-of select="wf_status" />
</xsl:variable>
<xsl:variable name="ind_no">
<xsl:value-of select="ind_no" />
</xsl:variable>
<xsl:variable name="ind_date">
<xsl:value-of select="ind_date" />
</xsl:variable>
<xsl:variable name="ind_type">
<xsl:value-of select="ind_type" />
</xsl:variable>
<xsl:variable name="site_code__ori">
<xsl:value-of select="site_code__ori" />
</xsl:variable>
<xsl:variable name="dept_code">
<xsl:value-of select="dept_code" />
</xsl:variable>
<xsl:variable name="emp_code__req">
<xsl:value-of select="emp_code__req" />
</xsl:variable>
<xsl:variable name="proj_code">
<xsl:value-of select="proj_code" />
</xsl:variable>
<xsl:variable name="item_ser">
<xsl:value-of select="item_ser" />
</xsl:variable>
<xsl:variable name="work_order">
<xsl:value-of select="work_order" />
</xsl:variable>
<xsl:variable name="remarks">
<xsl:value-of select="remarks" />
</xsl:variable>
<TABLE name="main" id="main" class="tLabel" style="position:relative; width:60%; border-top: #5fdeb2 3px solid;" cellspacing="0" cellpadding="0" >
<tr>
<td colspan="3" >
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="tblenew">
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Indent:
<b><xsl:value-of select="ind_no" /></b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Date:
<b><xsl:value-of select="ind_date" /></b>
</font>
</td>
</tr>
<tr>
<td colspan="3" class = "tLabelDataD3" >
<div class = "tLabelDataD3" >
<font size="4">
<b><xsl:value-of select="employee_emp_fname"/>&#160;
<xsl:value-of select="employee_emp_lname"/></b>
</font>
</div>
<div class="empInfoDiv" >
<font size="3">
<b><xsl:value-of select="emp_code__req"/></b>
</font>
</div>
</td>
</tr>
&#160;
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Site:
<b><xsl:value-of select="site_descr" />&#160;
(<xsl:value-of select="site_code__ori" />)</b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Item series: <b><xsl:value-of select="item_ser" /></b>
</font>
</td>
</tr>
</TABLE>
</td>
</tr>
<tr>
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tTitleD" >
<tr>
<td class="cellttl1">Reference: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="ref_no" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Delivery to: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="site_code__del"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Bill to: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="site_code__bil"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Project: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="proj_code" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Department: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="department_descr" />&#160;
(<xsl:value-of select="dept_code" />)
</font>
</td>
</tr>
<!--<tr>
<td class="cellttl1">Minimum batch quantity : </td>
<td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<xsl:value-of select= "min_batch_qty"/>
</td>
</tr>
<tr>
<td class="cellttl1">Maximum batch quantity : </td>
<td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<xsl:value-of select= "max_batch_qty"/>
</td>
</tr>-->
</table>
</td>
</tr>
</TABLE>
</xsl:for-each>
<br/>
<div style="overflow-x: scroll; width:60%">
<table class="tableClass" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tbody>
<xsl:for-each select="//Detail1">
<tr border="1">
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Sr no</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Item</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Unit</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Quantity</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Approximate rate</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Maximum rate</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Last purchase rate</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Required date</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Expected <br/>consumption date</font>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//Detail2">
<xsl:sort select="item_code" />
<xsl:variable name="dbID">
<xsl:value-of select="@domID" />
</xsl:variable>
<xsl:variable name="line_no">
<xsl:value-of select="line_no" />
</xsl:variable>
<xsl:variable name="line_no__inv">
<xsl:value-of select="line_no__inv" />
</xsl:variable>
<tr>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="line_no"/>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="item_descr" />&#160;
(<xsl:value-of select="item_code" />)
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="unit" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="quantity" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="purc_rate" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="max_rate" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="last_pur_rate" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="req_date" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="exp_cons_date" />
</xsl:for-each>
</font>
</td>
</tr>
<!--<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="format-number(net_amt, '##,###,###,###,###')"/>
</font>
</td>-->
</xsl:for-each>
</tbody>
</table>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/hr_portal1.css"></link>
<!--<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/hr_portal1.css"></link>-->
<style type="text/css">
.tableClass {margin-bottom:10px; width:100%; background-color:#FFF;
/*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px
solid #d9d9d9;}
.tableClass td {border-bottom: 1px solid #d9d9d9; border-right: 1px solid
#d9d9d9; font-size:14px;}
.tbletopbrd{border-top:2px solid #5fdeb2;}
.date {
color: #9d9ca2;
font-size: 11px;
font-weight: normal;
}
td {
padding: 5px;
}
</style>
</head>
<body>
<INPUT type="hidden" name="OBJ_NAME" id="OBJ_NAME" value='pcontract'/>
<INPUT type='hidden' name='OBJ_CONTEXT' value='1'/>
<INPUT type='hidden' name='EDIT_FLAG' value='A'/>
<INPUT type='hidden' name='DOM_ID' value='{@domID}'/>
<INPUT type='hidden' name='DB_ID' value='{@dbID}'/>
<xsl:for-each select="//Detail1">
<TABLE name="main" id="main" class="tLabel" style="position:relative; width:100%; border-top: #5fdeb2 3px solid;" cellspacing="0" cellpadding="0" >
<tr>
<td colspan="3" >
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="tblenew">
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Contract no.:
<b><xsl:value-of select="contract_no" /></b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Date:
<b><xsl:value-of select="contract_date"/></b>
</font>
</td>
</tr>
<tr>
<td colspan="3" class = "tLabelDataD3" >
<div class = "tLabelDataD3" >
<font size="4">
<b><xsl:value-of select="supplier_supp_name"/></b>
</font>
</div>
<div class="empInfoDiv" >
<font size="3">
<b><xsl:value-of select="supp_code"/></b>
</font>
</div>
</td>
</tr>
&#160;
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Contract type:
<b><xsl:value-of select="contract_type"/></b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Item series:
<b><xsl:for-each select="//Detail1">
(<xsl:value-of select="item_ser" />)&#160;
<xsl:value-of select="itemser_descr" />
</xsl:for-each></b>
</font>
</td>
</tr>
</TABLE>
</td>
</tr>
<tr>
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tTitleD" >
<tr>
<td class="cellttl1"> Delivery term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="dlv_term" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Item: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:for-each select="//Detail2">
(<xsl:value-of select= "item_code"/>)&#160;
<xsl:value-of select= "item_descr"/>
</xsl:for-each>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Credit term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select= "crterm_descr"/>&#160;
(<xsl:value-of select= "cr_term"/>)
</xsl:for-each>
</font>
</td>
</tr>
</table>
</td>
</tr>
</TABLE>
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/hr_portal1.css"></link>
<!--<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/hr_portal1.css"></link>-->
<style type="text/css">
.tableClass {margin-bottom:10px; width:100%; background-color:#FFF;
/*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px
solid #d9d9d9;}
.tableClass td {border-bottom: 1px solid #d9d9d9; border-right: 1px solid
#d9d9d9; font-size:14px;}
.tbletopbrd{border-top:2px solid #5fdeb2;}
.date {
color: #9d9ca2;
font-size: 11px;
font-weight: normal;
}
td {
padding: 5px;
}
</style>
</head>
<body>
<INPUT type="hidden" name="OBJ_NAME" id="OBJ_NAME" value='pcontract'/>
<INPUT type='hidden' name='OBJ_CONTEXT' value='1'/>
<INPUT type='hidden' name='EDIT_FLAG' value='A'/>
<INPUT type='hidden' name='DOM_ID' value='{@domID}'/>
<INPUT type='hidden' name='DB_ID' value='{@dbID}'/>
<xsl:for-each select="//Detail1">
<TABLE name="main" id="main" class="tLabel" style="position:relative; width:100%; border-top: #5fdeb2 3px solid;" cellspacing="0" cellpadding="0" >
<tr>
<td colspan="3" >
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="tblenew">
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Contract no.:
<b><xsl:value-of select="contract_no" /></b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Date:
<b><xsl:value-of select="contract_date"/></b>
</font>
</td>
</tr>
<tr>
<td colspan="3" class = "tLabelDataD3" >
<div class = "tLabelDataD3" >
<font size="4">
<b><xsl:value-of select="supplier_supp_name"/></b>
</font>
</div>
<div class="empInfoDiv" >
<font size="3">
<b><xsl:value-of select="supp_code"/></b>
</font>
</div>
</td>
</tr>
&#160;
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Contract type:
<b><xsl:value-of select="contract_type"/></b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Item series:
<b><xsl:for-each select="//Detail1">
(<xsl:value-of select="item_ser" />)&#160;
<xsl:value-of select="itemser_descr" />
</xsl:for-each></b>
</font>
</td>
</tr>
</TABLE>
</td>
</tr>
<tr>
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tTitleD" >
<tr>
<td class="cellttl1"> Delivery term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="dlv_term" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Item: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:for-each select="//Detail2">
(<xsl:value-of select= "item_code"/>)&#160;
<xsl:value-of select= "item_descr"/>
</xsl:for-each>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Credit term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select= "crterm_descr"/>&#160;
(<xsl:value-of select= "cr_term"/>)
</xsl:for-each>
</font>
</td>
</tr>
</table>
</td>
</tr>
</TABLE>
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/hr_portal1.css"></link>
<!--<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/hr_portal1.css"></link>-->
<style type="text/css">
.tableClass {margin-bottom:10px; width:100%; background-color:#FFF;
/*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px
solid #d9d9d9;}
.tableClass td {border-bottom: 1px solid #d9d9d9; border-right: 1px solid
#d9d9d9; font-size:14px;}
.tbletopbrd{border-top:2px solid #5fdeb2;}
.date {
color: #9d9ca2;
font-size: 11px;
font-weight: normal;
}
td {
padding: 5px;
}
</style>
</head>
<body>
<INPUT type="hidden" name="OBJ_NAME" id="OBJ_NAME" value='sorder'/>
<INPUT type='hidden' name='OBJ_CONTEXT' value='1'/>
<INPUT type='hidden' name='EDIT_FLAG' value='A'/>
<INPUT type='hidden' name='DOM_ID' value='{@domID}'/>
<INPUT type='hidden' name='DB_ID' value='{@dbID}'/>
<xsl:for-each select="//Detail1">
<TABLE name="main" id="main" class="tLabel" style="position:relative; width:100%; border-top: #5fdeb2 3px solid;" cellspacing="0" cellpadding="0" >
<tr>
<td colspan="3" >
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="tblenew">
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Sales order:
<b><xsl:value-of select="sale_order" /></b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Date:
<b><xsl:value-of select="order_date"/></b>
</font>
</td>
</tr>
<tr>
<td colspan="3" class = "tLabelDataD3" >
<div class = "tLabelDataD3" >
<font size="4">
<b><xsl:value-of select="cust_name"/></b>
</font>
</div>
<div class="empInfoDiv" >
<font size="3">
<b><xsl:value-of select="cust_code"/></b>
</font>
</div>
</td>
</tr>
&#160;
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Created by:
<b><xsl:value-of select="employee_emp_fname" />
<xsl:value-of select="employee_emp_lname" />
(<xsl:value-of select="emp_code__ord1" />)</b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Item series:
<b><xsl:for-each select="//Detail2">
<xsl:value-of select="itemser_descr"/>
(<xsl:value-of select="item_ser" />)
</xsl:for-each></b>
</font>
</td>
</tr>
</TABLE>
</td>
</tr>
<tr>
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tTitleD" >
<tr>
<td class="cellttl1">Bill to: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="cust_name__bil"/>&#160;
(<xsl:value-of select="cust_code__bil"/>)<br/>
<xsl:value-of select= "bill_addr1"/>,<br/>
<xsl:value-of select= "bill_addr2"/>,&#160;
<xsl:value-of select= "bill_addr3"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1"> Delivery term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="dlv_term" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1"> Site: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="site_descr" />&#160;
(<xsl:value-of select="site_code" />)
</xsl:for-each>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Delivery address: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select= "dlv_to"/>&#160;
(<xsl:value-of select= "cust_code__dlv"/>)<br/>
<xsl:value-of select= "dlv_add1"/>,<br/>
<xsl:value-of select= "dlv_add2"/>,&#160;
<xsl:value-of select= "dlv_add3"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Transport mode: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:choose>
<xsl:when test="trans_mode='A' ">
By Air
</xsl:when>
<xsl:when test="trans_mode='R' ">
By Road
</xsl:when>
<xsl:when test="trans_mode='L' ">
By Rail
</xsl:when>
<xsl:when test="trans_mode='S' ">
By Ship
</xsl:when>
</xsl:choose>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Credit term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select= "crterm_descr"/>&#160;
(<xsl:value-of select= "cr_term"/>)
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Credit limit: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select= "cr_lmt"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Outstanding amount: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
(<xsl:value-of select="curr_code"/>) <xsl:value-of select="os_amt" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Overdue amount: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
(<xsl:value-of select="curr_code"/>) <xsl:value-of select="ovos_amt" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Order amount: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
(<xsl:value-of select="curr_code"/>) <xsl:value-of select="ord_amt" />
</font>
</td>
</tr>
</table>
</td>
</tr>
</TABLE>
</xsl:for-each>
<br/>
<div style="overflow-x: scroll; width:100%">
<table class="tableClass" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tbody>
<xsl:for-each select="//Detail1">
<tr border="1">
<td width="100px">
<font face="Times New Roman" size="2">Sr no</font>
</td>
<td width="100px">
<font face="Times New Roman" size="2">Item</font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Quantity</font>
</td>
<td width="100px">
<font face="Times New Roman" size="2">Unit</font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Rate<br/></font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Discount<br/></font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Tax amount<br/></font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Net amount<br/></font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Total amount<br/></font>
</td>
<td width="100px">
<font face="Times New Roman" size="2">Delivery date</font>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//Detail2">
<xsl:sort select="item_code" />
<xsl:variable name="dbID">
<xsl:value-of select="@domID" />
</xsl:variable>
<xsl:variable name="line_no">
<xsl:value-of select="line_no" />
</xsl:variable>
<xsl:variable name="line_no__inv">
<xsl:value-of select="line_no__inv" />
</xsl:variable>
<tr>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="line_no"/>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="item_descr" />&#160;
(<xsl:value-of select="item_code" />)
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="quantity" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="unit" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<!--<xsl:value-of select="rate" />-->
<xsl:value-of select="format-number(rate, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<!--<xsl:value-of select="discount" />-->
<xsl:value-of select="format-number(discount, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="format-number(tax_amt, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:value-of select="format-number(net_amt, '##,###,###,###,###')"/>
</font>
</td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail1">
<xsl:value-of select="format-number(tot_amt, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="dsp_date" />
</xsl:for-each>
</font>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<!--<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/hr_portal1.css"></link>-->
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/hr_portal1.css"></link>
<style type="text/css">
.tableClass {margin-bottom:10px; width:100%; background-color:#FFF;
/*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px
solid #d9d9d9;}
.tableClass td {border-bottom: 1px solid #d9d9d9; border-right: 1px solid
#d9d9d9; font-size:14px;}
.tbletopbrd{border-top:2px solid #5fdeb2;}
.date {
color: #9d9ca2;
font-size: 11px;
font-weight: normal;
}
td {
padding: 5px;
}
</style>
</head>
<body>
<INPUT type="hidden" name="OBJ_NAME" id="OBJ_NAME" value='sorder'/>
<INPUT type='hidden' name='OBJ_CONTEXT' value='1'/>
<INPUT type='hidden' name='EDIT_FLAG' value='A'/>
<INPUT type='hidden' name='DOM_ID' value='{@domID}'/>
<INPUT type='hidden' name='DB_ID' value='{@dbID}'/>
<xsl:for-each select="//Detail1">
<!--<xsl:variable name="dbID">
<xsl:value-of select="@dbID" />
</xsl:variable>
<xsl:variable name="sale_order">
<xsl:value-of select="sale_order" />
</xsl:variable>
<xsl:variable name="order_date">
<xsl:value-of select="order_date" />
</xsl:variable>
<xsl:variable name="order_type">
<xsl:value-of select="order_type" />
</xsl:variable>
<xsl:variable name="cust_code">
<xsl:value-of select="cust_code" />
</xsl:variable>
<xsl:variable name="sales_pers">
<xsl:value-of select="sales_pers" />
</xsl:variable>
<xsl:variable name="crterm_descr">
<xsl:value-of select="crterm_descr" />
</xsl:variable>
<xsl:variable name="site_code__ship">
<xsl:value-of select="site_code__ship" />
</xsl:variable>
<xsl:variable name="itemser_descr">
<xsl:value-of select="itemser_descr" />
</xsl:variable>
<xsl:variable name="descr">
<xsl:value-of select="descr" />
</xsl:variable>
<xsl:variable name="os_amt ">
<xsl:value-of select="os_amt" />
</xsl:variable>
<xsl:variable name="remarks">
<xsl:value-of select="remarks" />
</xsl:variable>-->
<TABLE name="main" id="main" class="tLabel" style="position:relative; width:60%; border-top: #5fdeb2 3px solid;" cellspacing="0" cellpadding="0" >
<tr>
<td colspan="3" >
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="tblenew">
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Sales order:
<b><xsl:value-of select="sale_order" /></b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Date:
<b><xsl:value-of select="order_date"/></b>
</font>
</td>
</tr>
<tr>
<td colspan="3" class = "tLabelDataD3" >
<div class = "tLabelDataD3" >
<font size="4">
<b><xsl:value-of select="cust_name"/></b>
</font>
</div>
<div class="empInfoDiv" >
<font size="3">
<b><xsl:value-of select="cust_code"/></b>
</font>
</div>
</td>
</tr>
&#160;
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Created by:
<b><xsl:value-of select="employee_emp_fname" />
<xsl:value-of select="employee_emp_lname" />
(<xsl:value-of select="emp_code__ord1" />)</b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Item series:
<b><xsl:for-each select="//Detail2">
<xsl:value-of select="itemser_descr"/>
(<xsl:value-of select="item_ser" />)
</xsl:for-each></b>
</font>
</td>
</tr>
</TABLE>
</td>
</tr>
<tr>
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tTitleD" >
<tr>
<td class="cellttl1">Bill to: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="cust_name__bil"/>&#160;
(<xsl:value-of select="cust_code__bil"/>)<br/>
<xsl:value-of select= "bill_addr1"/>,<br/>
<xsl:value-of select= "bill_addr2"/>,&#160;
<xsl:value-of select= "bill_addr3"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1"> Delivery term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="dlv_term" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1"> Site: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="site_descr" />&#160;
(<xsl:value-of select="site_code" />)
</xsl:for-each>
</font>
</td>
</tr>
<!--<tr>
<td class="cellttl1"> Item series : </td>
<td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<xsl:value-of select="itemser_descr"/>
(<xsl:value-of select="item_ser" />)
</td>
</tr>-->
<tr>
<td class="cellttl1">Delivery address: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select= "dlv_to"/>&#160;
(<xsl:value-of select= "cust_code__dlv"/>)<br/>
<xsl:value-of select= "dlv_add1"/>,<br/>
<xsl:value-of select= "dlv_add2"/>,&#160;
<xsl:value-of select= "dlv_add3"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Transport mode: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:choose>
<xsl:when test="trans_mode='A' ">
By Air
</xsl:when>
<xsl:when test="trans_mode='R' ">
By Road
</xsl:when>
<xsl:when test="trans_mode='L' ">
By Rail
</xsl:when>
<xsl:when test="trans_mode='S' ">
By Ship
</xsl:when>
</xsl:choose>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Credit term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select= "crterm_descr"/>&#160;
(<xsl:value-of select= "cr_term"/>)
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Credit limit: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select= "cr_lmt"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Outstanding amount: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
(<xsl:value-of select="curr_code"/>) <xsl:value-of select="os_amt" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Overdue amount: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
(<xsl:value-of select="curr_code"/>) <xsl:value-of select="ovos_amt" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Order amount: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
(<xsl:value-of select="curr_code"/>) <xsl:value-of select="ord_amt" />
</font>
</td>
</tr>
</table>
</td>
</tr>
</TABLE>
</xsl:for-each>
<br/>
<div style="overflow-x: scroll; width:60%">
<table class="tableClass" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tbody>
<xsl:for-each select="//Detail1">
<tr border="1">
<td width="100px">
<font face="Times New Roman" size="2">Sr no</font>
</td>
<td width="100px">
<font face="Times New Roman" size="2">Item</font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Quantity</font>
</td>
<td width="100px">
<font face="Times New Roman" size="2">Unit</font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Rate<br/></font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Discount<br/></font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Tax amount<br/></font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Net amount<br/></font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Total amount<br/></font>
</td>
<td width="100px">
<font face="Times New Roman" size="2">Delivery date</font>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//Detail2">
<xsl:sort select="item_code" />
<xsl:variable name="dbID">
<xsl:value-of select="@domID" />
</xsl:variable>
<xsl:variable name="line_no">
<xsl:value-of select="line_no" />
</xsl:variable>
<xsl:variable name="line_no__inv">
<xsl:value-of select="line_no__inv" />
</xsl:variable>
<tr>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="line_no"/>
</font>
</td>
<!--<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail1">
<xsl:value-of select="ovos_amt" />
</xsl:for-each>
</font>
</td>-->
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="item_descr" />&#160;
(<xsl:value-of select="item_code" />)
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="quantity" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="unit" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<!--<xsl:value-of select="rate" />-->
<xsl:value-of select="format-number(rate, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<!--<xsl:value-of select="discount" />-->
<xsl:value-of select="format-number(discount, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="format-number(tax_amt, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:value-of select="format-number(net_amt, '##,###,###,###,###')"/>
</font>
</td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail1">
<xsl:value-of select="format-number(tot_amt, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="dsp_date" />
</xsl:for-each>
</font>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/hr_portal1.css"></link>
<!--<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/hr_portal1.css"></link>-->
<style type="text/css">
.tableClass {margin-bottom:10px; width:100%; background-color:#FFF;
/*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px
solid #d9d9d9;}
.tableClass td {border-bottom: 1px solid #d9d9d9; border-right: 1px solid
#d9d9d9; font-size:14px;}
.tbletopbrd{border-top:2px solid #5fdeb2;}
.date {
color: #9d9ca2;
font-size: 11px;
font-weight: normal;
}
td {
padding: 5px;
}
</style>
</head>
<body>
<INPUT type="hidden" name="OBJ_NAME" id="OBJ_NAME" value='porder'/>
<INPUT type='hidden' name='OBJ_CONTEXT' value='1'/>
<INPUT type='hidden' name='EDIT_FLAG' value='A'/>
<INPUT type='hidden' name='DOM_ID' value='{@domID}'/>
<INPUT type='hidden' name='DB_ID' value='{@dbID}'/>
<xsl:for-each select="//Detail1">
<!--<xsl:variable name="dbID">
<xsl:value-of select="@dbID" />
</xsl:variable>
<xsl:variable name="sale_order">
<xsl:value-of select="sale_order" />
</xsl:variable>
<xsl:variable name="order_date">
<xsl:value-of select="order_date" />
</xsl:variable>
<xsl:variable name="order_type">
<xsl:value-of select="order_type" />
</xsl:variable>
<xsl:variable name="cust_code">
<xsl:value-of select="cust_code" />
</xsl:variable>
<xsl:variable name="sales_pers">
<xsl:value-of select="sales_pers" />
</xsl:variable>
<xsl:variable name="crterm_descr">
<xsl:value-of select="crterm_descr" />
</xsl:variable>
<xsl:variable name="site_code__ship">
<xsl:value-of select="site_code__ship" />
</xsl:variable>
<xsl:variable name="itemser_descr">
<xsl:value-of select="itemser_descr" />
</xsl:variable>
<xsl:variable name="descr">
<xsl:value-of select="descr" />
</xsl:variable>
<xsl:variable name="os_amt ">
<xsl:value-of select="os_amt" />
</xsl:variable>
<xsl:variable name="remarks">
<xsl:value-of select="remarks" />
</xsl:variable>-->
<TABLE name="main" id="main" class="tLabel" style="position:relative; width:100%; border-top: #5fdeb2 3px solid;" cellspacing="0" cellpadding="0" >
<tr>
<td colspan="3" >
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="tblenew">
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Purchase order:
<b><xsl:value-of select="purc_order" /></b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Date:
<b><xsl:value-of select="ord_date"/></b>
</font>
</td>
</tr>
<tr>
<td colspan="3" class = "tLabelDataD3" >
<div class = "tLabelDataD3" >
<font size="4">
<b><xsl:value-of select="supp_name"/></b>
</font>
</div>
<div class="empInfoDiv" >
<font size="3">
<b><xsl:value-of select="supp_code"/></b>
</font>
</div>
</td>
</tr>
&#160;
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Site :
<b><xsl:value-of select="site_descr"/>
(<xsl:value-of select="site_code__ord"/>)</b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Item series :
<b><xsl:value-of select="item_ser"/></b>
</font>
</td>
</tr>
</TABLE>
</td>
</tr>
<tr>
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tTitleD" >
<tr>
<td class="cellttl1">Department: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="department_descr"/>&#160;
(<xsl:value-of select="dept_code"/>)
</font>
</td>
</tr>
<tr>
<td class="cellttl1"> Delivery term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="dlv_term" />&#160;
<xsl:value-of select="delivery_term_descr" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Order by: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="emp_code" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Delivery address: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select= "site_descr"/>&#160;
(<xsl:value-of select= "site_code__dlv"/>)<br/>
<xsl:value-of select= "site_add1"/>,<br/>
<xsl:value-of select= "site_add2"/>,&#160;
<xsl:value-of select= "city__site"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Transport mode: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:choose>
<xsl:when test="trans_mode='A' ">
By Air
</xsl:when>
<xsl:when test="trans_mode='R' ">
By Road
</xsl:when>
<xsl:when test="trans_mode='L' ">
By Rail
</xsl:when>
<xsl:when test="trans_mode='S' ">
By Ship
</xsl:when>
</xsl:choose>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Credit term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select= "crterm_descr"/>&#160;
(<xsl:value-of select= "cr_term"/>)
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Order amount: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
(<xsl:value-of select="curr_code"/>) <xsl:value-of select="ord_amt" />
</font>
</td>
</tr>
</table>
</td>
</tr>
</TABLE>
</xsl:for-each>
<br/>
<div style="overflow-x: scroll; width:100%">
<table class="tableClass" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tbody>
<xsl:for-each select="//Detail1">
<tr border="1">
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Sr no</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Item</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Quantity</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Unit</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Rate</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Discount</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Tax amount</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Net amount</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Total amount</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Delivery date</font>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//Detail2">
<xsl:sort select="item_code" />
<xsl:variable name="dbID">
<xsl:value-of select="@domID" />
</xsl:variable>
<xsl:variable name="line_no">
<xsl:value-of select="line_no" />
</xsl:variable>
<xsl:variable name="line_no__inv">
<xsl:value-of select="line_no__inv" />
</xsl:variable>
<tr>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="line_no"/>
</font>
</td>
<!--<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail1">
<xsl:value-of select="ovos_amt" />
</xsl:for-each>
</font>
</td>-->
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="item_descr" />&#160;
(<xsl:value-of select="item_code" />)
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="quantity" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="unit" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<!--<xsl:value-of select="rate" />-->
<xsl:value-of select="format-number(rate, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<!--<xsl:value-of select="discount" />-->
<xsl:value-of select="format-number(discount, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="format-number(tax_amt, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:value-of select="format-number(net_amt, '##,###,###,###,###')"/>
</font>
</td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail1">
<xsl:value-of select="format-number(tot_amt, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="dlv_date" />
</xsl:for-each>
</font>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/hr_portal1.css"></link>
<!--<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/hr_portal1.css"></link>-->
<style type="text/css">
.tableClass {margin-bottom:10px; width:100%; background-color:#FFF;
/*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px
solid #d9d9d9;}
.tableClass td {border-bottom: 1px solid #d9d9d9; border-right: 1px solid
#d9d9d9; font-size:14px;}
.tbletopbrd{border-top:2px solid #5fdeb2;}
.date {
color: #9d9ca2;
font-size: 11px;
font-weight: normal;
}
td {
padding: 5px;
}
</style>
</head>
<body>
<INPUT type="hidden" name="OBJ_NAME" id="OBJ_NAME" value='porder'/>
<INPUT type='hidden' name='OBJ_CONTEXT' value='1'/>
<INPUT type='hidden' name='EDIT_FLAG' value='A'/>
<INPUT type='hidden' name='DOM_ID' value='{@domID}'/>
<INPUT type='hidden' name='DB_ID' value='{@dbID}'/>
<xsl:for-each select="//Detail1">
<!--<xsl:variable name="dbID">
<xsl:value-of select="@dbID" />
</xsl:variable>
<xsl:variable name="sale_order">
<xsl:value-of select="sale_order" />
</xsl:variable>
<xsl:variable name="order_date">
<xsl:value-of select="order_date" />
</xsl:variable>
<xsl:variable name="order_type">
<xsl:value-of select="order_type" />
</xsl:variable>
<xsl:variable name="cust_code">
<xsl:value-of select="cust_code" />
</xsl:variable>
<xsl:variable name="sales_pers">
<xsl:value-of select="sales_pers" />
</xsl:variable>
<xsl:variable name="crterm_descr">
<xsl:value-of select="crterm_descr" />
</xsl:variable>
<xsl:variable name="site_code__ship">
<xsl:value-of select="site_code__ship" />
</xsl:variable>
<xsl:variable name="itemser_descr">
<xsl:value-of select="itemser_descr" />
</xsl:variable>
<xsl:variable name="descr">
<xsl:value-of select="descr" />
</xsl:variable>
<xsl:variable name="os_amt ">
<xsl:value-of select="os_amt" />
</xsl:variable>
<xsl:variable name="remarks">
<xsl:value-of select="remarks" />
</xsl:variable>-->
<TABLE name="main" id="main" class="tLabel" style="position:relative; width:100%; border-top: #5fdeb2 3px solid;" cellspacing="0" cellpadding="0" >
<tr>
<td colspan="3" >
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="tblenew">
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Purchase order:
<b><xsl:value-of select="purc_order" /></b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Date:
<b><xsl:value-of select="ord_date"/></b>
</font>
</td>
</tr>
<tr>
<td colspan="3" class = "tLabelDataD3" >
<div class = "tLabelDataD3" >
<font size="4">
<b><xsl:value-of select="supp_name"/></b>
</font>
</div>
<div class="empInfoDiv" >
<font size="3">
<b><xsl:value-of select="supp_code"/></b>
</font>
</div>
</td>
</tr>
&#160;
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Site :
<b><xsl:value-of select="site_descr"/>
(<xsl:value-of select="site_code__ord"/>)</b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Item series :
<b><xsl:value-of select="item_ser"/></b>
</font>
</td>
</tr>
</TABLE>
</td>
</tr>
<tr>
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tTitleD" >
<tr>
<td class="cellttl1">Department: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="department_descr"/>&#160;
(<xsl:value-of select="dept_code"/>)
</font>
</td>
</tr>
<tr>
<td class="cellttl1"> Delivery term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="dlv_term" />&#160;
<xsl:value-of select="delivery_term_descr" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Order by: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="emp_code" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Delivery address: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select= "site_descr"/>&#160;
(<xsl:value-of select= "site_code__dlv"/>)<br/>
<xsl:value-of select= "site_add1"/>,<br/>
<xsl:value-of select= "site_add2"/>,&#160;
<xsl:value-of select= "city__site"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Transport mode: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:choose>
<xsl:when test="trans_mode='A' ">
By Air
</xsl:when>
<xsl:when test="trans_mode='R' ">
By Road
</xsl:when>
<xsl:when test="trans_mode='L' ">
By Rail
</xsl:when>
<xsl:when test="trans_mode='S' ">
By Ship
</xsl:when>
</xsl:choose>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Credit term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select= "crterm_descr"/>&#160;
(<xsl:value-of select= "cr_term"/>)
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Order amount: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
(<xsl:value-of select="curr_code"/>) <xsl:value-of select="ord_amt" />
</font>
</td>
</tr>
</table>
</td>
</tr>
</TABLE>
</xsl:for-each>
<br/>
<div style="overflow-x: scroll; width:100%">
<table class="tableClass" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tbody>
<xsl:for-each select="//Detail1">
<tr border="1">
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Sr no</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Item</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Quantity</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Unit</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Rate</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Discount</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Tax amount</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Net amount</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Total amount</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Delivery date</font>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//Detail2">
<xsl:sort select="item_code" />
<xsl:variable name="dbID">
<xsl:value-of select="@domID" />
</xsl:variable>
<xsl:variable name="line_no">
<xsl:value-of select="line_no" />
</xsl:variable>
<xsl:variable name="line_no__inv">
<xsl:value-of select="line_no__inv" />
</xsl:variable>
<tr>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="line_no"/>
</font>
</td>
<!--<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail1">
<xsl:value-of select="ovos_amt" />
</xsl:for-each>
</font>
</td>-->
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="item_descr" />&#160;
(<xsl:value-of select="item_code" />)
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="quantity" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="unit" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<!--<xsl:value-of select="rate" />-->
<xsl:value-of select="format-number(rate, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<!--<xsl:value-of select="discount" />-->
<xsl:value-of select="format-number(discount, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="format-number(tax_amt, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:value-of select="format-number(net_amt, '##,###,###,###,###')"/>
</font>
</td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail1">
<xsl:value-of select="format-number(tot_amt, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="dlv_date" />
</xsl:for-each>
</font>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/hr_portal1.css"></link>
<!--<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/hr_portal1.css"></link>-->
<style type="text/css">
.tableClass {margin-bottom:10px; width:100%; background-color:#FFF;
/*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px
solid #d9d9d9;}
.tableClass td {border-bottom: 1px solid #d9d9d9; border-right: 1px solid
#d9d9d9; font-size:14px;}
.tbletopbrd{border-top:2px solid #5fdeb2;}
.date {
color: #9d9ca2;
font-size: 11px;
font-weight: normal;
}
td {
padding: 5px;
}
</style>
</head>
<body>
<INPUT type="hidden" name="OBJ_NAME" id="OBJ_NAME" value='sorder'/>
<INPUT type='hidden' name='OBJ_CONTEXT' value='1'/>
<INPUT type='hidden' name='EDIT_FLAG' value='A'/>
<INPUT type='hidden' name='DOM_ID' value='{@domID}'/>
<INPUT type='hidden' name='DB_ID' value='{@dbID}'/>
<xsl:for-each select="//Detail1">
<TABLE name="main" id="main" class="tLabel" style="position:relative; width:100%; border-top: #5fdeb2 3px solid;" cellspacing="0" cellpadding="0" >
<tr>
<td colspan="3" >
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="tblenew">
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Sales order:
<b><xsl:value-of select="sale_order" /></b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Date:
<b><xsl:value-of select="order_date"/></b>
</font>
</td>
</tr>
<tr>
<td colspan="3" class = "tLabelDataD3" >
<div class = "tLabelDataD3" >
<font size="4">
<b><xsl:value-of select="cust_name"/></b>
</font>
</div>
<div class="empInfoDiv" >
<font size="3">
<b><xsl:value-of select="cust_code"/></b>
</font>
</div>
</td>
</tr>
&#160;
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Created by:
<b><xsl:value-of select="employee_emp_fname" />
<xsl:value-of select="employee_emp_lname" />
(<xsl:value-of select="emp_code__ord1" />)</b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Item series:
<b><xsl:for-each select="//Detail2">
<xsl:value-of select="itemser_descr"/>
(<xsl:value-of select="item_ser" />)
</xsl:for-each></b>
</font>
</td>
</tr>
</TABLE>
</td>
</tr>
<tr>
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tTitleD" >
<tr>
<td class="cellttl1">Bill to: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="cust_name__bil"/>&#160;
(<xsl:value-of select="cust_code__bil"/>)<br/>
<xsl:value-of select= "bill_addr1"/>,<br/>
<xsl:value-of select= "bill_addr2"/>,&#160;
<xsl:value-of select= "bill_addr3"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1"> Delivery term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="dlv_term" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1"> Site: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="site_descr" />&#160;
(<xsl:value-of select="site_code" />)
</xsl:for-each>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Delivery address: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select= "dlv_to"/>&#160;
(<xsl:value-of select= "cust_code__dlv"/>)<br/>
<xsl:value-of select= "dlv_add1"/>,<br/>
<xsl:value-of select= "dlv_add2"/>,&#160;
<xsl:value-of select= "dlv_add3"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Transport mode: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:choose>
<xsl:when test="trans_mode='A' ">
By Air
</xsl:when>
<xsl:when test="trans_mode='R' ">
By Road
</xsl:when>
<xsl:when test="trans_mode='L' ">
By Rail
</xsl:when>
<xsl:when test="trans_mode='S' ">
By Ship
</xsl:when>
</xsl:choose>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Credit term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select= "crterm_descr"/>&#160;
(<xsl:value-of select= "cr_term"/>)
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Credit limit: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select= "cr_lmt"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Outstanding amount: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
(<xsl:value-of select="curr_code"/>) <xsl:value-of select="os_amt" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Overdue amount: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
(<xsl:value-of select="curr_code"/>) <xsl:value-of select="ovos_amt" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Order amount: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
(<xsl:value-of select="curr_code"/>) <xsl:value-of select="ord_amt" />
</font>
</td>
</tr>
</table>
</td>
</tr>
</TABLE>
</xsl:for-each>
<br/>
<div style="overflow-x: scroll; width:100%">
<table class="tableClass" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tbody>
<xsl:for-each select="//Detail1">
<tr border="1">
<td width="100px">
<font face="Times New Roman" size="2">Sr no</font>
</td>
<td width="100px">
<font face="Times New Roman" size="2">Item</font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Quantity</font>
</td>
<td width="100px">
<font face="Times New Roman" size="2">Unit</font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Rate<br/></font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Discount<br/></font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Tax amount<br/></font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Net amount<br/></font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Total amount<br/></font>
</td>
<td width="100px">
<font face="Times New Roman" size="2">Delivery date</font>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//Detail2">
<xsl:sort select="item_code" />
<xsl:variable name="dbID">
<xsl:value-of select="@domID" />
</xsl:variable>
<xsl:variable name="line_no">
<xsl:value-of select="line_no" />
</xsl:variable>
<xsl:variable name="line_no__inv">
<xsl:value-of select="line_no__inv" />
</xsl:variable>
<tr>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="line_no"/>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="item_descr" />&#160;
(<xsl:value-of select="item_code" />)
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="quantity" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="unit" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<!--<xsl:value-of select="rate" />-->
<xsl:value-of select="format-number(rate, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<!--<xsl:value-of select="discount" />-->
<xsl:value-of select="format-number(discount, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="format-number(tax_amt, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:value-of select="format-number(net_amt, '##,###,###,###,###')"/>
</font>
</td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail1">
<xsl:value-of select="format-number(tot_amt, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="dsp_date" />
</xsl:for-each>
</font>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<!--<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/hr_portal1.css"></link>-->
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/hr_portal1.css"></link>
<style type="text/css">
.tableClass {margin-bottom:10px; width:100%; background-color:#FFF;
/*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px
solid #d9d9d9;}
.tableClass td {border-bottom: 1px solid #d9d9d9; border-right: 1px solid
#d9d9d9; font-size:14px;}
.tbletopbrd{border-top:2px solid #5fdeb2;}
.date {
color: #9d9ca2;
font-size: 11px;
font-weight: normal;
}
td {
padding: 5px;
}
</style>
</head>
<body>
<INPUT type="hidden" name="OBJ_NAME" id="OBJ_NAME" value='sorder'/>
<INPUT type='hidden' name='OBJ_CONTEXT' value='1'/>
<INPUT type='hidden' name='EDIT_FLAG' value='A'/>
<INPUT type='hidden' name='DOM_ID' value='{@domID}'/>
<INPUT type='hidden' name='DB_ID' value='{@dbID}'/>
<xsl:for-each select="//Detail1">
<!--<xsl:variable name="dbID">
<xsl:value-of select="@dbID" />
</xsl:variable>
<xsl:variable name="sale_order">
<xsl:value-of select="sale_order" />
</xsl:variable>
<xsl:variable name="order_date">
<xsl:value-of select="order_date" />
</xsl:variable>
<xsl:variable name="order_type">
<xsl:value-of select="order_type" />
</xsl:variable>
<xsl:variable name="cust_code">
<xsl:value-of select="cust_code" />
</xsl:variable>
<xsl:variable name="sales_pers">
<xsl:value-of select="sales_pers" />
</xsl:variable>
<xsl:variable name="crterm_descr">
<xsl:value-of select="crterm_descr" />
</xsl:variable>
<xsl:variable name="site_code__ship">
<xsl:value-of select="site_code__ship" />
</xsl:variable>
<xsl:variable name="itemser_descr">
<xsl:value-of select="itemser_descr" />
</xsl:variable>
<xsl:variable name="descr">
<xsl:value-of select="descr" />
</xsl:variable>
<xsl:variable name="os_amt ">
<xsl:value-of select="os_amt" />
</xsl:variable>
<xsl:variable name="remarks">
<xsl:value-of select="remarks" />
</xsl:variable>-->
<TABLE name="main" id="main" class="tLabel" style="position:relative; width:60%; border-top: #5fdeb2 3px solid;" cellspacing="0" cellpadding="0" >
<tr>
<td colspan="3" >
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="tblenew">
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Sales order:
<b><xsl:value-of select="sale_order" /></b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Date:
<b><xsl:value-of select="order_date"/></b>
</font>
</td>
</tr>
<tr>
<td colspan="3" class = "tLabelDataD3" >
<div class = "tLabelDataD3" >
<font size="4">
<b><xsl:value-of select="cust_name"/></b>
</font>
</div>
<div class="empInfoDiv" >
<font size="3">
<b><xsl:value-of select="cust_code"/></b>
</font>
</div>
</td>
</tr>
&#160;
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Created by:
<b><xsl:value-of select="employee_emp_fname" />
<xsl:value-of select="employee_emp_lname" />
(<xsl:value-of select="emp_code__ord1" />)</b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Item series:
<b><xsl:for-each select="//Detail2">
<xsl:value-of select="itemser_descr"/>
(<xsl:value-of select="item_ser" />)
</xsl:for-each></b>
</font>
</td>
</tr>
</TABLE>
</td>
</tr>
<tr>
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tTitleD" >
<tr>
<td class="cellttl1">Bill to: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="cust_name__bil"/>&#160;
(<xsl:value-of select="cust_code__bil"/>)<br/>
<xsl:value-of select= "bill_addr1"/>,<br/>
<xsl:value-of select= "bill_addr2"/>,&#160;
<xsl:value-of select= "bill_addr3"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1"> Delivery term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="dlv_term" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1"> Site: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="site_descr" />&#160;
(<xsl:value-of select="site_code" />)
</xsl:for-each>
</font>
</td>
</tr>
<!--<tr>
<td class="cellttl1"> Item series : </td>
<td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<xsl:value-of select="itemser_descr"/>
(<xsl:value-of select="item_ser" />)
</td>
</tr>-->
<tr>
<td class="cellttl1">Delivery address: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select= "dlv_to"/>&#160;
(<xsl:value-of select= "cust_code__dlv"/>)<br/>
<xsl:value-of select= "dlv_add1"/>,<br/>
<xsl:value-of select= "dlv_add2"/>,&#160;
<xsl:value-of select= "dlv_add3"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Transport mode: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:choose>
<xsl:when test="trans_mode='A' ">
By Air
</xsl:when>
<xsl:when test="trans_mode='R' ">
By Road
</xsl:when>
<xsl:when test="trans_mode='L' ">
By Rail
</xsl:when>
<xsl:when test="trans_mode='S' ">
By Ship
</xsl:when>
</xsl:choose>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Credit term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select= "crterm_descr"/>&#160;
(<xsl:value-of select= "cr_term"/>)
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Credit limit: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select= "cr_lmt"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Outstanding amount: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
(<xsl:value-of select="curr_code"/>) <xsl:value-of select="os_amt" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Overdue amount: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
(<xsl:value-of select="curr_code"/>) <xsl:value-of select="ovos_amt" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Order amount: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
(<xsl:value-of select="curr_code"/>) <xsl:value-of select="ord_amt" />
</font>
</td>
</tr>
</table>
</td>
</tr>
</TABLE>
</xsl:for-each>
<br/>
<div style="overflow-x: scroll; width:60%">
<table class="tableClass" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tbody>
<xsl:for-each select="//Detail1">
<tr border="1">
<td width="100px">
<font face="Times New Roman" size="2">Sr no</font>
</td>
<td width="100px">
<font face="Times New Roman" size="2">Item</font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Quantity</font>
</td>
<td width="100px">
<font face="Times New Roman" size="2">Unit</font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Rate<br/></font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Discount<br/></font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Tax amount<br/></font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Net amount<br/></font>
</td>
<td width="100px" align="right">
<font face="Times New Roman" size="2">Total amount<br/></font>
</td>
<td width="100px">
<font face="Times New Roman" size="2">Delivery date</font>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//Detail2">
<xsl:sort select="item_code" />
<xsl:variable name="dbID">
<xsl:value-of select="@domID" />
</xsl:variable>
<xsl:variable name="line_no">
<xsl:value-of select="line_no" />
</xsl:variable>
<xsl:variable name="line_no__inv">
<xsl:value-of select="line_no__inv" />
</xsl:variable>
<tr>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="line_no"/>
</font>
</td>
<!--<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail1">
<xsl:value-of select="ovos_amt" />
</xsl:for-each>
</font>
</td>-->
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="item_descr" />&#160;
(<xsl:value-of select="item_code" />)
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="quantity" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="unit" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<!--<xsl:value-of select="rate" />-->
<xsl:value-of select="format-number(rate, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<!--<xsl:value-of select="discount" />-->
<xsl:value-of select="format-number(discount, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="format-number(tax_amt, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:value-of select="format-number(net_amt, '##,###,###,###,###')"/>
</font>
</td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail1">
<xsl:value-of select="format-number(tot_amt, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="dsp_date" />
</xsl:for-each>
</font>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/hr_portal1.css"></link>
<!--<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/hr_portal1.css"></link>-->
<style type="text/css">
.tableClass {margin-bottom:10px; width:100%; background-color:#FFF;
/*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px
solid #d9d9d9;}
.tableClass td {border-bottom: 1px solid #d9d9d9; border-right: 1px solid
#d9d9d9; font-size:14px;}
.tbletopbrd{border-top:2px solid #5fdeb2;}
.date {
color: #9d9ca2;
font-size: 11px;
font-weight: normal;
}
td {
padding: 5px;
}
</style>
</head>
<body>
<INPUT type="hidden" name="OBJ_NAME" id="OBJ_NAME" value='scontract'/>
<INPUT type='hidden' name='OBJ_CONTEXT' value='1'/>
<INPUT type='hidden' name='EDIT_FLAG' value='A'/>
<INPUT type='hidden' name='DOM_ID' value='{@domID}'/>
<INPUT type='hidden' name='DB_ID' value='{@dbID}'/>
<xsl:for-each select="//Detail1">
<TABLE name="main" id="main" class="tLabel" style="position:relative; width:100%; border-top: #5fdeb2 3px solid;" cellspacing="0" cellpadding="0" >
<tr>
<td colspan="3" >
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="tblenew">
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Contract no.:
<b><xsl:value-of select="contract_no" /></b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Date:
<b><xsl:value-of select="contract_date"/></b>
</font>
</td>
</tr>
<tr>
<td colspan="3" class = "tLabelDataD3" >
<div class = "tLabelDataD3" >
<font size="4">
<b><xsl:value-of select="cust_name"/></b>
</font>
</div>
<div class="empInfoDiv" >
<font size="3">
<b><xsl:value-of select="cust_code"/></b>
</font>
</div>
</td>
</tr>
&#160;
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
<b><xsl:value-of select="sales_pers"/></b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Item series:
<b><xsl:for-each select="//Detail1">
<xsl:value-of select="item_ser" />
</xsl:for-each></b>
</font>
</td>
</tr>
</TABLE>
</td>
</tr>
<tr>
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tTitleD" >
<tr>
<td class="cellttl1"> Delivery term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="dlv_term" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Delivery address: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select= "dlv_to"/>&#160;
(<xsl:value-of select= "cust_code__dlv"/>)<br/>
<xsl:value-of select= "dlv_add1"/>,<br/>
<xsl:value-of select= "dlv_add2"/>,&#160;
<xsl:value-of select= "dlv_city"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Transport mode: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:choose>
<xsl:when test="trans_mode='A' ">
By Air
</xsl:when>
<xsl:when test="trans_mode='R' ">
By Road
</xsl:when>
<xsl:when test="trans_mode='L' ">
By Rail
</xsl:when>
<xsl:when test="trans_mode='S' ">
By Ship
</xsl:when>
</xsl:choose>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Credit term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select= "crterm_descr"/>&#160;
(<xsl:value-of select= "cr_term"/>)
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Order amount: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
(<xsl:value-of select="curr_code"/>) <xsl:value-of select="ord_amt" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Valid upto: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="valid_upto" />
</font>
</td>
</tr>
</table>
</td>
</tr>
</TABLE>
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/hr_portal1.css"></link>
<!--<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/hr_portal1.css"></link>-->
<style type="text/css">
.tableClass {margin-bottom:10px; width:100%; background-color:#FFF;
/*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px
solid #d9d9d9;}
.tableClass td {border-bottom: 1px solid #d9d9d9; border-right: 1px solid
#d9d9d9; font-size:14px;}
.tbletopbrd{border-top:2px solid #5fdeb2;}
.date {
color: #9d9ca2;
font-size: 11px;
font-weight: normal;
}
td {
padding: 5px;
}
</style>
</head>
<body>
<INPUT type="hidden" name="OBJ_NAME" id="OBJ_NAME" value='scontract'/>
<INPUT type='hidden' name='OBJ_CONTEXT' value='1'/>
<INPUT type='hidden' name='EDIT_FLAG' value='A'/>
<INPUT type='hidden' name='DOM_ID' value='{@domID}'/>
<INPUT type='hidden' name='DB_ID' value='{@dbID}'/>
<xsl:for-each select="//Detail1">
<TABLE name="main" id="main" class="tLabel" style="position:relative; width:100%; border-top: #5fdeb2 3px solid;" cellspacing="0" cellpadding="0" >
<tr>
<td colspan="3" >
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="tblenew">
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Contract no.:
<b><xsl:value-of select="contract_no" /></b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Date:
<b><xsl:value-of select="contract_date"/></b>
</font>
</td>
</tr>
<tr>
<td colspan="3" class = "tLabelDataD3" >
<div class = "tLabelDataD3" >
<font size="4">
<b><xsl:value-of select="cust_name"/></b>
</font>
</div>
<div class="empInfoDiv" >
<font size="3">
<b><xsl:value-of select="cust_code"/></b>
</font>
</div>
</td>
</tr>
&#160;
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
<b><xsl:value-of select="sales_pers"/></b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Item series:
<b><xsl:for-each select="//Detail1">
<xsl:value-of select="item_ser" />
</xsl:for-each></b>
</font>
</td>
</tr>
</TABLE>
</td>
</tr>
<tr>
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tTitleD" >
<tr>
<td class="cellttl1"> Delivery term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="dlv_term" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Delivery address: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select= "dlv_to"/>&#160;
(<xsl:value-of select= "cust_code__dlv"/>)<br/>
<xsl:value-of select= "dlv_add1"/>,<br/>
<xsl:value-of select= "dlv_add2"/>,&#160;
<xsl:value-of select= "dlv_city"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Transport mode: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:choose>
<xsl:when test="trans_mode='A' ">
By Air
</xsl:when>
<xsl:when test="trans_mode='R' ">
By Road
</xsl:when>
<xsl:when test="trans_mode='L' ">
By Rail
</xsl:when>
<xsl:when test="trans_mode='S' ">
By Ship
</xsl:when>
</xsl:choose>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Credit term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select= "crterm_descr"/>&#160;
(<xsl:value-of select= "cr_term"/>)
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Order amount: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
(<xsl:value-of select="curr_code"/>) <xsl:value-of select="ord_amt" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Valid upto: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="valid_upto" />
</font>
</td>
</tr>
</table>
</td>
</tr>
</TABLE>
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment