AccountingDistributionViewModel Class [AX 2012]
The AccountingDistributionViewModel class is the view model for the accounting distribution view and the accounting framework model.
Syntax
class AccountingDistributionViewModel
Run On
Client
Methods
Method | Description | |
---|---|---|
accDistCreatedEventHandler | Handles the event after an accounting distribution is created. | |
accDistCreatingEventHandler | Handles the event before an accounting distribution is created. | |
accDistDeletedEventHandler | Handles the event after an accounting distribution is deleted. | |
accDistDeletingEventHandler | Handles the event before an accounting distribution is deleted. | |
accDistModifiedEventHandler | Handles the event after an accounting distribution is modified. | |
accDistWritingEventHandler | Handles the event before an accounting distribution is written. | |
accDistWrittenEventHandler | Handles the event after an accounting distribution is written. | |
accountingDistributionActived | Handles the event when an accounting distribution is activated. | |
accountingDistributionAllocationFactor | Gets the allocation factor from the specified accounting distribution record. | |
accountingDistributionAmount | Gets or sets the monetary amount of the specified accounting distribution record. | |
accountingDistributionCreated | Handles the event after an accounting distribution is created. | |
accountingDistributionCreating | Handles the event before an accounting distribution is created. | |
accountingDistributionDeleted | Handles the event after an accounting distribution is deleted. | |
accountingDistributionDeleting | Handles the event before an accounting distribution is deleted. | |
accountingDistributionDistributeEqually | Distributes the active source document amount equally among the account distributions of the source document. | |
accountingDistributionInitializedValues | Handles the event when the accounting distribution is initialized. | |
accountingDistributionModified | Handles the event when the accounting distribution is modified. | |
accountingDistributionPercent | Gets or sets the accounting distribution percent factor of the specified accounting distribution record. | |
accountingDistributionQuantity | Gets or sets the quantity factor of the specified accounting distribution record. | |
accountingDistributionsClose | Handles the accounting distributions closed event. | |
accountingDistributionsCorrect | Handles the event when the accounting distribution is confirmed. | |
accountingDistributionsReset | Resets the accounting distributions to the original allocations. | |
accountingDistributionWriting | Handles the event before the accounting distribution is written. | |
accountingDistributionWritten | Handles the event after the accounting distribution is written. | |
allocationFactorModified | Handles the event when the allocation factor is modified. | |
buildAccountingDistributionDSView | Builds a query for the data source view of the accounting distribution. | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
checkMatchingAmount | Checks whether the total match amount exceeds the original distribution amount of reference distribution. | |
clearAccountingDistributionDSView | Clears the query for the data source view of the accounting distribution. | |
createDocumentProxy | Method for overriding document proxy creation. | |
distsResetPostEventHandler | Handles the event after resetting accounting distributions to the original allocations. | |
distsResetPreEventHandler | Handles the event before resetting accounting distributions to the original allocations. | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
getParentSourceDocumentData | ||
getReferencedSourceDocumentData | ||
getRoundingQuantityDistribution | Gets the rounding quantity information to handle a difference of calculation of the current active source document amount. | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
initAccountingDistributions | Initializes the accounting distributions. | |
initAccountingDistributionTotals | Initializes the totals reference data of the active accounting distribution. | |
initActiveProductQuantity | Initializes the product quantity reference data. | |
initActiveTransactionCurrency | Initializes the active transaction currency reference data. | |
initialize | Initializes the accounting distribution view model. | |
isDistributionAmountSignEqual | Checks whether the distribution amount has the same amount sign as the source document amount. | |
isDistributionPercentSignPositive | Checks whether the distribution percent is positive. | |
isDistributionQuantitySignEqual | Checks whether the distribution quantity has the same sign as the source document quantity. | |
isSourceDocumentLineFullyDistributed | Checks whether the current source document line is fully distributed. | |
legalEntityActivated | Handles the event when the legal entity is modified. | |
lineHasCorrectionAccountingEvent | ||
new | Initializes a new instance of the Object class. (Inherited from Object.) | |
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) | |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
parmAccountingDistributionMethod | Gets or sets the AccountingDistributionMethod parameter. | |
parmAccountingDistributionView | Gets or sets the AccountingDistributionView parameter. | |
parmAccountingEventTypeHelpText | Gets the AccountingEventTypeHelpText parameter. | |
parmActiveAccountingDate | Gets the ActiveAccountingDate parameter. | |
parmActiveAccountingDistribution | Gets the ActiveAccountingDistribution parameter. | |
parmActiveDefaultLedgerDimension | Gets the ActiveDefaultLedgerDimension parameter. | |
parmActiveDocumentProcedureLine | ||
parmActiveLegalEntity | Gets the ActiveLegalEntity parameter. | |
parmActiveProductQuantityDecimalPlaces | Gets the ActiveProductQuantityDecimalPlaces parameter. | |
parmActiveSourceDocumentAmount | Gets or sets the ActiveSourceDocumentAmount parameter. | |
parmActiveSourceDocumentAmountList | Gets the ActiveSourceDocumentAmountList parameter. | |
parmActiveSourceDocumentLineItemProxy | Gets the ActiveSourceDocumentLineItemProxy parameter. | |
parmActiveSourceDocumentProxy | Gets or sets the ActiveSourceDocumentProxy parameter. | |
parmActiveTransactionCurrencyCode | Gets the ActiveTransactionCurrencyCode parameter. | |
parmActiveTransCurrencyDecimalPlaces | Gets the ActiveTransCurrencyDecimalPlaces parameter. | |
parmAllowCorrectionAfterConfirm | Gets the AllowCorrectionAfterConfirm parameter. | |
parmAmountDistributed | Gets or sets the AmountDistributed parameter. | |
parmCaller | Gets or sets the Caller parameter. | |
parmCanChangeAccountingDistributions | Gets the CanChangeAccountingDistributions parameter. | |
parmCanChangeActiveAccDistribution | Gets the CanChangeActiveAccDistribution parameter. | |
parmCanClose | Gets the CanClose parameter. | |
parmCanCorrectDistribution | Gets the CanCorrectDistribution parameter. | |
parmCanDeleteActiveAccDistribution | Gets the CanDeleteActiveAccDistribution parameter. | |
parmCanDistributeEqually | Gets the CanDistributeEqually parameter. | |
parmCanEditActiveAccDistAllocation | Gets the CanEditActiveAccDistAllocation parameter. | |
parmCanEditActiveAccDistribution | Gets the CanEditActiveAccDistribution parameter. | |
parmCanEditLedgerDimension | Gets the CanEditLedgerDimension parameter. | |
parmCanEnterMainAccount | Gets the CanEnterMainAccount parameter. | |
parmCannotEditActiveAccDistAllocation | Gets the CannotEditActiveAccDistAllocation parameter. | |
parmCannotEditActiveAccDistribution | Gets the CannotEditActiveAccDistribution parameter. | |
parmCanRedistributeAmounts | Gets the CanRedistributeAmounts parameter. | |
parmCanResetDistribution | Gets the CanResetDistribution parameter. | |
parmCanSplitActiveAccountingDistribution | Gets the CanSplitActiveAccountingDistribution parameter. | |
parmCreateDocumentAmountList | Gets or sets whether the source document amount list can be created. | |
parmIsActiveDocumentCentralizedProcessed | Gets the IsActiveDocumentCentralizedProcessed parameter. | |
parmIsDocumentViewModel | Gets the IsDocumentViewModel parameter. | |
parmLastLedgerDimension | Gets or sets the LastLedgerDimension parameter. | |
parmMonetaryAmountHelpText | ||
parmNumberOfSourceDocumentAmounts | Gets the NumberOfSourceDocumentAmounts parameter. | |
parmPercentDistributed | Gets or sets the PercentDistributed parameter. | |
parmQuantityAllocationMethodAllowed | Checks whether the quantity distribution allocation method is allowed. | |
parmQuantityDistributed | Gets or sets the QuantityDistributed parameter. | |
parmShowTaxProcedureLine | Gets the ShowTaxProcedureLine parameter. | |
parmSourceDocumentAccountingStatus | Gets the SourceDocumentAccountingStatus parameter. | |
parmSourceDocumentAmountActive | Gets the SourceDocumentAmountActive parameter. | |
parmSourceDocumentAmountsTitle | Gets the SourceDocumentAmountsTitle parameter. | |
parmSourceDocumentLineHasDistribution | Checks whether the active source document line has accounting distribution. | |
parmSourceDocumentLineItemLegalEntity | Gets the legal entity of the source document line. | |
quantityModified | Handles the event when the accounting distribution quantity is modified. | |
resetSourceDocumentLineAccountingStatus | Resets the source document line accounting status. | |
setActiveAccDistributionConstraint | Sets the active accounting distribution constraint. | |
setActiveAccountingDistribution | Sets the active accounting distribution. | |
setActiveLegalEntity | Sets the active legal entity. | |
setActiveSourceDocument | Sets the active source document. | |
setActiveSourceDocumentAmountList | Sets the active source document amount list. | |
setActiveSourceDocumentLineItem | Sets the active source document line. | |
setSourceDocumentAmount | Sets the source document amount. | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
sourceDocumentActivated | Initializes reference data from a source document line item context. | |
sourceDocumentAmountActivated | Handles the event when the source document amount is activated. | |
sourceDocumentAmountFullyDistributed | ||
sourceDocumentLineItemActivated | Initializes the reference data from the context of the specified source document line item. | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
transactionCurrencyAmountModified | Handles the event when the amount of the accounting distribution is modified. | |
updateNumberOfAccDistNotRecorded | Updates the start variable for the number of accounting distributions that have been journalized. | |
updateSourceDocumentTmpAmountSortOrder | Updates the sort order of temporary amount table of the source document. | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
validateLegalEntityDataEntry | Validates that the entered legal entity participates in an intercompany relationship with the legal entity that owns the source document. | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::construct | Initializes a new instance of the AccountingDistributionViewModel class. | |
::lookupIntercompanyLegalEntities | Creates the lookup view model for the legal entity. | |
::newFromAccountingDistributionView | Creates a new accounting distribution view model from a source document line item. | |
::populateStateContainers |
Top
Inheritance Hierarchy
Object Class
AccountingDistributionViewModel Class
AccountingDistViewModel_MultiHeader_RU Class