Customizing Pricing Filters

 
 
 

Pricing filters can be customized. By customization, CloudPortal Business Manager allows the removal of filters.

Customizing pricing filters consists of the following:

Step 1

Open the applicationContext-admin-customizations.xml file in citrix.cpbm.custom.common bundle.

Step 2

There are 2 spring beans which refer to a collection of discounting engines and tax engines:
  • discountEngineList
  • taxEngineList
<bean name="adhocDiscountEngine" class="${discount.adhoc.engine.implementation:com.vmops.component.discount.policy.NonPromotionalDiscountEngine}" >       </bean>      <bean name="percentDiscountEngine" class="${discount.percent.engine.implementation:com.vmops.component.discount.policy.PercentDiscountEngine}">      </bean>      <bean name="amountDiscountEngine" class="${discount.amount.engine.implementation:com.vmops.component.discount.policy.AmountDiscountEngine}" />       <bean name="taxEngine" class="${tax.engine.implementation}" >         <property name="flatTaxPercent" value="${tax.engine.flat.percent:10.0}" />      </bean>      	<bean id="discountEngineList" class="java.util.ArrayList">  		<constructor-arg>  			<list>  				<ref bean="adhocDiscountEngine" />  				<ref bean="percentDiscountEngine" />  				<ref bean="amountDiscountEngine" />  			</list>  		</constructor-arg>  	</bean>  	  	<bean id="taxEngineList" class="java.util.ArrayList">  		<constructor-arg>  			<list>  				<ref bean="taxEngine" />  			</list>  		</constructor-arg>  	</bean>

Step 3

Remove the bean reference from the list which is not required or is not applicable. Any bean reference removed from the above mentioned list will also remove the bean declaration as this bean is not used any more.

 
Tem mais dúvidas? Submeter um pedido

Comentários

 
Adding comment, please wait....

Provide Feedback on Article:

Subject:
Comments:*
Powered by Zendesk