MultiDocumentGenerationTParentDocument, TOrderItem, TSubDocument Constructor |
Namespace:
Aloe.EnterpriseOne.Model.Core.Transformations
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic MultiDocumentGeneration(
TParentDocument parentDocument,
Func<TOrderItem, TSubDocument, bool> splitFunction,
GenerationOptions options = null,
bool singleExecution = false
)
Public Sub New (
parentDocument As TParentDocument,
splitFunction As Func(Of TOrderItem, TSubDocument, Boolean),
Optional options As GenerationOptions = Nothing,
Optional singleExecution As Boolean = false
)
public:
MultiDocumentGeneration(
TParentDocument parentDocument,
Func<TOrderItem, TSubDocument, bool>^ splitFunction,
GenerationOptions^ options = nullptr,
bool singleExecution = false
)
new :
parentDocument : 'TParentDocument *
splitFunction : Func<'TOrderItem, 'TSubDocument, bool> *
?options : GenerationOptions *
?singleExecution : bool
(* Defaults:
let _options = defaultArg options null
let _singleExecution = defaultArg singleExecution false
*)
-> MultiDocumentGeneration
Parameters
- parentDocument
- Type: TParentDocument
The parent document from which to generate sub-documents. - splitFunction
- Type: SystemFuncTOrderItem, TSubDocument, Boolean
The split function. - options (Optional)
- Type: Aloe.EnterpriseOne.Model.Core.TransformationsGenerationOptions
Gets the starting options for this particular generation run. - singleExecution (Optional)
- Type: SystemBoolean
if set to true the generation is activated only when there are no previous sub-documents.
See Also