<commit_before><?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xsi:schemaLocation="http://www.springframework.org/schema/beans         http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">

  <bean id="CustomerInvoiceDocument" parent="CustomerInvoiceDocument-parentBean"/>

  <bean id="CustomerInvoiceDocument-parentBean" abstract="true" parent="TransactionalDocumentEntry">
    <property name="allowsErrorCorrection" value="true"/>
    
    
    <property name="documentTypeName" value="INV"/>
    <property name="documentClass" value="org.kuali.kfs.module.ar.document.CustomerInvoiceDocument"/>
    <property name="businessRulesClass" value="org.kuali.kfs.sys.document.validation.impl.AccountingRuleEngineRuleBase"/>
    <property name="promptBeforeValidationClass" value="org.kuali.kfs.module.ar.document.validation.impl.CustomerInvoiceDocumentPreRules"/>
    <property name="documentAuthorizerClass" value="org.kuali.kfs.module.ar.document.authorization.CustomerInvoiceDocumentAuthorizer"/>
    <property name="documentPresentationControllerClass" value="org.kuali.kfs.module.ar.document.authorization.CustomerInvoiceDocumentPresentationController"/>
    <property name="allowsCopy" value="true"/>

    <property name="accountingLineGroups">
    	<map>
    		<entry>
    			<key><value>source</value></key>
	    		<ref bean="CustomerInvoiceDocument-sourceAccountingLineGroup" parent="AccountingLineGroup"/>
	    	</entry>
    	</map>
    </property>
    <property name="importedLineParserClass" value="org.kuali.kfs.module.ar.businessobject.CustomerInvoiceAccountingLineParser"/>

    <property name="attributes">
      <list>
        <ref bean="CustomerInvoiceDocument-documentHeader.documentDescription"/>
        <ref bean="CustomerInvoiceDocument-documentNumber"/>
        <ref bean="CustomerInvoiceDocument-invoiceHeaderText"/>
        <ref bean="CustomerInvoiceDocument-invoiceAttentionLineText"/>
        <ref bean="CustomerInvoiceDocument-invoiceDueDate"/>
        <ref bean="CustomerInvoiceDocument-billingDate"/>
        <ref bean="CustomerInvoiceDocument-printDate"/>
        <ref bean="CustomerInvoiceDocument-invoiceTermsText"/>
        <ref bean="CustomerInvoiceDocument-organizationInvoiceNumber"/>
        <ref bean="CustomerInvoiceDocument-parentInvoiceNumber"/>
        <ref bean="CustomerInvoiceDocument-customerPurchaseOrderNumber"/>
        <ref bean="CustomerInvoiceDocument-printInvoiceIndicator"/>
        <ref bean="CustomerInvoiceDocument-customerPurchaseOrderDate"/>
        <ref bean="CustomerInvoiceDocument-billByChartOfAccountCode"/>
        <ref bean="CustomerInvoiceDocument-billedByOrganizationCode"/>
        <ref bean="CustomerInvoiceDocument-customerShipToAddressIdentifier"/>
        <ref bean="CustomerInvoiceDocument-customerBillToAddressIdentifier"/>
        <ref bean="CustomerInvoiceDocument-customerSpecialProcessingCode"/>
        <ref bean="CustomerInvoiceDocument-customerRecordAttachmentIndicator"/>
        <ref bean="CustomerInvoiceDocument-openInvoiceIndicator"/>
        <ref bean="CustomerInvoiceDocument-sourceTotal"/>
        <ref bean="CustomerInvoiceDocument-paymentChartOfAccountsCode"/>
        <ref bean="CustomerInvoiceDocument-paymentFinancialObjectCode"/>
        <ref bean="CustomerInvoiceDocument-paymentAccountNumber"/>
        <ref bean="CustomerInvoiceDocument-paymentOrganizationReferenceIdentifier"/>
        <ref bean="CustomerInvoiceDocument-paymentSubAccountNumber"/>
        <ref bean="CustomerInvoiceDocument-paymentProjectCode"/>
        <ref bean="CustomerInvoiceDocument-paymentFinancialSubObjectCode"/>
        <ref bean="CustomerInvoiceDocument-billingDateForDisplay"/>
        <ref bean="CustomerInvoiceDocument-versionNumber"/>
        <ref bean="CustomerInvoiceDocument-openAmount"/>
        <ref bean="CustomerInvoiceDocument-age"/>
		<ref bean="CustomerInvoiceDocument-customerName"/>
		<ref bean="CustomerInvoiceDocument-billingAddressName"/>
		<ref bean="CustomerInvoiceDocument-billingCityName"/>
		<ref bean="CustomerInvoiceDocument-billingStateCode"/>
		<ref bean="CustomerInvoiceDocument-billingZipCode"/>
		<ref bean="CustomerInvoiceDocument-billingCountryCode"/>
		<ref bean="CustomerInvoiceDocument-billingAddressInternationalProvinceName"/>
		<ref bean="CustomerInvoiceDocument-billingInternationalMailCode"/>
		<ref bean="CustomerInvoiceDocument-billingEmailAddress"/>
		<ref bean="CustomerInvoiceDocument-billingAddressTypeCode"/>
		<ref bean="CustomerInvoiceDocument-shippingAddressName"/>
		<ref bean="CustomerInvoiceDocument-shippingCityName"/>
		<ref bean="CustomerInvoiceDocument-shippingStateCode"/>
		<ref bean="CustomerInvoiceDocument-shippingZipCode"/>
		<ref bean="CustomerInvoiceDocument-shippingCountryCode"/>
		<ref bean="CustomerInvoiceDocument-shippingAddressInternationalProvinceName"/>
		<ref bean="CustomerInvoiceDocument-shippingInternationalMailCode"/>
		<ref bean="CustomerInvoiceDocument-shippingEmailAddress"/>
		<ref bean="CustomerInvoiceDocument-shippingAddressTypeCode"/>
		<ref bean="CustomerInvoiceDocument-billingLine1StreetAddress"/>
		<ref bean="CustomerInvoiceDocument-billingLine2StreetAddress"/>
		<ref bean="CustomerInvoiceDocument-shippingLine1StreetAddress"/>
		<ref bean="CustomerInvoiceDocument-shippingLine2StreetAddress"/>
		<ref bean="CustomerInvoiceDocument-recurredInvoiceIndicator"/>
      </list>
    </property>
    <property name="validationMap" ref="CustomerInvoiceDocument-validations"/>
    <property name="workflowAttributes">
      <ref bean="CustomerInvoiceDocument-workflowAttributes"/>
    </property>
  </bean>

