1 <package id = "pbtodist442"
4 descrip = "load PostBooks resources"
7 <prerequisite type = "query"
8 name = "Checking xTuple Edition" >
9 <query>SELECT fetchMetricText('Application') = 'PostBooks';</query>
10 <message>This package must be applied to a Distribution database.</message>
13 <prerequisite type = "query"
14 name = "Checking xTuple ERP database version" >
15 <query>SELECT fetchMetricText('ServerVersion') ~ '^4.4.';</query>
16 <message>This package must be applied to a 4.4+ Postbooks database.
20 <script file="inventory_basic_install.sql" />
21 <script file="inventory_upgrade.sql" />