MeasureTOrderItem, TFulfillmentItem Constructor |
Namespace:
Aloe.EnterpriseOne.Model.Core.Transformations
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic Measure(
MultilanguageString name,
Fulfillment<TOrderItem, TFulfillmentItem> specification,
Func<TOrderItem, decimal> getOrdered,
Func<TOrderItem, TFulfillmentItem, decimal> getFulfilled,
Func<TOrderItem, bool> createFulfillmentItem = null
)
Public Sub New (
name As MultilanguageString,
specification As Fulfillment(Of TOrderItem, TFulfillmentItem),
getOrdered As Func(Of TOrderItem, Decimal),
getFulfilled As Func(Of TOrderItem, TFulfillmentItem, Decimal),
Optional createFulfillmentItem As Func(Of TOrderItem, Boolean) = Nothing
)
public:
Measure(
MultilanguageString^ name,
Fulfillment<TOrderItem, TFulfillmentItem>^ specification,
Func<TOrderItem, Decimal^>^ getOrdered,
Func<TOrderItem, TFulfillmentItem, Decimal^>^ getFulfilled,
Func<TOrderItem, bool>^ createFulfillmentItem = nullptr
)
new :
name : MultilanguageString *
specification : Fulfillment<'TOrderItem, 'TFulfillmentItem> *
getOrdered : Func<'TOrderItem, decimal> *
getFulfilled : Func<'TOrderItem, 'TFulfillmentItem, decimal> *
?createFulfillmentItem : Func<'TOrderItem, bool>
(* Defaults:
let _createFulfillmentItem = defaultArg createFulfillmentItem null
*)
-> Measure
Parameters
- name
- Type: Aloe.EnterpriseOne.ModelMultilanguageString
The name of the measure. - specification
- Type: Aloe.EnterpriseOne.Model.Core.TransformationsFulfillmentTOrderItem, TFulfillmentItem
The specification, containing the measure. - getOrdered
- Type: SystemFuncTOrderItem, Decimal
Function which gets the ordered value for an order item. - getFulfilled
- Type: SystemFuncTOrderItem, TFulfillmentItem, Decimal
Function which gets the fulfilled value for a fulfillment item. - createFulfillmentItem (Optional)
- Type: SystemFuncTOrderItem, Boolean
Function, which returns whether to create fulfillment item if not fulfilled.
See Also