University of Arizona
Dashboard > Kuali Implementation Technical Team > ... > Technical Specifications > Line Description on DI Technical Specification
Site Search:

View Attachments (0) Info

Line Description on DI Technical Specification

Jira Tasks

Revision History

Version Date User Description
1.0 04/21/2009 Heather Lo Initial Spec
1.1 04/21/2009 Heather Lo Final Spec (includes development steps taken)
1.2 09/29/2009 Heather Lo Includes redefinition of importedLineParserClass

Technical Description

Currently, several FP eDocs have a Line Description field on each accounting line. The Distribution of Income and Expense document (DI) doesn't have a Line Description on the accounting lines. This needs to be added.

Details

  • Database Requirements
    1. None; field already exists.
  • UI Design
    1. "Line Description" field on each accounting line in a DI.
  • Development Checklist
    1. Update data dictionary.
      • Create new data dictionary file for the document (DistributionOfIncomeAndExpenseDocument.xml). Copy the original file and modify to include new attribute.
      • Redefine importedLineParserClass.

Development Steps Completed

  1. Updated data dictionary.
    • Modified the data dictionary file for the document (DistributionOfIncomeAndExpenseDocument.xml).
      • Had to define a new bean for accounting lines that included the existing properties and the "Line Description".
        excerpt from kfs/work/src/edu/arizona/kfs/fp/document/datadictionary/DistributionOfIncomeAndExpenseDocument.xml
        <bean id="DistributionOfIncomeAndExpense-sourceAccountingLineGroup" parent="DistributionOfIncomeAndExpense-sourceAccountingLineGroup-parentBean">
        	<property name="accountingLineView" ref="DistributionOfIncomeAndExpense-accountingLineAddition" />
        </bean>
        
        <bean id="DistributionOfIncomeAndExpense-targetAccountingLineGroup" parent="DistributionOfIncomeAndExpense-targetAccountingLineGroup-parentBean">
        	<property name="accountingLineView" ref="DistributionOfIncomeAndExpense-accountingLineAddition" />
        </bean>
        	
        <!-- new beans -->
        <bean id="DistributionOfIncomeAndExpense-accountingLineAddition" parent="DistributionOfIncomeAndExpense-accountingLineAddition-parent" />
        
        <bean id="DistributionOfIncomeAndExpense-accountingLineAddition-parent" parent="AccountingLineView" abstract="true">
        	<property name="elements">
        		<list>
        			<bean parent="AccountingLineView-sequenceNumber" />
        			<bean parent="AccountingLineView-lines">
        				<property name="lines">
        					<list>
        						<ref bean="accountingInformation" />
        						<bean parent="AccountingLineView-line">
        							<property name="elementName" value="lineDescription"/>
        							<property name="fields">
        								<list>
        									<bean parent="AccountingLineView-field" p:name="financialDocumentLineDescription" p:overrideColSpan="2"/>
        								</list>
        							</property>
        						</bean>
        						<ref bean="salesTaxInformation" />
        					</list>
        				</property>
        			</bean>
        			<bean parent="AccountingLineView-field" p:name="amount" p:required="true" />
        			<bean parent="AccountingLineView-actions" />
        		</list>
        	</property>
        </bean>
      • Had to import a new accounting line parser to read in line description.
        excerpt from kfs/work/src/edu/arizona/kfs/fp/document/datadictionary/DistributionOfIncomeAndExpenseDocument.xml
        <bean id="DistributionOfIncomeAndExpenseDocument" parent="DistributionOfIncomeAndExpenseDocument-parentBean">
        	<property name="importedLineParserClass" value="org.kuali.kfs.fp.businessobject.BasicFormatWithLineDescriptionAccountingLineParser"/>
        </bean>

View a printable version of the current page.

Browse Space
- Pages
- Labels
- Attachments
- Mail
- Bookmarks
- News
- Activity
- Advanced

Explore Confluence
- Popular Labels
- Notation Guide

Your Account
Log In

 

Add Content


Powered by Atlassian Confluence 1115, the Enterprise Wiki.. Contact administrators.