Package | Description |
---|---|
org.opencrx.kernel.backend | |
org.opencrx.kernel.contract1.aop2 | |
org.opencrx.kernel.contract1.jmi1 |
Modifier and Type | Method and Description |
---|---|
CalculationRule |
Contracts.findCalculationRule(String name,
Segment segment)
Find calculation rule with given name.
|
protected CalculationRule |
Contracts.getDefaultCalculationRule(Segment contractSegment)
Get default calculation rule.
|
CalculationRule |
Contracts.initCalculationRule(String calculationRuleName,
String description,
String getPositionAmountsScript,
String getContractAmountsScript,
javax.jdo.PersistenceManager pm,
String providerName,
String segmentName)
Create / update calculation rule.
|
Modifier and Type | Method and Description |
---|---|
GetContractAmountsResult |
Contracts.getContractAmounts(CalculationRule calculationRule,
SalesContract contract,
List<?> lineItemNumbers,
List<?> positionBaseAmounts,
List<?> positionDiscountAmounts,
List<?> positionTaxAmounts,
List<?> positionAmounts,
List<?> salesCommissions,
List<?> salesCommissionIsPercentages) |
static GetContractAmountsResult |
Contracts.getContractAmounts(org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 rootPkg,
CalculationRule calculationRule,
SalesContract contract,
Integer[] lineItemNumbers,
BigDecimal[] positionBaseAmounts,
BigDecimal[] positionDiscountAmounts,
BigDecimal[] positionTaxAmounts,
BigDecimal[] positionAmounts,
BigDecimal[] salesCommissions,
Boolean[] salesCommissionIsPercentages)
Get contract amounts.
|
GetPositionAmountsResult |
Contracts.getPositionAmounts(CalculationRule calculationRule,
SalesContractPosition position) |
GetPositionAmountsResult |
Contracts.getPositionAmounts(CalculationRule calculationRule,
SalesContractPosition position,
BigDecimal minMaxAdjustedQuantity,
BigDecimal uomScaleFactor,
BigDecimal salesTaxRate) |
static GetPositionAmountsResult |
Contracts.getPositionAmounts(org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 rootPkg,
CalculationRule calculationRule,
SalesContractPosition position,
BigDecimal minMaxAdjustedQuantity,
BigDecimal uomScaleFactor,
BigDecimal salesTaxRate) |
GetPositionAmountsResult |
Contracts.getSalesContractPositionAmounts(CalculationRule calculationRule,
SalesContractPosition position,
BigDecimal minMaxAdjustedQuantity,
BigDecimal uomScaleFactor,
BigDecimal salesTaxRate)
Get amounts for contract positions.
|
static GetPositionAmountsResult |
Contracts.getSalesContractPositionAmounts(org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 rootPkg,
CalculationRule calculationRule,
SalesContractPosition position,
BigDecimal minMaxAdjustedQuantity,
BigDecimal uomScaleFactor,
BigDecimal salesTaxRate)
Get contract amounts for sales contract permissions.
|
Modifier and Type | Class and Description |
---|---|
class |
CalculationRuleImpl<S extends CalculationRule,N extends CalculationRule,C extends Void> |
Modifier and Type | Method and Description |
---|---|
<T extends CalculationRule> |
Segment.getCalculationRule(CalculationRuleQuery query)
Retrieves the value for the reference
calculationRule for the specified query. |
Modifier and Type | Method and Description |
---|---|
CalculationRule |
CalculationRuleClass.createCalculationRule()
Creates an instance of class
CalculationRule . |
CalculationRule |
SalesContract.getCalcRule()
Retrieves the value for the reference
calcRule . |
CalculationRule |
SalesContractCreator.getCalcRule()
Retrieves the value for the reference
calcRule . |
CalculationRule |
SalesContractPosition.getCalcRule()
Retrieves the value for the reference
calcRule . |
CalculationRule |
Segment.getCalculationRule(boolean idIsPersistent,
String id)
Retrieves the value for the reference
calculationRule for the specified qualifier attribute value. |
CalculationRule |
CalculationRuleClass.getCalculationRule(Object object)
Creates an instance of class
CalculationRule based on the specified Object instance. |
CalculationRule |
Segment.getCalculationRule(String id)
Retrieves the value for the reference
calculationRule for the specified qualifier attribute value. |
Modifier and Type | Method and Description |
---|---|
void |
Segment.addCalculationRule(boolean idIsPersistent,
String id,
CalculationRule calculationRule)
Adds the specified element to the set of the values for the reference
calculationRule . |
void |
Segment.addCalculationRule(CalculationRule calculationRule)
Adds the specified element to the set of the values for the reference
calculationRule using an implementation-specific, reassignable qualifier. |
void |
Segment.addCalculationRule(String id,
CalculationRule calculationRule)
Adds the specified element to the set of the values for the reference
calculationRule using a reassignable qualifier. |
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.