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