SpecTransManager Class [AX 2012]
The SpecTransManager class is used to interact with records in the SpecTrans table.
Syntax
class SpecTransManager implements SysPackable
Run On
Called
Methods
Method | Description | |
---|---|---|
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
delete | Deletes the SpecTrans record from the database. | |
deleteAll | Deletes all SpecTrans records that have the same SpecCompany, SpecTableId, and SpecRecId values as this class instance. | |
deleteAllLine | Delete all marked lines. | |
deleteLine | Deletes a specific marked line. | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
equalProration | Inserts all invoice lines on the basis of amount to settle. | |
exist | Determines whether the specified record in the SpecTrans table exists. | |
existForOtherSpec | Determines whether the specified record in the SpecTrans table exists with a SpecCompany, SpecTableId, and SpecRecId that do not correspond to this class instance. | |
findByFullSettlement | Finds the SpecTrans record that corresponds to the current instance with the FullSettlement field set to 'Yes'. | |
findByMarkedPayment | Finds the SpecTrans record that corresponds to this class instance with the Payment field set to 'Yes'. | |
findByRef | Finds the specified record in the SpecTrans table. | |
getAllSpecTransMap | Gets a map that contains all the SpecTrans records that correspond to this class instance. | |
getSpecRecId_RU | ||
getSpecTransCount | Gets a count of the SpecTrans records that correspond to this class instance. | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
initCacheWithMarkedTransactions | Initializes a cache by using existing SpecTrans records with a SpecCompany, SpecTableId, and SpecRecId that correspond to this class instance. | |
insert | Creates the SpecTrans record with the SpecCompany, SpecTableId, and SpecRecId fields shared by this instance of the SpecTransManager class. | |
insertAllLines | Inserts all invoice lines based on amount to settle. | |
insertLine | Inserts a specific invoice lines. | |
insertSpec | Creates the SpecTrans record with the SpecCompany, SpecTableId, and SpecRecId fields shared by this instance of the SpecTransManager class. | |
isMarkedPayment | Determines whether the specified record in the SpecTrans table with the Payment field set to NoYes::Yes exists. | |
markedSpecTransLine | Marks the invoice line. | |
new | Performs initialization for the SpecTransManager class. | |
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.) | |
pack | Serializes the current instance of the SpecTransManager class. | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
unpack | Deserializes the _pack parameter value to an instance of the SpecTransManager class. | |
updateCrossRate | Updates the referenced SpecTrans record with the specified exchange rate. | |
updateFullSettlement | Updates the referenced SpecTrans record to mark for full settlement. | |
updateMarkedPayment | Updates the referenced SpecTrans record to mark as primary payment. | |
updateSettleAmount | Updates the referenced SpecTrans record with the specified amount. | |
updateSettleBalanceAndDisc | Updates the referenced SpecTrans record with the specified balance and discount amount. | |
updateTransCache | Update the SpecTrans cache. | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::construct | Constructs an instance of the SpecTransManager class. | |
::constructServer | Constructs an instance of the SpecTransManager class located on the server tier. | |
::create | ||
::deleteAll_Server | Deletes all SpecTrans records that share the same SpecCompany, SpecTableId, and SpecRecId. | |
::deleteAllLine_server | Delete all marked lines. | |
::equalProration_server | Inserts all invoice lines on the basis of amount to settle. | |
::getMarkedTransactions | Gets a container of SpecTrans records that correspond to specified parameters. | |
::getTotalFineAmountForSpecRef_BR | Calculates the Fine total of the associated records in the SpecTrans table in the specified currency. | |
::getTotalInterestAmountForSpecRef_BR | Calculates the Interest total of the associated records in the SpecTrans table in the specified currency. | |
::getTotalSettleAmountForSpecReference | Calculates the total of the associated records in the SpecTrans table in the specified currency. | |
::insertAllLines_server | Inserts all invoice lines based on amount to settle. | |
::insertLine_server | Inserts a specific invoice lines. | |
::insertServer | Creates a SpecTrans record with the SpecCompany, SpecTableId, and SpecRecId fields shared by the instance of the SpecTransManager class. | |
::markedSpecTransLine_server | Marks the invoice line. | |
::newRefTableId | Constructs an instance of the SpecTransManager class. | |
::updateSettleBalanceAndDisc_server | Updates the referenced SpecTrans record with the specified balance and discount amount. |
Top
Remarks
All records that are associated with an instance of the class share common values for the SpecCompany, SpecTableId, and SpecRecId fields. Records that are associated with an instance of the class optionally share the value of the RefTableId field.This class replaces the Specification and Specification_OffsetVoucher classes and replaces several methods from the SpecTrans table.
Inheritance Hierarchy
Object Class
SpecTransManager Class