File

projects/apttus/ecommerce/src/lib/modules/order/classes/order.model.ts

Extends

AObject

Index

Properties
Methods

Properties

Accept
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__Accept__c'})
ActivatedDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__ActivatedDate__c', aql: 'ActivatedDate'})
Attachments
Type : Array<Attachment>
Default value : null
Decorators :
@AField({soql: 'Attachments'})
@Type(undefined)
AutoActivateOrder
Type : boolean | number
Default value : true
Decorators :
@AField({soql: 'Apttus_Config2__AutoActivateOrder__c', aql: 'AutoActivateOrder'})
BillingPreferenceId
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__BillingPreferenceId__c', aql: 'BillingPreferenceId'})
BillToAccount
Type : Account
Default value : new Account()
Decorators :
@AField({soql: 'Apttus_Config2__BillToAccountId__r', aql: 'BillToAccountId'})
@Type(undefined)
BillToAccountId
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__BillToAccountId__c', aql: 'BillToAccountId', view: undefined})
CancelledDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__CancelledDate__c', aql: 'CancelledDate'})
CompletedDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__CompletedDate__c', aql: 'CompletedDate'})
ConfigurationSyncDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__ConfigurationSyncDate__c', aql: 'ConfigurationSyncDate'})
CreatedBy
Type : User
Default value : new User()
Decorators :
@AField({soql: 'CreatedBy'})
@Type(undefined)
CurrencyIsoCode
Type : string
Default value : null
Decorators :
@AField({soql: 'CurrencyIsoCode', aql: ''})
Description
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__Description__c', aql: 'Description'})
FulfilledDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__FulfilledDate__c', aql: 'FulfilledDate'})
IsTaskPending
Type : boolean
Default value : false
Decorators :
@AField({soql: 'Apttus_Config2__IsTaskPending__c', aql: 'IsTaskPending'})
Location
Type : AccountLocation
Default value : new AccountLocation()
Decorators :
@AField({soql: 'Apttus_Config2__LocationId__r', aql: 'LocationId'})
Name
Type : string
Default value : null
Decorators :
@AField({soql: 'Name', aql: 'Name'})
Notes
Type : Array<Note>
Default value : null
Decorators :
@AField({soql: 'Notes'})
@Type(undefined)
OrderAmount
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__OrderAmount__c', view: undefined, aggregate: undefined})
OrderDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__OrderDate__c', aql: 'OrderDate'})
OrderEndDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__OrderEndDate__c', aql: 'OrderEndDate'})
OrderLineItems
Type : Array<OrderLineItem>
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__OrderLineItems__r', aql: 'OrderId', expand: 'deep'})
@Type(undefined)
OrderReferenceNumber
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__OrderReferenceNumber__c', aql: 'OrderReferenceNumber'})
OrderStartDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__OrderStartDate__c', aql: 'OrderStartDate'})
OriginalOrderNumber
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__OriginalOrderNumber__c'})
Owner
Type : UserBase
Default value : new UserBase()
Decorators :
@AField({soql: 'Owner'})
@Type(undefined)
OwnerId
Type : string
Default value : null
Decorators :
@AField({soql: 'OwnerId', aql: 'CreatedById', view: undefined, compactLabel: 'Owner'})
ParentOrderId
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__ParentOrderId__c', aql: 'ParentOrderId'})
PaymentStatus
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__PaymentStatus__c', view: undefined})
PODate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__PODate__c', aql: 'PODate'})
PONumber
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__PONumber__c', aql: 'PONumber'})
PriceList
Type : PriceList
Default value : new PriceList()
Decorators :
@AField({soql: 'Apttus_Config2__PriceListId__r', aql: 'PriceListId'})
@Type(undefined)
PriceListId
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__PriceListId__c', aql: 'PriceListId', view: undefined})
PricingDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__PricingDate__c', aql: 'PricingDate'})
PrimaryContact
Type : Contact
Default value : new Contact()
Decorators :
@AField({soql: 'Apttus_Config2__PrimaryContactId__r', aql: 'PrimaryContactId'})
@Type(undefined)
PrimaryContactId
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__PrimaryContactId__c', aql: 'PrimaryContactId', view: undefined})
Proposal
Type : Quote
Default value : null
Decorators :
@AField({soql: 'Apttus_QPConfig__ProposalId__r', aql: 'QuoteId'})
@Type(undefined)
ProposalId
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_QPConfig__ProposalId__c', aql: 'QuoteId'})
ReadyForBillingDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__ReadyForBillingDate__c', aql: 'ReadyForBillingDate'})
ReadyForRevRecDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__ReadyForRevRecDate__c', aql: 'ReadyForRevRecDate'})
RelatedOpportunityId
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__RelatedOpportunityId__c', aql: 'RelatedOpportunityId'})
ShipToAccount
Type : Account
Default value : new Account()
Decorators :
@AField({soql: 'Apttus_Config2__ShipToAccountId__r', aql: 'ShipToAccountId'})
@Type(undefined)
ShipToAccountId
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__ShipToAccountId__c', aql: 'ShipToAccountId', view: undefined})
SoldToAccount
Type : Account
Default value : new Account()
Decorators :
@AField({soql: 'Apttus_Config2__SoldToAccountId__r', aql: 'SoldToAccountId'})
@Type(undefined)
SoldToAccountId
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__SoldToAccountId__c', aql: 'SoldToAccountId', view: undefined})
Source
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__Source__c', aql: 'Source'})
Status
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__Status__c', aql: 'Status'})
Type
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__Type__c', aql: 'Type'})

Methods

validate
validate()
Returns : void

result-matching ""

    No results matching ""