View: Accession (Common)
<view name="Accession"
class="edu.ku.brc.specify.datamodel.Accession"
busrules="edu.ku.brc.specify.datamodel.busrules.AccessionBusRules">
<desc><![CDATA[The Accession form.]]></desc>
<altviews>
<altview name="Accession View" viewdef="Accession" mode="view" default="true"/>
<altview name="Accession Edit" viewdef="Accession" mode="edit"/>
</altviews>
</view>
View def.: Accession
<viewdef type="form"
name="Accession"
class="edu.ku.brc.specify.datamodel.Accession"
gettable="edu.ku.brc.af.ui.forms.DataGetterForObj"
settable="edu.ku.brc.af.ui.forms.DataSetterForObj">
<desc><![CDATA[The Accession form.]]></desc>
<enableRules/>
<columnDef>p,0px,190px,5px,130px,2px,141px,5px,110px,2px,140px,0px,15px,p:g</columnDef>
<columnDef os="lnx">135px,2px,200px,5px,135px,2px,153px,5px,125px,2px,153px,0px,15px,p:g</columnDef>
<columnDef os="mac">130px,2px,220px,5px,153px,2px,189px,5px,133px,2px,189px,0px,15px,p:g</columnDef>
<columnDef os="exp">p,2px,p:g,5px:g,p,2px,p:g(2),5px:g,p,2px,p:g(2),0px,p,p:g</columnDef>
<rowDef auto="true" cell="p" sep="1px"/>
<rows>
<row>
<cell type="label" labelfor="1"/>
<cell type="field" id="1" name="accessionNumber" uitype="formattedtext"/>
<cell type="label" labelfor="3"/>
<cell type="field" id="3" name="type" uitype="combobox"/>
<cell type="label" labelfor="2"/>
<cell type="field" id="2" name="status" uitype="combobox"/>
</row>
<row>
<cell type="label" id="divLabel" label=" " initialize="align=right"/>
<cell type="field" id="4" name="divisionCBX" uitype="combobox" ignore="true"/>
<cell type="label" labelfor="5"/>
<cell type="field" id="5" name="dateAccessioned" uitype="formattedtext" uifieldformatter="Date" default="today"/>
<cell type="label" labelfor="6"/>
<cell type="field" id="6" name="dateReceived" uitype="formattedtext" uifieldformatter="Date" default="today"/>
</row>
<row>
<cell type="label" labelfor="7"/>
<cell type="field" id="7" name="remarks" uitype="textareabrief" rows="2" colspan="10"/>
</row>
<row>
<cell type="subview" viewname="AccessionAgent" id="8" name="accessionAgents" desc="Agents" colspan="13" rows="3"/>
</row>
<row>
<cell type="subview" viewname="AccessionAuthorization" id="9" desc="Authorization" name="accessionAuthorizations" colspan="13"/>
</row>
<row>
<cell type="subview" viewname="AccessionItems" id="25" desc="Collection Object" name="collectionObjects" colspan="13" rows="2" initialize="addsearch=true"/>
</row>
<row>
<cell type="separator" label="Attachments" colspan="13"/>
</row>
<row>
<cell type="subview" id="attachments" viewname="ObjectAttachment" name="accessionAttachments" colspan="13" initialize="addsearch=true;btn=true;icon=AccessionAttachment;hc=xxx"/>
</row>
<row>
<cell type="separator" label="" colspan="13"/>
</row>
<row>
<cell type="label" labelfor="10"/>
<cell type="field" id="10" name="modifiedByAgent" uitype="label" readonly="true" uifieldformatter="Agent"/>
<cell type="label" labelfor="11"/>
<cell type="field" id="11" name="timestampModified" uitype="label" readonly="true"/>
</row>
<!-- <row>
<cell type="label" labelfor="99"/>
<cell type="field" id="99" name="this" uitype="plugin" initialize="name=WebLinkButton;weblink=AccessionNumber"/>
</row>
<row>
<cell type="label" labelfor="26"/>
<cell type="field" id="26" name="dateAcknowledged" uitype="formattedtext" uifieldformatter="Date" default="today"/>
<cell type="label" labelfor="27"/>
<cell type="field" id="27" name="verbatimDate" uitype="text"/>
<cell type="label" labelfor="tv"/>
<cell type="field" id="tv" name="totalValue" uitype="text"/>
</row>
<row>
<cell type="label" labelfor="29"/>
<cell type="field" id="29" name="number1" uitype="text"/>
<cell type="label" labelfor="30"/>
<cell type="field" id="30" name="number2" uitype="text"/>
</row>
<row>
<cell type="field" id="34" uitype="checkbox" name="yesNo1" label="yesNo1"/>
<cell type="field" id="35" uitype="checkbox" name="yesNo2" label="yesNo2"/>
</row>
<row>
<cell type="label" labelfor="31"/>
<cell type="field" id="31" name="text1" uitype="textareabrief" rows="2" colspan="10"/>
</row>
<row>
<cell type="label" labelfor="32"/>
<cell type="field" id="32" name="text2" uitype="textareabrief" rows="2" colspan="10"/>
</row>
<row>
<cell type="label" labelfor="33"/>
<cell type="field" id="33" name="text3" uitype="textareabrief" rows="2" colspan="10"/>
</row>
<row>
<cell type="label" labelfor="28"/>
<cell type="field" id="28" name="accessionCondition" uitype="textareabrief" rows="2" colspan="10"/>
</row>
<row>
<cell type="subview" id="ra" name="repositoryAgreement" viewname="RepositoryAgreement" colspan="10"/>
</row>
<row>
<cell type="subview" id="6" name="addressOfRecord" viewname="AddressOfRecord" colspan="10"/>
</row>
<row>
<cell type="subview" viewname="Appraisal" id="15" name="appraisals" colspan="12"/>
</row>
<row>
<cell type="subview" viewname="TreatmentEventForAccession" id="13" name="treatmentEvents" colspan="12" initialize="btn=true"/>
</row> -->
</rows>
</viewdef>
View: AccessionCO (Common)
<view name="AccessionCO"
class="edu.ku.brc.specify.datamodel.Accession"
busrules="edu.ku.brc.specify.datamodel.busrules.AccessionBusRules">
<desc><![CDATA[The Accession form as seen in the CO form.]]></desc>
<altviews>
<altview name="AccessionCO View" viewdef="AccessionCO" mode="view" default="true"/>
<altview name="AccessionCO Edit" viewdef="AccessionCO" mode="edit"/>
</altviews>
</view>
View def.: AccessionCO
<viewdef type="form"
name="AccessionCO"
class="edu.ku.brc.specify.datamodel.Accession"
gettable="edu.ku.brc.af.ui.forms.DataGetterForObj"
settable="edu.ku.brc.af.ui.forms.DataSetterForObj">
<desc><![CDATA[The Accession form.]]></desc>
<enableRules/>
<columnDef>p,0px,190px,5px,130px,2px,141px,5px,110px,2px,140px,0px,15px,p:g</columnDef>
<columnDef os="lnx">135px,2px,200px,5px,135px,2px,156px,5px,125px,2px,150px,0px,15px,p:g</columnDef>
<columnDef os="mac">130px,2px,220px,5px,153px,2px,189px,5px,133px,2px,189px,0px,15px,p:g</columnDef>
<columnDef os="exp">p,0px,p:g,5px:g,p,2px,p:g(2),5px:g,p,2px,p:g(2),0px,p,p:g</columnDef>
<rowDef auto="true" cell="p" sep="1px"/>
<rows>
<row>
<cell type="label" labelfor="1"/>
<cell type="field" id="1" name="accessionNumber" uitype="formattedtext"/>
<cell type="label" labelfor="3"/>
<cell type="field" id="3" name="type" uitype="combobox"/>
<cell type="label" labelfor="2"/>
<cell type="field" id="2" name="status" uitype="combobox"/>
</row>
<row>
<cell type="label" id="divLabel" label=" " initialize="align=right"/>
<cell type="field" id="4" name="divisionCBX" uitype="combobox" ignore="true"/>
<cell type="label" labelfor="5"/>
<cell type="field" id="5" name="dateAccessioned" uitype="formattedtext" uifieldformatter="Date" default="today"/>
<cell type="label" labelfor="6"/>
<cell type="field" id="6" name="dateReceived" uitype="formattedtext" uifieldformatter="Date" default="today"/>
</row>
<row>
<cell type="label" labelfor="7"/>
<cell type="field" id="7" name="remarks" uitype="textareabrief" rows="2" colspan="10"/>
</row>
<row>
<cell type="subview" viewname="AccessionAgent" id="8" name="accessionAgents" desc="Agents" colspan="13"/>
</row>
<row>
<cell type="subview" viewname="AccessionAuthorization" id="9" desc="Authorization" name="accessionAuthorizations" colspan="13"/>
</row>
<row>
<cell type="separator" label="Attachments" colspan="13"/>
</row>
<row>
<cell type="subview" id="attachments" viewname="ObjectAttachment" name="accessionAttachments" colspan="13" initialize="addsearch=true;btn=true;icon=AccessionAttachment;hc=xxx"/>
</row>
<row>
<cell type="separator" label="" colspan="13"/>
</row>
<row>
<cell type="label" labelfor="10"/>
<cell type="field" id="10" name="modifiedByAgent" uitype="label" readonly="true" uifieldformatter="Agent"/>
<cell type="label" labelfor="11"/>
<cell type="field" id="11" name="timestampModified" uitype="label" readonly="true"/>
</row>
</rows>
</viewdef>