View • Attachments (0) • Info
| Version | Date | User | Description |
|---|---|---|---|
| 1.0 | 02/02/2009 | Initial Spec | |
| 2.0 | 02/16/2009 | Final Spec (that describes steps completed) | |
| 2.1 | 02/24/2009 | Final Spec (that includes code) | |
| 2.2 | 03/26/2009 | Final Spec (that includes modified code) |
Two vendor-related fields exist in FRS, but not in KFS. Two extended attributes will represent the AZ Sales Tax License Number and the Tucson Sales Tax License; they need to be added to the Vendor business object. These two attributes will need to be displayed on the Vendor inquiry screen.
<descriptor-repository version="1.0"> <class-descriptor class="edu.arizona.kfs.vnd.businessobject.VendorDetailExtension" table="PUR_VNDR_DTL_EXT_T"> <field-descriptor name="vendorHeaderGeneratedIdentifier" column="VNDR_HDR_GNRTD_ID" jdbc-type="INTEGER" primarykey="true" index="true"/> <field-descriptor name="vendorDetailAssignedIdentifier" column="VNDR_DTL_ASND_ID" jdbc-type="INTEGER" primarykey="true" index="true"/> <field-descriptor name="objectId" column="OBJ_ID" jdbc-type="VARCHAR" index="true"/> <field-descriptor name="versionNumber" column="VER_NBR" jdbc-type="BIGINT" locking="true"/> <field-descriptor name="azSalesTaxLicense" column="AZ_SALES_TAX_LIC" jdbc-type="VARCHAR" /> <field-descriptor name="tucSalesTaxLicense" column="TUC_SALES_TAX_LIC" jdbc-type="VARCHAR" /> </class-descriptor> <class-descriptor class="org.kuali.kfs.vnd.businessobject.VendorDetail" table="PUR_VNDR_DTL_T"> <!-- include delivered field-descriptor, reference-descriptor, and collection-descriptor properties --> <reference-descriptor name="extension" class-ref="edu.arizona.kfs.vnd.businessobject.VendorDetailExtension" auto-retrieve="true" auto-update="object" auto-delete="object" proxy="false"> <foreignkey field-ref="vendorHeaderGeneratedIdentifier" /> <foreignkey field-ref="vendorDetailAssignedIdentifier" /> </reference-descriptor> </class-descriptor> </descriptor-repository>
<bean id="VendorDetailExtension" parent="VendorDetailExtension-parentBean" /> <bean id="VendorDetailExtension-parentBean" abstract="true" parent="BusinessObjectEntry"> <property name="businessObjectClass" value="edu.arizona.kfs.vnd.businessobject.VendorDetailExtension" /> <property name="objectLabel" value="Vendor" /> <property name="attributes"> <list> <ref bean="VendorDetailExtension-versionNumber" /> <ref bean="VendorDetailExtension-azSalesTaxLicense" /> <ref bean="VendorDetailExtension-tucSalesTaxLicense" /> <ref bean="VendorDetailExtension-vendorHeaderGeneratedIdentifier" /> <ref bean="VendorDetailExtension-vendorDetailAssignedIdentifier" /> </list> </property> </bean> <bean id="VendorDetailExtension-vendorHeaderGeneratedIdentifier" parent="VendorDetail-vendorHeaderGeneratedIdentifier-parentBean" /> <bean id="VendorDetailExtension-vendorDetailAssignedIdentifier" parent="VendorDetail-vendorDetailAssignedIdentifier-parentBean" /> <bean id="VendorDetailExtension-azSalesTaxLicense" parent="VendorDetailExtension-azSalesTaxLicense-parentBean" /> <bean id="VendorDetailExtension-azSalesTaxLicense-parentBean" abstract="true" parent="AttributeDefinition"> <property name="name" value="azSalesTaxLicense" /> <property name="forceUppercase" value="false" /> <property name="label" value="Arizona Sales Tax License Number" /> <property name="shortLabel" value="AZ Tax#" /> <property name="maxLength" value="9" /> <property name="control"> <bean parent="TextControlDefinition" p:size="22" /> </property> </bean> <bean id="VendorDetailExtension-tucSalesTaxLicense" parent="VendorDetailExtension-tucSalesTaxLicense-parentBean" /> <bean id="VendorDetailExtension-tucSalesTaxLicense-parentBean" abstract="true" parent="AttributeDefinition"> <property name="name" value="tucSalesTaxLicense" /> <property name="forceUppercase" value="false" /> <property name="label" value="City of Tucson Sales Tax License Number" /> <property name="shortLabel" value="Tuc City Tax#" /> <property name="maxLength" value="7" /> <property name="control"> <bean parent="TextControlDefinition" p:size="22" /> </property> </bean> <bean id="VendorDetailExtension-versionNumber" parent="AttributeReferenceDummy-versionNumber-parentBean" />
<bean id="VendorDetail" parent="VendorDetail-parentBean"> <property name="attributes"> <list merge="true"> <ref bean="VendorDetail-azSalesTaxLicense" /> <ref bean="VendorDetail-tucSalesTaxLicense" /> </list> </property> </bean>
<bean id="VendorDetail-azSalesTaxLicense" parent="VendorDetail-azSalesTaxLicense-parentBean" /> <dd:boAttributeRef id="VendorDetail-azSalesTaxLicense-parentBean" abstract="true" parent="VendorDetailExtension-azSalesTaxLicense-parentBean" attributeName="extension.azSalesTaxLicense" /> <bean id="VendorDetail-tucSalesTaxLicense" parent="VendorDetail-tucSalesTaxLicense-parentBean" /> <dd:boAttributeRef id="VendorDetail-tucSalesTaxLicense-parentBean" abstract="true" parent="VendorDetailExtension-tucSalesTaxLicense-parentBean" attributeName="extension.tucSalesTaxLicense" />
<bean id="VendorDetail-inquiryDefinition" parent="VendorDetail-inquiryDefinition-parentBean" /> <bean id="VendorDetail-inquiryDefinition-parentBean" abstract="true" parent="InquiryDefinition"> <property name="title" value="Vendor Inquiry" /> <property name="inquirySections"> <list> <!-- include delivered InquirySectionDefinition bean for Vendor Detail --> <bean parent="InquirySectionDefinition"> <property name="title" value="Additional Attributes" /> <property name="numberOfColumns" value="1" /> <property name="inquiryFields"> <list> <bean parent="InquirySubSectionHeaderDefinition" p:attributeName="Vendor Sales Tax License Information" /> <bean parent="FieldDefinition" p:attributeName="extension.azSalesTaxLicense" /> <bean parent="FieldDefinition" p:attributeName="extension.tucSalesTaxLicense" /> </list> </property> </bean> <!-- include delivered InquirySectionDefinition beans for other inquiry sections in Vendor --> </list> </property> <property name="inquirableClass" value="org.kuali.kfs.vnd.businessobject.inquiry.VendorInquirable" /> </bean>
<bean id="VendorMaintenanceDocument" parent="VendorMaintenanceDocument-parentBean"> <property name="maintainableSections"> <list merge="true"> <ref bean="VendorMaintenanceDocument-ExtendedAttributes" /> </list> </property> </bean>
<bean id="VendorMaintenanceDocument-ExtendedAttributes" parent="VendorMaintenanceDocument-ExtendedAttributes-parentBean" /> <bean id="VendorMaintenanceDocument-ExtendedAttributes-parentBean" abstract="true" parent="MaintainableSectionDefinition"> <property name="id" value="ExtendedAttributes" /> <property name="title" value="Additional Attributes" /> <property name="maintainableItems"> <list> <bean parent="MaintainableSubSectionHeaderDefinition" p:name="Vendor Sales Tax" /> <bean parent="MaintainableFieldDefinition" p:name="extension.azSalesTaxLicense" /> <bean parent="MaintainableFieldDefinition" p:name="extension.tucSalesTaxLicense" /> </list> </property> </bean>
|
Browse Space |
Explore Confluence |
Your Account |
Add Content |