var sql,
rows,
- ary = [],
- view;
+ ary = [];
rows = plv8.execute("select * from xt.acttype");
+delete from xt.acttype where acttype_code = 'ToDo';
insert into xt.acttype (
acttype_nsname,
acttype_tblname,
'null::uuid'
);
+delete from xt.acttype where acttype_code = 'Opportunity';
insert into xt.acttype (
acttype_nsname,
acttype_tblname,
+delete from xt.acttype where acttype_code = 'Project';
insert into xt.acttype (
acttype_nsname,
acttype_tblname,
'join xt.prjext on prj_id=prjext_id'
);
+delete from xt.acttype where acttype_code = 'ProjectTask';
insert into xt.acttype (
acttype_nsname,
acttype_tblname,
'join xt.prjtaskext on prjtaskext_id=prjtask_id join prj on prj_id=prjtask_prj_id'
);
+delete from xt.acttype where acttype_code = 'ProjectWorkflow';
insert into xt.acttype (
acttype_nsname,
acttype_tblname,
+delete from xt.acttype where acttype_code = 'PurchaseOrder';
insert into xt.acttype (
acttype_nsname,
acttype_tblname,
'join vendinfo on pohead_vend_id=vend_id'
);
+delete from xt.acttype where acttype_code = 'PurchaseOrderWorkflow';
insert into xt.acttype (
acttype_nsname,
acttype_tblname,
+delete from xt.acttype where acttype_code = 'SalesOrder';
insert into xt.acttype (
acttype_nsname,
acttype_tblname,
'join custinfo on cohead_cust_id=cust_id join salesrep on cohead_salesrep_id=salesrep_id'
);
+delete from xt.acttype where acttype_code = 'SalesOrderWorkflow';
insert into xt.acttype (
acttype_nsname,
acttype_tblname,