Click or drag to resize

DocumentGenerationTParent, TOrderItem, TSubDocument Class

Abstract base class for document to document generation procedures.
Inheritance Hierarchy

Namespace:  Aloe.EnterpriseOne.Model.Core.Transformations
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public abstract class DocumentGeneration<TParent, TOrderItem, TSubDocument> : IDocumentGeneration
where TParent : Document
where TSubDocument : Document

Type Parameters

TParent
The type of the parent (originating) document.
TOrderItem
The type of the order item.
TSubDocument
The type of the destination sub-document(s).

The DocumentGenerationTParent, TOrderItem, TSubDocument type exposes the following members.

Properties
  NameDescription
Public propertyChangeStateTime
Gets the change state time.
Public propertyCommitTime
Gets the commit time.
Public propertyDescription
Gets the name of the generation.
Public propertyGenerateOnlyOnce
Gets a value indicating whether the generation is activated only when there are no previous sub-documents.
Public propertyGenerationExecuted
Gets a value indicating whether the generation has been already executed.
Public propertyName
Gets the name of the generation.
Public propertyOptions
Gets the starting options for this particular generation run.
Public propertyParentDocument
Gets the parent document.
Public propertyRelationshipType
Gets the type of the relationship between the parent document and the sub-documents.
Public propertyRoute
Gets the route, which specifies the generation options. Set by a call to LoadParametersFromRoute(Route).
Public propertySingleExecution
Gets a value indicating whether the generation's business logic expects single execution.
Public propertySubDocumentsDateDeterminationMethod
Specifies whether to set the destination document date to the same date as the source.
Public propertySubDocumentsEnterpriseCompany
Gets the destination enterprise company.
Public propertySubDocumentsEnterpriseCompanyLocation
Gets the destination enterprise company location.
Public propertySubDocumentsReadOnly
Gets a value indicating whether the sub-documents should be read only.
Public propertySubDocumentsType
Gets or sets the document type of the generated document.
Public propertySupportsTransitionalSubDocuments
Gets a value indicating whether the generation supports transitional sub documents.
Public propertyTotalTime
Gets the total time of the generation including post processing time.
Top
Methods
  NameDescription
Public methodDetermineSubDocumentDate
Determines the suggested sub document date, according to the SubDocumentsDateDeterminationMethod.
Public methodGenerate
Performs the generation and returns a collection of the generated documents.
Public methodLoadParametersFromRoute
Loads the parameters of the generation from a document route.
Top
See Also