<!-- Attribute Definitions -->

  <!-- accounting line groups -->
  <bean id="CustomerInvoiceDocument-sourceAccountingLineGroup" parent="CustomerInvoiceDocument-sourceAccountingLineGroup-parentBean"/>
  
  <bean id="CustomerInvoiceDocument-sourceAccountingLineGroup-parentBean" parent="AccountingLineGroup" abstract="true">
	  <property name="accountingLineView" ref="AccountsReceivable-CustomerInvoice-accountingLineView"/>
	  <property name="accountingLineClass" value="org.kuali.kfs.module.ar.businessobject.CustomerInvoiceDetail"/>
	  <property name="groupLabel" value="Source"/>
	  <property name="accountingLineAuthorizerClass" value="org.kuali.kfs.module.ar.document.authorization.CustomerInvoiceDocumentSourceLinesAuthorizer"/>
	  <property name="importedLinePropertyPrefix" value="source"/>
	  <property name="totals" ref="AccountingDocument-sourceGroupTotals"/>
	  <property name="errorKey" value="document.sourceAccounting*,sourceAccountingLines,newSourceLine*"/> <!-- note people copying this: AV and JV have extra things that belong here -->
  </bean>
  
  <bean id="CustomerInvoiceDocument-documentNumber" parent="CustomerInvoiceDocument-documentNumber-parentBean"/>

  <bean id="CustomerInvoiceDocument-documentNumber-parentBean" abstract="true" parent="DocumentHeader-documentNumber"/>
  
  <bean id="CustomerInvoiceDocument-documentHeader.documentDescription" parent="CustomerInvoiceDocument-documentHeader.documentDescription-parentBean"/>

  <bean id="CustomerInvoiceDocument-documentHeader.documentDescription-parentBean" abstract="true" parent="DocumentHeader-documentDescription">
    <property name="name" value="documentHeader.documentDescription"/>
  </bean>
  <bean id="CustomerInvoiceDocument-invoiceHeaderText" parent="CustomerInvoiceDocument-invoiceHeaderText-parentBean"/>

  <bean id="CustomerInvoiceDocument-invoiceHeaderText-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="name" value="invoiceHeaderText"/>
    <property name="forceUppercase" value="false"/>
    <property name="label" value="Header Text"/>
    <property name="shortLabel" value="Header"/>
    <property name="maxLength" value="50"/>
    <property name="required" value="false"/>
    <property name="control">
      <bean parent="TextControlDefinition" p:size="50"/>
    </property>
  </bean>
  
  <bean id="CustomerInvoiceDocument-age" parent="CustomerInvoiceDocument-age-parentBean"/>

  <bean id="CustomerInvoiceDocument-age-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="name" value="age"/>
    <property name="forceUppercase" value="false"/>
    <property name="label" value="Age"/>
    <property name="shortLabel" value="Age"/>
    <property name="maxLength" value="5"/>
    <property name="required" value="false"/>
    <property name="control">
      <bean parent="TextControlDefinition" p:size="5"/>
    </property>
  </bean>  
  
  <bean id="CustomerInvoiceDocument-invoiceAttentionLineText" parent="CustomerInvoiceDocument-invoiceAttentionLineText-parentBean"/>

  <bean id="CustomerInvoiceDocument-invoiceAttentionLineText-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="name" value="invoiceAttentionLineText"/>
    <property name="forceUppercase" value="false"/>
    <property name="label" value="Attention Line Text"/>
    <property name="shortLabel" value="Attention Line"/>
    <property name="maxLength" value="80"/>
    <property name="required" value="false"/>
    <property name="control">
      <bean parent="TextControlDefinition" p:size="80"/><commit_msg>KULAR-824 : Increased the header text description size from 50 characters to 120 characters, which is the size the spec called for.<commit_after><?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xsi:schemaLocation="http://www.springframework.org/schema/beans         http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">

  <bean id="CustomerInvoiceDocument" parent="CustomerInvoiceDocument-parentBean"/>

  <bean id="CustomerInvoiceDocument-parentBean" abstract="true" parent="TransactionalDocumentEntry">
    <property name="allowsErrorCorrection" value="true"/>
    
    
    <property name="documentTypeName" value="INV"/>
    <property name="documentClass" value="org.kuali.kfs.module.ar.document.CustomerInvoiceDocument"/>
    <property name="businessRulesClass" value="org.kuali.kfs.sys.document.validation.impl.AccountingRuleEngineRuleBase"/>
    <property name="promptBeforeValidationClass" value="org.kuali.kfs.module.ar.document.validation.impl.CustomerInvoiceDocumentPreRules"/>
    <property name="documentAuthorizerClass" value="org.kuali.kfs.module.ar.document.authorization.CustomerInvoiceDocumentAuthorizer"/>
    <property name="documentPresentationControllerClass" value="org.kuali.kfs.module.ar.document.authorization.CustomerInvoiceDocumentPresentationController"/>
    <property name="allowsCopy" value="true"/>

    <property name="accountingLineGroups">
    	<map>
    		<entry>
    			<key><value>source</value></key>
	    		<ref bean="CustomerInvoiceDocument-sourceAccountingLineGroup" parent="AccountingLineGroup"/>
	    	</entry>
    	</map>
    </property>
    <property name="importedLineParserClass" value="org.kuali.kfs.module.ar.businessobject.CustomerInvoiceAccountingLineParser"/>

    <property name="attributes">
      <list>
        <ref bean="CustomerInvoiceDocument-documentHeader.documentDescription"/>
        <ref bean="CustomerInvoiceDocument-documentNumber"/>
        <ref bean="CustomerInvoiceDocument-invoiceHeaderText"/>
        <ref bean="CustomerInvoiceDocument-invoiceAttentionLineText"/>
        <ref bean="CustomerInvoiceDocument-invoiceDueDate"/>
        <ref bean="CustomerInvoiceDocument-billingDate"/>
        <ref bean="CustomerInvoiceDocument-printDate"/>
        <ref bean="CustomerInvoiceDocument-invoiceTermsText"/>
        <ref bean="CustomerInvoiceDocument-organizationInvoiceNumber"/>
        <ref bean="CustomerInvoiceDocument-parentInvoiceNumber"/>
        <ref bean="CustomerInvoiceDocument-customerPurchaseOrderNumber"/>
        <ref bean="CustomerInvoiceDocument-printInvoiceIndicator"/>
        <ref bean="CustomerInvoiceDocument-customerPurchaseOrderDate"/>
        <ref bean="CustomerInvoiceDocument-billByChartOfAccountCode"/>
        <ref bean="CustomerInvoiceDocument-billedByOrganizationCode"/>
        <ref bean="CustomerInvoiceDocument-customerShipToAddressIdentifier"/>
        <ref bean="CustomerInvoiceDocument-customerBillToAddressIdentifier"/>
        <ref bean="CustomerInvoiceDocument-customerSpecialProcessingCode"/>
        <ref bean="CustomerInvoiceDocument-customerRecordAttachmentIndicator"/>
        <ref bean="CustomerInvoiceDocument-openInvoiceIndicator"/>
        <ref bean="CustomerInvoiceDocument-sourceTotal"/>
        <ref bean="CustomerInvoiceDocument-paymentChartOfAccountsCode"/>
        <ref bean="CustomerInvoiceDocument-paymentFinancialObjectCode"/>
        <ref bean="CustomerInvoiceDocument-paymentAccountNumber"/>
        <ref bean="CustomerInvoiceDocument-paymentOrganizationReferenceIdentifier"/>
        <ref bean="CustomerInvoiceDocument-paymentSubAccountNumber"/>
        <ref bean="CustomerInvoiceDocument-paymentProjectCode"/>
        <ref bean="CustomerInvoiceDocument-paymentFinancialSubObjectCode"/>
        <ref bean="CustomerInvoiceDocument-billingDateForDisplay"/>
        <ref bean="CustomerInvoiceDocument-versionNumber"/>
        <ref bean="CustomerInvoiceDocument-openAmount"/>
        <ref bean="CustomerInvoiceDocument-age"/>
		<ref bean="CustomerInvoiceDocument-customerName"/>
		<ref bean="CustomerInvoiceDocument-billingAddressName"/>
		<ref bean="CustomerInvoiceDocument-billingCityName"/>
		<ref bean="CustomerInvoiceDocument-billingStateCode"/>
		<ref bean="CustomerInvoiceDocument-billingZipCode"/>
		<ref bean="CustomerInvoiceDocument-billingCountryCode"/>
		<ref bean="CustomerInvoiceDocument-billingAddressInternationalProvinceName"/>
		<ref bean="CustomerInvoiceDocument-billingInternationalMailCode"/>
		<ref bean="CustomerInvoiceDocument-billingEmailAddress"/>
		<ref bean="CustomerInvoiceDocument-billingAddressTypeCode"/>
		<ref bean="CustomerInvoiceDocument-shippingAddressName"/>
		<ref bean="CustomerInvoiceDocument-shippingCityName"/>
		<ref bean="CustomerInvoiceDocument-shippingStateCode"/>
		<ref bean="CustomerInvoiceDocument-shippingZipCode"/>
		<ref bean="CustomerInvoiceDocument-shippingCountryCode"/>
		<ref bean="CustomerInvoiceDocument-shippingAddressInternationalProvinceName"/>
		<ref bean="CustomerInvoiceDocument-shippingInternationalMailCode"/>
		<ref bean="CustomerInvoiceDocument-shippingEmailAddress"/>
		<ref bean="CustomerInvoiceDocument-shippingAddressTypeCode"/>
		<ref bean="CustomerInvoiceDocument-billingLine1StreetAddress"/>
		<ref bean="CustomerInvoiceDocument-billingLine2StreetAddress"/>
		<ref bean="CustomerInvoiceDocument-shippingLine1StreetAddress"/>
		<ref bean="CustomerInvoiceDocument-shippingLine2StreetAddress"/>
		<ref bean="CustomerInvoiceDocument-recurredInvoiceIndicator"/>
      </list>
    </property>
    <property name="validationMap" ref="CustomerInvoiceDocument-validations"/>
    <property name="workflowAttributes">
      <ref bean="CustomerInvoiceDocument-workflowAttributes"/>
    </property>
  </bean>

