Package org.openbravo.costing
Enum CostingServer.TrxType
- java.lang.Object
-
- java.lang.Enum<CostingServer.TrxType>
-
- org.openbravo.costing.CostingServer.TrxType
-
- All Implemented Interfaces:
Serializable
,Comparable<CostingServer.TrxType>
- Enclosing class:
- CostingServer
public static enum CostingServer.TrxType extends Enum<CostingServer.TrxType>
Transaction types implemented on the cost engine.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CostingServer.TrxType
getTrxType(MaterialTransaction transaction)
Given a Material Management transaction returns its type.static CostingServer.TrxType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CostingServer.TrxType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Shipment
public static final CostingServer.TrxType Shipment
-
ShipmentReturn
public static final CostingServer.TrxType ShipmentReturn
-
ShipmentVoid
public static final CostingServer.TrxType ShipmentVoid
-
ShipmentNegative
public static final CostingServer.TrxType ShipmentNegative
-
Receipt
public static final CostingServer.TrxType Receipt
-
ReceiptReturn
public static final CostingServer.TrxType ReceiptReturn
-
ReceiptVoid
public static final CostingServer.TrxType ReceiptVoid
-
ReceiptNegative
public static final CostingServer.TrxType ReceiptNegative
-
InventoryIncrease
public static final CostingServer.TrxType InventoryIncrease
-
InventoryDecrease
public static final CostingServer.TrxType InventoryDecrease
-
InventoryOpening
public static final CostingServer.TrxType InventoryOpening
-
InventoryClosing
public static final CostingServer.TrxType InventoryClosing
-
IntMovementFrom
public static final CostingServer.TrxType IntMovementFrom
-
IntMovementTo
public static final CostingServer.TrxType IntMovementTo
-
InternalCons
public static final CostingServer.TrxType InternalCons
-
InternalConsNegative
public static final CostingServer.TrxType InternalConsNegative
-
InternalConsVoid
public static final CostingServer.TrxType InternalConsVoid
-
BOMPart
public static final CostingServer.TrxType BOMPart
-
BOMProduct
public static final CostingServer.TrxType BOMProduct
-
ManufacturingConsumed
public static final CostingServer.TrxType ManufacturingConsumed
-
ManufacturingProduced
public static final CostingServer.TrxType ManufacturingProduced
-
Unknown
public static final CostingServer.TrxType Unknown
-
-
Method Detail
-
values
public static CostingServer.TrxType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CostingServer.TrxType c : CostingServer.TrxType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CostingServer.TrxType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getTrxType
public static CostingServer.TrxType getTrxType(MaterialTransaction transaction)
Given a Material Management transaction returns its type.
-
-