DocumentLinesToDocumentLinesFulfillmentTOrderItem, TFulfillmentDocument, TFulfillmentItem Constructor |
Namespace:
Aloe.EnterpriseOne.Model.Core.Transformations
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic DocumentLinesToDocumentLinesFulfillment(
EnterpriseOneTransaction transaction,
Func<TOrderItem, TFulfillmentDocument> getOrCreateSubDocument,
Func<TOrderItem, Document> getParentDocument,
OrphanHandling orphanHandling = 0,
bool executeForZeroOrderItems = false
)
Public Sub New (
transaction As EnterpriseOneTransaction,
getOrCreateSubDocument As Func(Of TOrderItem, TFulfillmentDocument),
getParentDocument As Func(Of TOrderItem, Document),
Optional orphanHandling As OrphanHandling = 0,
Optional executeForZeroOrderItems As Boolean = false
)
public:
DocumentLinesToDocumentLinesFulfillment(
EnterpriseOneTransaction^ transaction,
Func<TOrderItem, TFulfillmentDocument>^ getOrCreateSubDocument,
Func<TOrderItem, Document^>^ getParentDocument,
OrphanHandling^ orphanHandling = 0,
bool executeForZeroOrderItems = false
)
new :
transaction : EnterpriseOneTransaction *
getOrCreateSubDocument : Func<'TOrderItem, 'TFulfillmentDocument> *
getParentDocument : Func<'TOrderItem, Document> *
?orphanHandling : OrphanHandling *
?executeForZeroOrderItems : bool
(* Defaults:
let _orphanHandling = defaultArg orphanHandling 0
let _executeForZeroOrderItems = defaultArg executeForZeroOrderItems false
*)
-> DocumentLinesToDocumentLinesFulfillment
Parameters
- transaction
- Type: Aloe.EnterpriseOne.Model.CoreEnterpriseOneTransaction
The transaction. - getOrCreateSubDocument
- Type: SystemFuncTOrderItem, TFulfillmentDocument
The get or create function, which returns sub-document for each order item. - getParentDocument
- Type: SystemFuncTOrderItem, Document
Function, which gets the parent document of an order item. - orphanHandling (Optional)
- Type: Aloe.EnterpriseOne.Model.Core.TransformationsOrphanHandling
Specifies the orphan handling strategy. - executeForZeroOrderItems (Optional)
- Type: SystemBoolean
if set to true, the fulfillment will execute even for order items with zero remaining values.
See Also