<!-- Attribute Definitions -->

  <!-- accounting line groups -->
  <bean id="CustomerInvoiceDocument-sourceAccountingLineGroup" parent="CustomerInvoiceDocument-sourceAccountingLineGroup-parentBean"/>
  
  <bean id="CustomerInvoiceDocument-sourceAccountingLineGroup-parentBean" parent="AccountingLineGroup" abstract="true">
	  <property name="accountingLineView" ref="AccountsReceivable-CustomerInvoice-accountingLineView"/>
	  <property name="accountingLineClass" value="org.kuali.kfs.module.ar.businessobject.CustomerInvoiceDetail"/>
	  <property name="groupLabel" value="Source"/>
	  <property name="accountingLineAuthorizerClass" value="org.kuali.kfs.module.ar.document.authorization.CustomerInvoiceDocumentSourceLinesAuthorizer"/>
	  <property name="importedLinePropertyPrefix" value="source"/>
	  <property name="totals" ref="AccountingDocument-sourceGroupTotals"/>
	  <property name="errorKey" value="document.sourceAccounting*,sourceAccountingLines,newSourceLine*"/> <!-- note people copying this: AV and JV have extra things that belong here -->
  </bean>
  
  <bean id="CustomerInvoiceDocument-documentNumber" parent="CustomerInvoiceDocument-documentNumber-parentBean"/>

  <bean id="CustomerInvoiceDocument-documentNumber-parentBean" abstract="true" parent="DocumentHeader-documentNumber"/>
  
  <bean id="CustomerInvoiceDocument-documentHeader.documentDescription" parent="CustomerInvoiceDocument-documentHeader.documentDescription-parentBean"/>

  <bean id="CustomerInvoiceDocument-documentHeader.documentDescription-parentBean" abstract="true" parent="DocumentHeader-documentDescription">
    <property name="name" value="documentHeader.documentDescription"/>
  </bean>
  <bean id="CustomerInvoiceDocument-invoiceHeaderText" parent="CustomerInvoiceDocument-invoiceHeaderText-parentBean"/>

  <bean id="CustomerInvoiceDocument-invoiceHeaderText-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="name" value="invoiceHeaderText"/>
    <property name="forceUppercase" value="false"/>
    <property name="label" value="Header Text"/>
    <property name="shortLabel" value="Header"/>
    <property name="maxLength" value="120"/>
    <property name="required" value="false"/>
    <property name="control">
      <bean parent="TextControlDefinition" p:size="120"/>
    </property>
  </bean>
  
  <bean id="CustomerInvoiceDocument-age" parent="CustomerInvoiceDocument-age-parentBean"/>

  <bean id="CustomerInvoiceDocument-age-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="name" value="age"/>
    <property name="forceUppercase" value="false"/>
    <property name="label" value="Age"/>
    <property name="shortLabel" value="Age"/>
    <property name="maxLength" value="5"/>
    <property name="required" value="false"/>
    <property name="control">
      <bean parent="TextControlDefinition" p:size="5"/>
    </property>
  </bean>  
  
  <bean id="CustomerInvoiceDocument-invoiceAttentionLineText" parent="CustomerInvoiceDocument-invoiceAttentionLineText-parentBean"/>

  <bean id="CustomerInvoiceDocument-invoiceAttentionLineText-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="name" value="invoiceAttentionLineText"/>
    <property name="forceUppercase" value="false"/>
    <property name="label" value="Attention Line Text"/>
    <property name="shortLabel" value="Attention Line"/>
    <property name="maxLength" value="80"/>
    <property name="required" value="false"/>
    <property name="control">
      <bean parent="TextControlDefinition" p:size="80"/>
{'fraction_non_alphanumeric': 0.12685531233315536, 'fraction_numerical': 0.0030966364121729844, 'mean_word_length': 6.052334337349397, 'pattern_counts': {'":': 0, '<': 287, '<?xml version=': 2, '>': 287, 'https://': 0, 'lorem ipsum': 0, 'www.': 10, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1797303', 'n_tokens_mistral': 5088, 'n_tokens_neox': 4934, 'n_words': 703}