Subtracts the second quantity from the first. The quantities must have the same Unit.
Namespace:
Aloe.EnterpriseOne.Model
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic static Quantity Subtract(
Quantity first,
Quantity second
)
Public Shared Function Subtract (
first As Quantity,
second As Quantity
) As Quantity
public:
static Quantity^ Subtract(
Quantity^ first,
Quantity^ second
)
static member Subtract :
first : Quantity *
second : Quantity -> Quantity
Parameters
- first
- Type: Aloe.EnterpriseOne.ModelQuantity
The quantity from which to subtract. - second
- Type: Aloe.EnterpriseOne.ModelQuantity
The quantity to subtract.
Return Value
Type:
QuantityThe subtraction result.
Exceptions
See Also