1 <package id = "xtmfg450RC"
4 descrip = "load PostBooks resources"
7 <prerequisite type = "query"
8 name = "Checking xTuple Edition" >
9 <query>SELECT fetchMetricText('Application') = 'Standard';</query>
10 <message>This package must be applied to a Distribution Edition database.</message>
13 <prerequisite type="query"
14 name ="Checking xtmfg package" >
15 <query>SELECT TRUE FROM pkghead WHERE pkghead_name = 'xtmfg';</query>
16 <message>This package must be applied to an xTuple ERP database that already contains the xtmfg package.</message>
19 <prerequisite type = "query"
20 name = "Checking xTuple ERP database version" >
21 <query>SELECT fetchMetricText('ServerVersion') ~ '^4.4.';</query>
22 <message>This package must be applied to a 4.4+ Manufacturing database.
26 <script file="manufacturing_upgrade.sql" />