Class MergePositionTasksContribution
java.lang.Object
ch.tocco.nice2.optional.order.api.action.invoice.service.MergePositionTasksContribution
set a field or relation to be checked in MergeOrdersTask or MergeOrderPositionsTask
set isRelation="true" for relations
Add field to check:
@Bean
public MergePositionTasksContribution priceOrderCurrencyMergePositionTasksContribution() {
OrderPositionCreationContribution contribution = new OrderPositionCreationContribution();
contribution.setName("price_order_currency");
return contribution;
}
Add relation to check:
@Bean
public MergePositionTasksContribution userMergePositionTasksContribution() {
MergePositionTasksContribution contribution = new MergePositionTasksContribution();
contribution.setName("relUser");
contribution.setIsRelation(true);
return contribution;
}
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MergePositionTasksContribution
public MergePositionTasksContribution()
-
-
Method Details
-
getName
-
setName
-
isRelation
public boolean isRelation() -
setIsRelation
public void setIsRelation(boolean isRelation)
-