Click or drag to resize

InvoiceOrder Class

Invoice Orders can be created by different modules and order the creation of Invoices. Entity: Crm_Invoice_Orders
Inheritance Hierarchy

Namespace:  Aloe.EnterpriseOne.Model.Crm.Invoicing
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public class InvoiceOrder : LogisticsDocument

The InvoiceOrder type exposes the following members.

Constructors
  NameDescription
Public methodInvoiceOrder
Initializes a new instance of the InvoiceOrder class with specific ObjectTransaction
Top
Properties
  NameDescription
Public propertyAccessKey
The access key, containing the user permissions for this document. null means that all users have unlimited permissions
(Inherited from Document.)
Public propertyAdjustedDocument
The primary document, which the current document adjusts. null when this is not an adjustment document
(Inherited from Document.)
Public propertyAdjustmentNumber
Consecutive number of the correction that this document is applying to the adjusted document. [Required]
(Inherited from Document.)
Public propertyAdjustmentTime
Date/time when the document last has been adjusted by corrective document
(Inherited from Document.)
Public propertyAdjustmentUser
The user who adjusted the document
(Inherited from Document.)
Public propertyApplyDate
Apply date to be passed to the invoice. When not null specifies that the VAT entry should be applied for a different period than that specified by the document date.
Public propertyAssignedToUser
The user to which this document is assigned for handling. null means that the document is not assigned to specific user
(Inherited from Document.)
Public propertyChangingAttributes
Gets the attributes that are currently changing. Can be used in attribute change event handler to prevent stack overflow.
(Inherited from EditableDomainObject.)
Public propertyComments
List of DocumentComment child objects, based on the DocumentComment.Document back reference
(Inherited from Document.)
Public propertyCompleteTime
Exact time, when the document was last completed[Filter(ge;le)]
(Inherited from Document.)
Public propertyCreationTime
Date/Time when the document was created [Required][Filter(ge;le)]
(Inherited from Document.)
Public propertyCreationUser
The login name of the user, who created the document [Required][Filter(like)]
(Inherited from Document.)
Public propertyCreditNoteDescription
Descriptions/reason for the credit note.
Public propertyCreditNoteOriginalInvoice
When the order is for credit note, may contain the original Invoice. null for normal orders or when the original document is unknown. [Filter(multi eq)]
Public propertyCreditNoteOriginalInvoiceOrder
When the invoice is a credit note, can specify the original Invoice Order, on which this is based. null for normal invoice orders or when the original document is unknown. [Filter(multi eq)]
Public propertyCurrencyDirectory
The currency directory, containing all the convertion rates, used by the document. null means that the document does not need currency convertions
(Inherited from Document.)
Public propertyCustomer
The primary customer to whom to invoice. [Required] [Filter(multi eq)]
Public propertyCustomProperties
Gets the custom properties of the object.
(Inherited from EnterpriseOneEntityObject.)
Public propertyDealType
VAT deal type for this invoice order. This deal type is copied to the invoice to create VAT entries. [Filter(multi eq)]
Public propertyDeliveryDate
Date, when the delivery was effected. When null = document date.
Public propertyDistributedAmounts
List of DocumentDistributedAmount child objects, based on the DocumentDistributedAmount.Document back reference
(Inherited from Document.)
Public propertyDistributedAmountsFromOtherDocuments
Gets the distributed amounts where this document is referenced.
(Inherited from LogisticsDocument.)
Public propertyDocumentAmounts
List of DocumentAmount child objects, based on the DocumentAmount.Document back reference
(Inherited from LogisticsDocument.)
Public propertyDocumentCurrency
The currency in which the document is issued. All amounts are in this currency. [Required] [Filter(multi eq)]
(Overrides LogisticsDocumentDocumentCurrency.)
Public propertyDocumentDate
The date on which the document was issued [Required][Filter(eq;ge;le)][ORD]
(Inherited from Document.)
Public propertyDocumentId
Gets the Id of the document row, related to the domain object
(Inherited from Document.)
Public propertyDocumentNo
Document number, unique within Document_Type_Id [Required][Filter(eq;like)][ORD]
(Inherited from Document.)
Public propertyDocumentNotes
Notes for this Document
(Inherited from Document.)
Public propertyDocumentText
Gets the document display text ({DocumentTypeName} {DocumentNo}).
(Inherited from Document.)
Public propertyDocumentType
The user defined type of the document. Determines document behaviour, properties, additional amounts, validation, generations, etc. [Required]
(Inherited from Document.)
Public propertyDocumentVersion
[Filter(eq;ge;le)]
(Inherited from Document.)
Public propertyEnterpriseCompany
The enterprise company which issued the document [Required]
(Inherited from Document.)
Public propertyEnterpriseCompanyLocation
The enterprise company location which issued the document. null means that there is only one location within the enterprise company and locations are not used
(Inherited from Document.)
Public propertyEntityName
The entity name of the document equal to the entity name of the document type.[Filter(eq)] [ORD]
(Inherited from Document.)
Public propertyExtendedProperties
Extended properties contain temporary (not persisted) values in the object instance.
(Inherited from EntityObject.)
Public propertyFileAttachments
List of DocumentFileAttachment child objects, based on the DocumentFileAttachment.Document back reference
(Inherited from Document.)
Public propertyFromCompanyDivision
The division of the company, issuing the document. null when the document is not issued by any specific division
(Inherited from Document.)
Public propertyFromParty
The party which issued the document [Required]
(Inherited from Document.)
Public propertyId
The unique Id of the entity object
(Inherited from EntityObject.)
Public propertyIsAdjustingDocument
Gets a value indicating whether this instance is adjusting document.
(Inherited from Document.)
Public propertyIsGhost
Returns true when the object is a ghost object
(Inherited from EntityObject.)
Public propertyIsLoaded
Gets a value indicating whether the associated data for this domain object is loaded.
(Overrides DocumentIsLoaded.)
Public propertyIsReleased
True if the document is not void and its state is released or greater. [Required] [Default(false)] [Filter(eq)] [ReadOnly]
Public propertyIsSingleExecution
Specifies whether the document is a single execution of its order document. [Required] [Default(false)] [Filter(eq)] [ReadOnly]
Public propertyItemString
Gets or sets the value of a data attribute
(Inherited from DomainObject.)
Public propertyItemIDataAttribute
Gets or sets the value of a data attribute
(Inherited from DomainObject.)
Public propertyLineAmounts
List of DocumentLineAmount child objects, based on the DocumentLineAmount.Document back reference
(Inherited from Document.)
Public propertyLines
List of InvoiceOrderLine child objects, based on the Crm.Invoicing.InvoiceOrderLine.InvoiceOrder back reference
Public propertyLogisticsLines
Gets the logistics lines of the document.
(Overrides LogisticsDocumentLogisticsLines.)
Public propertyLogisticsLinesCollections
Gets the logistics lines collections. Some documents have more than one child collection with logistics lines.
(Inherited from LogisticsDocument.)
Public propertyMasterDocument
In a multi-document tree, this is the root document, that created the whole tree. If this is the root it is equal to Id [Required]
(Inherited from Document.)
Public propertyNoEvents
Turns on "No events" mode and returns a class, that will turn it off when Disposed. See remarks for more info.
(Inherited from DomainObject.)
Public propertyNotes
Notes for this InvoiceOrder.
Public propertyObjectState
Gets the state of the domain object.
(Overrides DocumentObjectState.)
Public propertyParent
In a multi-document tree, this is the direct parent document. If this is the root it is null
(Inherited from Document.)
Public propertyParentDocumentRelationshipType
Type of relationship between the current document and the parent document(s). Affects the constraints for execution/completion for the documents. Possible values: 'S' = 'Subtask', 'N' = 'Next task'.
(Inherited from Document.)
Public propertyPaymentAccount
When not null, specifies the default payment account for the payment order. [Filter(multi eq)]
Public propertyPaymentDueDate
When not null specifies due date for the payment.
Public propertyPaymentDueStartDate
The date when the payment becomes due for documents with one installment.
Public propertyPaymentType
When not null specifies the payment type for the invoice. [Filter(multi eq)]
Public propertyPaymentTypeDescription
Description of the payment type. Initially copied from the name of the Payment Type. [Required]
Public propertyPlanningOnly
Indicates that the document is used only for planning (and as consequence its state cannot be greater than Planned) [Required]
(Inherited from Document.)
Public propertyPrimeCauseDocument
The document that is the prime cause for creation of the current document
(Inherited from Document.)
Public propertyPrints
List of DocumentPrint child objects, based on the DocumentPrint.Document back reference
(Inherited from Document.)
Public propertyReadOnly
True - the document is read only; false - the document is not read only [Required]
(Inherited from Document.)
Public propertyReferenceDate
The date to which this document refers, i.e. when the action really occurred. If null, Document_Date is taken [Filter(ge;le)]
(Inherited from Document.)
Public propertyReferenceDocumentNo
The number of the document (issued by the other party), which was the reason for the creation of the current document. The numebr should be unique within the party documents [Filter(eq;like)]
(Inherited from Document.)
Public propertyReleaseTime
Exact time, when the document was first released [Filter(ge;le)]
(Inherited from Document.)
Public propertyRepository
Provides access to InvoiceOrdersRepository repository methods
Public propertyResponsiblePerson
The person that is responsible for this order or transaction. It could be the sales person, the orderer, etc.
(Inherited from Document.)
Public propertyReverseOfDocument
The document which the current document is reverse of
(Inherited from Document.)
Public propertySalesOrder
Default value and filter for the lines. Used to differenciate the invoice order for each sales order. [Filter(multi eq)]
Public propertySequence
The sequence that will be used to give new numbers to the documents of this type
(Inherited from Document.)
Public propertyState
0=New;5=Corrective;10=Computer Planned;20=Human Planned;30=Released;40=Completed;50=Closed [Required][Filter(eq;ge;le)]
(Inherited from Document.)
Public propertyStateChanges
List of DocumentStateChange child objects, based on the DocumentStateChange.Document back reference
(Inherited from Document.)
Public propertyStore
Gets or sets the store of the logistics document. Some logistics documents do not support store.
(Inherited from LogisticsDocument.)
Public propertySupportsDocumentAmounts
Gets a value indicating whether the document supports document amounts.
(Overrides LogisticsDocumentSupportsDocumentAmounts.)
Public propertySupportsDocumentCurrency (Overrides LogisticsDocumentSupportsDocumentCurrency.)
Public propertySupportsStore
Gets a value indicating whether the document supports store.
(Inherited from LogisticsDocument.)
Public propertyToCompanyDivision
The division of the company, receiving the document. null when the document is not received by any specific division
(Inherited from Document.)
Public propertyToParty
The party which should receive the document
(Inherited from Document.)
Public propertyTransaction
The EnterpriseOne transaction to which this object is attached.
(Inherited from EnterpriseOneEntityObject.)
Public propertyUserStatus
The user status of this document if applicable for this document type. null means unknown or not yet set
(Inherited from Document.)
Public propertyVersions
List of DocumentVersion child objects, based on the DocumentVersion.Document back reference
(Inherited from Document.)
Public propertyVoid
True if the document is null and void [Required][Filter(eq)]
(Inherited from Document.)
Public propertyVoidReason
Reason for voiding the document, entered by the user
(Inherited from Document.)
Public propertyVoidTime
Date/time when the document has become void
(Inherited from Document.)
Public propertyVoidUser
The user who voided the document
(Inherited from Document.)
Top
Methods
  NameDescription
