Package org.openbravo.costing
Class StandardCostAdjustment
- java.lang.Object
-
- org.openbravo.costing.CostingAlgorithmAdjustmentImp
-
- org.openbravo.costing.StandardCostAdjustment
-
public class StandardCostAdjustment extends CostingAlgorithmAdjustmentImp
-
-
Field Summary
-
Fields inherited from class org.openbravo.costing.CostingAlgorithmAdjustmentImp
areBackdatedTrxFixed, checkNegativeStockCorrection, costCurPrecission, costDimensionIds, isManufacturingProduct, nextLineNo, startingDate, stdCurPrecission, strClientId, strCostAdjId, strCostAdjLineId, strCostCurrencyId, strCostingRuleId, strCostOrgId, strTransactionId, trxType
-
-
Constructor Summary
Constructors Constructor Description StandardCostAdjustment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addCostDependingTrx(CostAdjustmentLine costAdjLine)
protected void
calculateNegativeStockCorrectionAdjustmentAmount(CostAdjustmentLine costAdjLine)
protected BigDecimal
getOutgoingBackdatedTrxAdjAmt(CostAdjustmentLine costAdjLine)
protected void
getRelatedTransactionsByAlgorithm()
-
Methods inherited from class org.openbravo.costing.CostingAlgorithmAdjustmentImp
calculateBackdatedTrxAdjustment, getCostAdj, getCostAdjLine, getCostCurrency, getCostDimensions, getCostingRule, getCostOrg, getDefaultCostDifference, getTransaction, init, insertCostAdjustmentLine, insertCostAdjustmentLine, insertCostAdjustmentLine, searchBOMProducts, searchIntMovementTo, searchManufacturingProduced, searchOpeningInventory, searchRelatedTransactionCosts, searchReturnShipments, searchVoidInOut, searchVoidInternalConsumption
-
-
-
-
Method Detail
-
getRelatedTransactionsByAlgorithm
protected void getRelatedTransactionsByAlgorithm()
- Specified by:
getRelatedTransactionsByAlgorithm
in classCostingAlgorithmAdjustmentImp
-
getOutgoingBackdatedTrxAdjAmt
protected BigDecimal getOutgoingBackdatedTrxAdjAmt(CostAdjustmentLine costAdjLine)
- Specified by:
getOutgoingBackdatedTrxAdjAmt
in classCostingAlgorithmAdjustmentImp
-
calculateNegativeStockCorrectionAdjustmentAmount
protected void calculateNegativeStockCorrectionAdjustmentAmount(CostAdjustmentLine costAdjLine)
- Specified by:
calculateNegativeStockCorrectionAdjustmentAmount
in classCostingAlgorithmAdjustmentImp
-
addCostDependingTrx
protected void addCostDependingTrx(CostAdjustmentLine costAdjLine)
- Overrides:
addCostDependingTrx
in classCostingAlgorithmAdjustmentImp
-
-