Product - Services
/
Y
N
0.0
0.0
1000
1
1
N
Y
5000
Y
admin
2007/04/09 10:47:12.000
Quickvet
MSACCESS
ODBC
Quickvet
-1
Encrypted
EXTRA_OPTION_MYSQL.defaultFetchSize
500
EXTRA_OPTION_MYSQL.useCursorFetch
true
IS_CLUSTERED
N
MAXIMUM_POOL_SIZE
10
PORT_NUMBER
-1
STREAM_RESULTS
Y
USE_POOLING
N
Select Inventory FieldsTransform FieldsY Table inputSelect Inventory FieldsY Transform FieldsProduct ServiceY
Product Service
OpenVPMSLoaderPlugin
Y
1
none
openvpmsCODE<product.service>namefalsefalse<product.service>activefalsefalse<product.service>prices[0]<productPrice.unitPrice>pricefalsefalse<product.service>prices[0]<productPrice.unitPrice>uomtrueUnitfalse<product.service>prices[0]<productPrice.unitPrice>quantityfalse9999false<product.service>identities[0]<entityIdentity.code>codetruefalse<product.service>classifications[0]true<lookup.productGroup>$valuefalse<entityRelationship.productTypeProduct>sourcetrue<entity.productType>SERVICEfalse<entityRelationship.productTypeProduct>targettrue<product.service>$valuefalsetruefalse1000
503
121
Y
Select Inventory Fields
SelectValues
Y
1
none
Code
CODE
-2
-2
Description
NAME
-2
-2
Price
PRICE1
-2
-2
Active
ACTIVEFLAG
-2
-2
Category
GROUP
-2
-2
215
118
Y
Table input
TableInput
Y
1
none
Quickvet
select * from procedre
0
N
N
85
117
Y
Transform Fields
ScriptValueMod
Y
1
none
0
Script 1
//Script here
var ACTIVE = true
if (NAME.getString() == "" || NAME.getString() == null) {
NAME.setString("No Product Name")
}
CODE.setString("SERV" + replace(upper(CODE.getString()),"[^A-Z0-9]+",'_'))
if (CODE.getString() == null || CODE.getString() == "")
CODE.setString("NOCODE")
GROUP.setString(replace(trim(upper(GROUP.getString())),"[^A-Z0-9]+",'_'))
if (ACTIVEFLAG.getString() == "NO" || ACTIVEFLAG.getString() == "No") {
ACTIVE = false
}
if (PRICE1.getNumber() == null) {
PRICE1.setNumber(0.0);
}
ACTIVE
ACTIVE
Boolean
-1
-1
352
121
Y