Public methodChangeState
Changes the document state to the specified new state
(Inherited from Document.)
Public methodComplete
Changes the document state to Completed with all Release-ed sub-documents
(Inherited from Document.)
Public methodCreateAdjustmentDocument
Creates an adjustment document that doesn't adjust anything. Can be modified and saved.
(Inherited from Document.)
Public methodDelete
Deletes the domain object.
(Overrides DocumentDelete.)
Public methodDistributeDocumentAmounts
Distributes the document amounts by the document lines.
(Inherited from LogisticsDocument.)
Public methodDuplicateObject
Creates a copy of the object.
(Inherited from EntityObject.)
Public methodEquals(Object)
Determines whether the specified Object, is equal to this instance.
(Inherited from EntityObject.)
Public methodEquals(EntityObject)
Indicates whether the current object is equal to another object of the same type.
(Inherited from EntityObject.)
Public methodExecuteBusinessRules
Executes all business rules for the object for the specified BusinessEvent. The validation fails are saved in the event.
(Inherited from EditableDomainObject.)
Public methodGetAggregateParent
Gets the aggregate parent of this entity object. If this is the aggregate root the return value is null.
(Inherited from EntityObject.)
Public methodGetAggregateRoot
Gets the aggregate root entity object. If the entity does not have aggregate parent reference aggregate root is this entity object.
(Inherited from EntityObject.)
Public methodGetAllParentDocuments
Gets all parent documents, traversing the parent document chain by using the Parent property.
(Inherited from Document.)
Public methodGetAmountToPay
Gets the total amount of the document that should be payed by the customer.
(Inherited from LogisticsDocument.)
Public methodGetAmountToPayForLines
Gets the total amount of the document that is included in the lines.
(Inherited from LogisticsDocument.)
Public methodGetChangedAttributes
Gets the changed attributes for a given DataAttributeChangeEventArgs. Used for front-end generic business rules to recalculate the state of the object according to attribute change events.
(Inherited from LogisticsDocument.)
Public methodGetDistributedAmountsOverThisDocument
Gets the distributed amounts where this document is referenced, including amounts created by this document and other documents. Caches the result.
(Inherited from LogisticsDocument.)
Public methodGetDocumentAmountsInfo
Gets the calculated document amounts information.
(Inherited from LogisticsDocument.)
Public methodGetHashCode
Returns a hash code for this instance.
(Inherited from EntityObject.)
Public methodGetPaymentStatus
Determines the payment status of a document comparing the Amount to pay for the document and the sum of the covered amounts in released payment transactions referring this document.
(Inherited from LogisticsDocument.)
Public methodGetPrintout
Gets a document printout as a file. The returned value is Base64 string representation of the file contents.
(Inherited from Document.)
Public methodGetRelatedObjectsForValidation
Gets the related objects which would need validation upon validation of this object.
(Inherited from EntityObject.)
Public methodImportDocumentAmounts
Imports the percent or unit amount document amounts from the specified source documents.
(Inherited from LogisticsDocument.)
Public methodImportDocumentTypeAmounts
Copies the document amounts from document type. First removes all existing document amounts.
(Inherited from LogisticsDocument.)
Public methodIssueWarning(String)
Issues a warning with the specified message.
(Inherited from EditableDomainObject.)
Public methodIssueWarning(ExpressionFuncString, Object)
Issues a warning with the specified message. The message can contain standard string placeholders.
(Inherited from EditableDomainObject.)
Public methodMakeVoid
Makes the document void. The operation is irreversible.
(Inherited from Document.)
Public methodMatchesFilter(DataAccessFilter)
Returns true if this entity object matches the specified filter.
(Inherited from EnterpriseOneEntityObject.)
Public methodMatchesFilter(DataAccessFilter, IBufferRow)
Matches the filter against the specified row and returns the result of the match.
(Inherited from EnterpriseOneEntityObject.)
Public methodRecalculate
The document and all of its owned objects will be altered to become valid.
(Inherited from Document.)
Public methodRefresh
Refreshes this instance with data from data source. Only objects with ObjectState equal to Unchanged are refreshed.
(Inherited from EntityObject.)
Public methodToString
Returns a String that represents this instance.
(Inherited from EntityObject.)
Public methodToString(String)
Returns a String that represents this instance.
(Inherited from EntityObject.)
Public methodTryGet
Tries to get the specified attribute and returns it or null, when it is not found.
(Inherited from DomainObject.)
Top
Extension Methods
  NameDescription
Public Extension MethodFillAggregateMissingDefaults
Recalculates the default values for all objects in the aggregate.
(Defined by EntityObjectExtensions.)
Public Extension MethodFillMissingDefaults
Executes the late default expression defined in each attribute (if any) if the current value is null or equal to a constant default.
(Defined by EntityObjectExtensions.)
Public Extension MethodFormatString
Converts the object to string based on the format specified.
(Defined by FormatStringExtensions.)
Public Extension MethodGetExtensibleDataObject
Gets the extensible data object related to the entity object. Can return null if such ExtensibleDataObject doesn't exist.
(Defined by ExtensibleDataObjectExtensions.)
Public Extension MethodGetOrCreateExtensibleDataObject
Returns an ExtensibleDataObject related to the entity object. If such object doesn't exist the object is created in the same transaction.
(Defined by ExtensibleDataObjectExtensions.)
Public Extension MethodRecalculateMasterAttributes
Recalculates the values of a master attributes in a master-detail relationship.
(Defined by EntityObjectExtensions.)
Public Extension MethodRecalculateMissingValues
Recalculates the missing values using the first reactive expression of the attributes.
(Defined by EntityObjectExtensions.)
Top
See Also