<field reporter:label="Order Date" name="order_date" reporter:datatype="timestamp" />
<field reporter:label="Name" name="name" reporter:datatype="text" />
<field reporter:label="Cancel Reason" name="cancel_reason" reporter:datatype="link" />
+ <field reporter:label="Prepayment Required" name="prepayment_required" reporter:datatype="bool" />
<field reporter:label="Line Items" name="lineitems" oils_persist:virtual="true" reporter:datatype="link" />
<field reporter:label="Notes" name="notes" oils_persist:virtual="true" reporter:datatype="link" />
<field reporter:label="Line Item Count" name="lineitem_count" oils_persist:virtual="true" reporter:datatype="link" />
<field reporter:label="Order Date" name="order_date" reporter:datatype="timestamp"/>
<field reporter:label="Name" name="name" reporter:datatype="text"/>
<field reporter:label="Cancel Reason" name="cancel_reason" reporter:datatype="link"/>
+ <field reporter:label="Prepayment Required" name="prepayment_required" reporter:datatype="bool" />
</fields>
<links>
<link field="id" reltype="has_a" key="id" map="" class="acqpo"/>
<field reporter:label="Cast Type" name="cast_type" reporter:datatype="link"/>
</fields>
<links>
- <link field="parent_expr" reltype="might_have" key="id" map="" class="qxp"/>
- <link field="left_operand" reltype="might_have" key="id" map="" class="qxp"/>
- <link field="cast_type" reltype="might_have" key="id" map="" class="qdt"/>
+ <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
+ <link field="left_operand" reltype="has_a" key="id" map="" class="qxp"/>
+ <link field="cast_type" reltype="has_a" key="id" map="" class="qdt"/>
</links>
<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
</permacrud>
<field reporter:label="Column Name" name="column_name" reporter:datatype="text"/>
</fields>
<links>
- <link field="parent_expr" reltype="might_have" key="id" map="" class="qxp"/>
+ <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
</links>
<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
</permacrud>
</fields>
<links>
<link field="parent_expr" reltype="might_have" key="id" map="" class="qxp"/>
- <link field="subquery" reltype="might_have" key="id" map="" class="qsq"/>
+ <link field="subquery" reltype="has_a" key="id" map="" class="qsq"/>
</links>
<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
</permacrud>
<field reporter:label="Left Operand" name="left_operand" reporter:datatype="link"/>
</fields>
<links>
- <link field="parent_expr" reltype="might_have" key="id" map="" class="qxp"/>
- <link field="left_operand" reltype="might_have" key="id" map="" class="qxp"/>
+ <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
+ <link field="left_operand" reltype="has_a" key="id" map="" class="qxp"/>
</links>
<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
</permacrud>
order_date TIMESTAMP WITH TIME ZONE,
name TEXT NOT NULL,
cancel_reason INT REFERENCES acq.cancel_reason( id )
- DEFERRABLE INITIALLY DEFERRED
+ DEFERRABLE INITIALLY DEFERRED,
+ prepayment_required BOOLEAN NOT NULL DEFAULT FALSE
);
CREATE INDEX po_owner_idx ON acq.purchase_order (owner);
CREATE INDEX po_provider_idx ON acq.purchase_order (provider);