SalesCopying Class [AX 2012]

Syntax

class SalesCopying

Run On

Server

Methods

  Method Description
Gg788366.protmethod(en-us,AX.60).gif calcLineDiscFromEndDisc Calculates order line discount per item based on the end discount on the original invoice.
Gg788366.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg788366.pubmethod(en-us,AX.60).gif checkHeaderAgreement Validates the header record against the matching agreement.
Gg788366.protmethod(en-us,AX.60).gif checkLine Indicates whether the line is valid to use.
Gg788366.pubmethod(en-us,AX.60).gif checkLineAgreement Validates the line record against the matching agreement.
Gg788366.pubmethod(en-us,AX.60).gif checkLinesAgreement Validates all line records against the matching agreement.
Gg788366.pubmethod(en-us,AX.60).gif copy
Gg788366.protmethod(en-us,AX.60).gif copyExchRate_W Copy the original transaction exchange rate to a new document.
Gg788366.pubmethod(en-us,AX.60).gif copyHeader Copies sales order header.
Gg788366.protmethod(en-us,AX.60).gif copyReasonTableRef Creates a ReasonTableRef record for a specified cancel reason or cancel reason comment.
Gg788366.protmethod(en-us,AX.60).gif createReturnAgreementHeaderLink Creates a link between a return order header and an agreement header based on copying from lines.
Gg788366.pubmethod(en-us,AX.60).gif deleteLines
Gg788366.pubmethod(en-us,AX.60).gif deleteSettlement
Gg788366.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg788366.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg788366.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg788366.protmethod(en-us,AX.60).gif handleEndDisc Try to allocate the total invoice amount to the sales line discount.
Gg788366.privmethod(en-us,AX.60).gif headerAgreementExt
Gg788366.protmethod(en-us,AX.60).gif headerPreUpdate Called just before the header record is updated.
Gg788366.protmethod(en-us,AX.60).gif initFromCustInvoiceTrans_W Initializes a SalesLine table buffer based on an CustInvoiceTrans table buffer.
Gg788366.protmethod(en-us,AX.60).gif initHeaderFromCustInvoiceJour Initilalizes the header record with values from the passed in CustInvoiceJour record.
Gg788366.pubmethod(en-us,AX.60).gif initParameters
Gg788366.protmethod(en-us,AX.60).gif initParametersFromContract Initializes object members based on SalesOrderCopyingContract.
Gg788366.privmethod(en-us,AX.60).gif lineAgreementExt
Gg788366.protmethod(en-us,AX.60).gif makeCorrectionLine Creates a correction line.
Gg788366.pubmethod(en-us,AX.60).gif markForSettlement
Gg788366.pubmethod(en-us,AX.60).gif mcrIsSalesCopying_CreditNote_Object Determines whether the credit note is for sales copying.
Gg788366.pubmethod(en-us,AX.60).gif mcrSetReturnValues Sets the return values for the SalesLine record.
Gg788366.protmethod(en-us,AX.60).gif new Initializes a new instance of the SalesCopying class.
Gg788366.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.)
Gg788366.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.)
Gg788366.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg788366.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg788366.pubmethod(en-us,AX.60).gif parmConvertCurrency Gets or sets the ConvertCurrency parameter.
Gg788366.pubmethod(en-us,AX.60).gif parmCustInvoiceJour Gets or sets the CustInvoiceJour parameter.
Gg788366.pubmethod(en-us,AX.60).gif parmReasonTableRef Gets or sets the ReasonTableRef parameter.
Gg788366.pubmethod(en-us,AX.60).gif parmSalesReturnType_IN Gets or sets the SalesReturnType_IN Parameter.
Gg788366.pubmethod(en-us,AX.60).gif parmStartingLineNum
Gg788366.pubmethod(en-us,AX.60).gif parmTaxAsPerOrginalInvoice_IN Gets or sets the TaxAsPerOrginalInvoice_IN parameter.
Gg788366.pubmethod(en-us,AX.60).gif parmTradeCurrencyConversion Gets or sets the TradeCurrencyConversion parameter.
Gg788366.pubmethod(en-us,AX.60).gif promptConvertCurrencyCode
Gg788366.pubmethod(en-us,AX.60).gif promptRemoveSettlement
Gg788366.pubmethod(en-us,AX.60).gif setInventTransIdReturn
Gg788366.protmethod(en-us,AX.60).gif setPdsCWQty Sets the catch weight quantity and calculates the SalesQty and QtyOrdered fields on the provided SalesLine table record.
Gg788366.pubmethod(en-us,AX.60).gif setPriceDiscHeaderChangePolicy Sets the price discount policies for the header of the new sales orders.
Gg788366.pubmethod(en-us,AX.60).gif setPriceDiscLineChangePolicy Sets the price discount policies for the lines of the new sales orders.
Gg788366.protmethod(en-us,AX.60).gif setRefCustVendCreditInvoicingTable
Gg788366.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg788366.pubmethod(en-us,AX.60).gif settleInvoiceTrans
Gg788366.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg788366.pubmethod(en-us,AX.60).gif updateInvoiceCreditCopy
Gg788366.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.)
Gg788366.protmethod(en-us,AX.60).gif validateCopyHeader_BR Validates header before copying.
Gg788366.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg788366.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg788366.protmethod(en-us,AX.60).gif Gg788366.static(en-us,AX.60).gif ::adjustProjectRevenue_PSA Adjusts the project revenue for the specified invoice line.
Gg788366.pubmethod(en-us,AX.60).gif Gg788366.static(en-us,AX.60).gif ::checkLinesAgreementServer Validates all line records against the matching agreement - server side.
Gg788366.pubmethod(en-us,AX.60).gif Gg788366.static(en-us,AX.60).gif ::construct
Gg788366.pubmethod(en-us,AX.60).gif Gg788366.static(en-us,AX.60).gif ::copyServer Performs Sales Order copying server-side.
Gg788366.pubmethod(en-us,AX.60).gif Gg788366.static(en-us,AX.60).gif ::copyServerIL Performs Sales Order copying server-side. In IL.
Gg788366.privmethod(en-us,AX.60).gif Gg788366.static(en-us,AX.60).gif ::invokeCopyServerIL Entry point method for IL invocation of SalesCopying copyServer method.
Gg788366.pubmethod(en-us,AX.60).gif Gg788366.static(en-us,AX.60).gif ::promptConvertCurrencyCodeOnServer Checks if there are lines requiring currency conversion on destination record and prompts user about conversion details.

Top

Inheritance Hierarchy

Object Class
  SalesCopying Class
    SalesCopying_CreditNote Class