<field reporter:label="Edit Time" name="edit_time" reporter:datatype="timestamp" />
<field reporter:label="Editor" name="editor" reporter:datatype="link" />
<field reporter:label="Vote Value" name="value" reporter:datatype="text" />
+ <field reporter:label="Vendor Public" name="vendor_public" reporter:datatype="bool" />
</fields>
<links>
<link field="creator" reltype="has_a" key="id" map="" class="au"/>
<field reporter:label="Editor" name="editor" reporter:datatype="link" />
<field reporter:label="Note Value" name="value" reporter:datatype="text" />
<field reporter:label="Alert Text" name="alert_text" reporter:datatype="link" />
+ <field reporter:label="Vendor Public" name="vendor_public" reporter:datatype="bool" />
</fields>
<links>
<link field="creator" reltype="has_a" key="id" map="" class="au"/>
<field reporter:label="On Clause ID" name="on_clause" reporter:datatype="link"/>
</fields>
<links>
- <link field="subquery" reltype="might_have" key="id" map="" class="qsq"/>
- <link field="function_call" reltype="might_have" key="id" map="" class="qxp"/>
- <link field="parent_relation" reltype="might_have" key="id" map="" class="qfr"/>
- <link field="on_clause" reltype="might_have" key="id" map="" class="qxp"/>
+ <link field="subquery" reltype="has_a" key="id" map="" class="qsq"/>
+ <link field="function_call" reltype="has_a" key="id" map="" class="qxp"/>
+ <link field="parent_relation" reltype="has_a" key="id" map="" class="qfr"/>
+ <link field="on_clause" reltype="has_a" key="id" map="" class="qxp"/>
</links>
<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
</permacrud>
<field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
</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>
<field reporter:label="Literal" name="literal" 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>
<field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
</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>
editor INT NOT NULL REFERENCES actor.usr (id) DEFERRABLE INITIALLY DEFERRED,
create_time TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
edit_time TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
- value TEXT NOT NULL
+ value TEXT NOT NULL,
+ vendor_public BOOLEAN NOT NULL DEFAULT FALSE
);
CREATE INDEX po_note_po_idx ON acq.po_note (purchase_order);
CREATE INDEX acq_po_note_creator_idx ON acq.po_note ( creator );
edit_time TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
value TEXT NOT NULL,
alert_text INT REFERENCES acq.lineitem_alert_text(id)
- DEFERRABLE INITIALLY DEFERRED
+ DEFERRABLE INITIALLY DEFERRED,
+ vendor_public BOOLEAN NOT NULL DEFAULT FALSE
);
CREATE INDEX li_note_li_idx ON acq.lineitem_note (lineitem);
CREATE INDEX li_note_creator_idx ON acq.lineitem_note ( creator );