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