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
Gg907032.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg907032.pubmethod(en-us,AX.60).gif delete Deletes the SpecTrans record from the database.
Gg907032.pubmethod(en-us,AX.60).gif deleteAll Deletes all SpecTrans records that have the same SpecCompany, SpecTableId, and SpecRecId values as this class instance.
Gg907032.pubmethod(en-us,AX.60).gif deleteAllLine Delete all marked lines.
Gg907032.pubmethod(en-us,AX.60).gif deleteLine Deletes a specific marked line.
Gg907032.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg907032.privmethod(en-us,AX.60).gif equalProration Inserts all invoice lines on the basis of amount to settle.
Gg907032.pubmethod(en-us,AX.60).gif exist Determines whether the specified record in the SpecTrans table exists.
Gg907032.pubmethod(en-us,AX.60).gif 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.
Gg907032.pubmethod(en-us,AX.60).gif findByFullSettlement Finds the SpecTrans record that corresponds to the current instance with the FullSettlement field set to 'Yes'.
Gg907032.pubmethod(en-us,AX.60).gif findByMarkedPayment Finds the SpecTrans record that corresponds to this class instance with the Payment field set to 'Yes'.
Gg907032.pubmethod(en-us,AX.60).gif findByRef Finds the specified record in the SpecTrans table.
Gg907032.pubmethod(en-us,AX.60).gif getAllSpecTransMap Gets a map that contains all the SpecTrans records that correspond to this class instance.
Gg907032.pubmethod(en-us,AX.60).gif getSpecRecId_RU
Gg907032.pubmethod(en-us,AX.60).gif getSpecTransCount Gets a count of the SpecTrans records that correspond to this class instance.
Gg907032.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg907032.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg907032.protmethod(en-us,AX.60).gif initCacheWithMarkedTransactions Initializes a cache by using existing SpecTrans records with a SpecCompany, SpecTableId, and SpecRecId that correspond to this class instance.
Gg907032.pubmethod(en-us,AX.60).gif insert Creates the SpecTrans record with the SpecCompany, SpecTableId, and SpecRecId fields shared by this instance of the SpecTransManager class.
Gg907032.pubmethod(en-us,AX.60).gif insertAllLines Inserts all invoice lines based on amount to settle.
Gg907032.pubmethod(en-us,AX.60).gif insertLine Inserts a specific invoice lines.
Gg907032.pubmethod(en-us,AX.60).gif insertSpec Creates the SpecTrans record with the SpecCompany, SpecTableId, and SpecRecId fields shared by this instance of the SpecTransManager class.
Gg907032.pubmethod(en-us,AX.60).gif isMarkedPayment Determines whether the specified record in the SpecTrans table with the Payment field set to NoYes::Yes exists.
Gg907032.pubmethod(en-us,AX.60).gif markedSpecTransLine Marks the invoice line.
Gg907032.protmethod(en-us,AX.60).gif new Performs initialization for the SpecTransManager class.
Gg907032.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg907032.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg907032.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg907032.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg907032.pubmethod(en-us,AX.60).gif pack Serializes the current instance of the SpecTransManager class.
Gg907032.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg907032.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg907032.pubmethod(en-us,AX.60).gif unpack Deserializes the _pack parameter value to an instance of the SpecTransManager class.
Gg907032.pubmethod(en-us,AX.60).gif updateCrossRate Updates the referenced SpecTrans record with the specified exchange rate.
Gg907032.pubmethod(en-us,AX.60).gif updateFullSettlement Updates the referenced SpecTrans record to mark for full settlement.
Gg907032.pubmethod(en-us,AX.60).gif updateMarkedPayment Updates the referenced SpecTrans record to mark as primary payment.
Gg907032.pubmethod(en-us,AX.60).gif updateSettleAmount Updates the referenced SpecTrans record with the specified amount.
Gg907032.pubmethod(en-us,AX.60).gif updateSettleBalanceAndDisc Updates the referenced SpecTrans record with the specified balance and discount amount.
Gg907032.pubmethod(en-us,AX.60).gif updateTransCache Update the SpecTrans cache.
Gg907032.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg907032.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg907032.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg907032.pubmethod(en-us,AX.60).gif Gg907032.static(en-us,AX.60).gif ::construct Constructs an instance of the SpecTransManager class.
Gg907032.pubmethod(en-us,AX.60).gif Gg907032.static(en-us,AX.60).gif ::constructServer Constructs an instance of the SpecTransManager class located on the server tier.
Gg907032.pubmethod(en-us,AX.60).gif Gg907032.static(en-us,AX.60).gif ::create
Gg907032.privmethod(en-us,AX.60).gif Gg907032.static(en-us,AX.60).gif ::deleteAll_Server Deletes all SpecTrans records that share the same SpecCompany, SpecTableId, and SpecRecId.
Gg907032.privmethod(en-us,AX.60).gif Gg907032.static(en-us,AX.60).gif ::deleteAllLine_server Delete all marked lines.
Gg907032.privmethod(en-us,AX.60).gif Gg907032.static(en-us,AX.60).gif ::equalProration_server Inserts all invoice lines on the basis of amount to settle.
Gg907032.privmethod(en-us,AX.60).gif Gg907032.static(en-us,AX.60).gif ::getMarkedTransactions Gets a container of SpecTrans records that correspond to specified parameters.
Gg907032.pubmethod(en-us,AX.60).gif Gg907032.static(en-us,AX.60).gif ::getTotalFineAmountForSpecRef_BR Calculates the Fine total of the associated records in the SpecTrans table in the specified currency.
Gg907032.pubmethod(en-us,AX.60).gif Gg907032.static(en-us,AX.60).gif ::getTotalInterestAmountForSpecRef_BR Calculates the Interest total of the associated records in the SpecTrans table in the specified currency.
Gg907032.pubmethod(en-us,AX.60).gif Gg907032.static(en-us,AX.60).gif ::getTotalSettleAmountForSpecReference Calculates the total of the associated records in the SpecTrans table in the specified currency.
Gg907032.privmethod(en-us,AX.60).gif Gg907032.static(en-us,AX.60).gif ::insertAllLines_server Inserts all invoice lines based on amount to settle.
Gg907032.privmethod(en-us,AX.60).gif Gg907032.static(en-us,AX.60).gif ::insertLine_server Inserts a specific invoice lines.
Gg907032.privmethod(en-us,AX.60).gif Gg907032.static(en-us,AX.60).gif ::insertServer Creates a SpecTrans record with the SpecCompany, SpecTableId, and SpecRecId fields shared by the instance of the SpecTransManager class.
Gg907032.privmethod(en-us,AX.60).gif Gg907032.static(en-us,AX.60).gif ::markedSpecTransLine_server Marks the invoice line.
Gg907032.pubmethod(en-us,AX.60).gif Gg907032.static(en-us,AX.60).gif ::newRefTableId Constructs an instance of the SpecTransManager class.
Gg907032.privmethod(en-us,AX.60).gif Gg907032.static(en-us,AX.60).gif ::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