<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="CustomerCreditMemoDocument" parent="CustomerCreditMemoDocument-parentBean"/>

  <bean id="CustomerCreditMemoDocument-parentBean" abstract="true" parent="TransactionalDocumentEntry">
    
    
    
    <property name="documentTypeName" value="CRM"/>
    <property name="documentClass" value="org.kuali.kfs.module.ar.document.CustomerCreditMemoDocument"/>
    <property name="baseDocumentClass" value="org.kuali.kfs.module.ar.document.CustomerCreditMemoDocument"/>
    <property name="businessRulesClass" value="org.kuali.kfs.module.ar.document.validation.impl.CustomerCreditMemoDocumentRule"/>
<!-- the following businessRuleClass should be used for granular validations, if implemented
    <property name="businessRulesClass" value="org.kuali.kfs.sys.document.validation.impl.AccountingRuleEngineRuleBase" />
-->
    <property name="promptBeforeValidationClass" value="org.kuali.kfs.module.ar.document.validation.impl.CustomerCreditMemoDocumentPreRules"/>
    <property name="documentPresentationControllerClass" value="org.kuali.kfs.module.ar.document.authorization.CustomerCreditMemoDocumentPresentationController"/>
    <property name="attributes">
      <list>                                 
        <ref bean="CustomerCreditMemoDocument-financialDocumentReferenceInvoiceNumber"/>
        <ref bean="CustomerCreditMemoDocument-crmTotalItemAmount"/>
        <ref bean="CustomerCreditMemoDocument-crmTotalTaxAmount"/>
        <ref bean="CustomerCreditMemoDocument-crmTotalAmount"/>
        <ref bean="CustomerCreditMemoDocument-invOutstandingDays"/>
      </list>
    </property>
    <property name="workflowAttributes">
    	<ref bean="CustomerCreditMemoDocument-workflowAttributes"/>
    </property>
    <property name="validationMap" ref="CustomerCreditMemoDocument-validations"/>
  </bean>

<!-- Attribute Definitions -->

  <bean id="CustomerCreditMemoDocument-financialDocumentReferenceInvoiceNumber" parent="CustomerCreditMemoDocument-financialDocumentReferenceInvoiceNumber-parentBean"/>

  <bean id="CustomerCreditMemoDocument-financialDocumentReferenceInvoiceNumber-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="name" value="financialDocumentReferenceInvoiceNumber"/>
    <property name="forceUppercase" value="true"/>
    <property name="label" value="Invoice Reference Number"/>
    <property name="shortLabel" value="Invoice Ref. Num."/>
    <property name="maxLength" value="10"/>
    <property name="required" value="false"/>
    <property name="control">
      <ref bean="TenCharacterTextControl" />
    </property>
  </bean><commit_msg>KFSMI-7491 Customer Credit Memo needed a document authorizer set.<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="CustomerCreditMemoDocument" parent="CustomerCreditMemoDocument-parentBean"/>

  <bean id="CustomerCreditMemoDocument-parentBean" abstract="true" parent="TransactionalDocumentEntry">
    
    
    
    <property name="documentTypeName" value="CRM"/>
    <property name="documentClass" value="org.kuali.kfs.module.ar.document.CustomerCreditMemoDocument"/>
    <property name="baseDocumentClass" value="org.kuali.kfs.module.ar.document.CustomerCreditMemoDocument"/>
    <property name="businessRulesClass" value="org.kuali.kfs.module.ar.document.validation.impl.CustomerCreditMemoDocumentRule"/>
<!-- the following businessRuleClass should be used for granular validations, if implemented
    <property name="businessRulesClass" value="org.kuali.kfs.sys.document.validation.impl.AccountingRuleEngineRuleBase" />
-->
    <property name="promptBeforeValidationClass" value="org.kuali.kfs.module.ar.document.validation.impl.CustomerCreditMemoDocumentPreRules"/>
    <property name="documentAuthorizerClass" value="org.kuali.kfs.sys.document.authorization.FinancialSystemTransactionalDocumentAuthorizerBase"/>
    <property name="documentPresentationControllerClass" value="org.kuali.kfs.module.ar.document.authorization.CustomerCreditMemoDocumentPresentationController"/>    
    <property name="attributes">
      <list>                                 
        <ref bean="CustomerCreditMemoDocument-financialDocumentReferenceInvoiceNumber"/>
        <ref bean="CustomerCreditMemoDocument-crmTotalItemAmount"/>
        <ref bean="CustomerCreditMemoDocument-crmTotalTaxAmount"/>
        <ref bean="CustomerCreditMemoDocument-crmTotalAmount"/>
        <ref bean="CustomerCreditMemoDocument-invOutstandingDays"/>
      </list>
    </property>
    <property name="workflowAttributes">
    	<ref bean="CustomerCreditMemoDocument-workflowAttributes"/>
    </property>
    <property name="validationMap" ref="CustomerCreditMemoDocument-validations"/>
  </bean>

<!-- Attribute Definitions -->

  <bean id="CustomerCreditMemoDocument-financialDocumentReferenceInvoiceNumber" parent="CustomerCreditMemoDocument-financialDocumentReferenceInvoiceNumber-parentBean"/>

  <bean id="CustomerCreditMemoDocument-financialDocumentReferenceInvoiceNumber-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="name" value="financialDocumentReferenceInvoiceNumber"/>
    <property name="forceUppercase" value="true"/>
    <property name="label" value="Invoice Reference Number"/>
    <property name="shortLabel" value="Invoice Ref. Num."/>
    <property name="maxLength" value="10"/>
    <property name="required" value="false"/>
    <property name="control">
      <ref bean="TenCharacterTextControl" />
    </property>
  </bean>
{'fraction_non_alphanumeric': 0.12996566944580676, 'fraction_numerical': 0.0045774072257642635, 'mean_word_length': 5.419727177334733, 'pattern_counts': {'":': 0, '<': 82, '<?xml version=': 2, '>': 82, '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': '5400296', 'n_tokens_mistral': 1713, 'n_tokens_neox': 1645, 'n_words': 226}