SalesCopying_CreditNote Class [AX 2012]
Syntax
class SalesCopying_CreditNote extends SalesCopying
Run On
Server
Methods
Method | Description | |
---|---|---|
calcLineDiscFromEndDisc | Calculates credit order line discount for each item, based on the end discount of the original invoice. (Overrides the calcLineDiscFromEndDisc Method.) | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
checkHeaderAgreement | Validates the header record against the matching agreement. (Inherited from SalesCopying.) | |
checkLine | Indicates whether the line is valid to use. (Inherited from SalesCopying.) | |
checkLineAgreement | Validates the line record against the matching agreement. (Inherited from SalesCopying.) | |
checkLinesAgreement | Validates all line records against the matching agreement. (Inherited from SalesCopying.) | |
copy | (Overrides the copy Method.) | |
copyCreditCardTrans | ||
copyExchRate_W | Copy the original transaction exchange rate to a credit note. (Overrides the copyExchRate_W Method.) | |
copyHeader | Copies sales order header. (Overrides the copyHeader Method.) | |
copyReasonTableRef | Creates a ReasonTableRef record for a specified cancel reason or cancel reason comment. (Overrides the copyReasonTableRef Method.) | |
createReturnAgreementHeaderLink | Creates a link between a return order header and an agreement header based on copying from lines. (Inherited from SalesCopying.) | |
deleteLines | (Inherited from SalesCopying.) | |
deleteSettlement | (Overrides the deleteSettlement Method.) | |
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. (Overrides the handleEndDisc Method.) | |
headerPreUpdate | Called just before the header record is updated. (Overrides the headerPreUpdate Method.) | |
initFromCustInvoiceTrans_W | Initializes the SalesLine table buffer based on an CustInvoiceTrans table buffer. (Overrides the initFromCustInvoiceTrans_W Method.) | |
initHeaderFromCustInvoiceJour | Initilalizes the header record with values from the passed in CustInvoiceJour record. (Overrides the initHeaderFromCustInvoiceJour Method.) | |
initParameters | (Overrides the initParameters Method.) | |
initParametersFromContract | Initializes current instance with Credit Note creation parameters from the SalesOrderCreditNoteContract object. (Overrides the initParametersFromContract Method.) | |
makeCorrectionLine | Creates a correction line. (Overrides the makeCorrectionLine Method.) | |
markForSettlement | (Overrides the markForSettlement Method.) | |
mcrIsSalesCopying_CreditNote_Object | Indicates from parent class that the object was called from a salesCopying_CreditNote object instantiation. (Overrides the mcrIsSalesCopying_CreditNote_Object Method.) | |
mcrSetReturnValues | Sets the return values for the specified _salesLine. (Overrides the mcrSetReturnValues Method.) | |
new | Initializes a new instance of the SalesCopying class. (Inherited from SalesCopying.) | |
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. (Inherited from SalesCopying.) | |
parmCustInvoiceJour | Gets or sets the CustInvoiceJour parameter. (Inherited from SalesCopying.) | |
parmReasonTableRef | Gets or sets the ReasonTableRef parameter. (Inherited from SalesCopying.) | |
parmSalesReturnType_IN | Gets or sets the SalesReturnType_IN Parameter. (Inherited from SalesCopying.) | |
parmStartingLineNum | (Inherited from SalesCopying.) | |
parmTaxAsPerOrginalInvoice_IN | Gets or sets the TaxAsPerOrginalInvoice_IN parameter. (Inherited from SalesCopying.) | |
parmTradeCurrencyConversion | Gets or sets the TradeCurrencyConversion parameter. (Inherited from SalesCopying.) | |
promptConvertCurrencyCode | (Inherited from SalesCopying.) | |
promptRemoveSettlement | (Overrides the promptRemoveSettlement Method.) | |
setHeaderTotalDiscount | Sets the sales order header total discount. | |
setInventTransIdReturn | (Overrides the setInventTransIdReturn Method.) | |
setPdsCWQty | Sets the catch weight quantity and calculates the SalesQty and QtyOrdered fields on the provided SalesLine table record. (Overrides the setPdsCWQty Method.) | |
setPriceDiscHeaderChangePolicy | Sets the price discount policies for the header of the new sales orders. (Inherited from SalesCopying.) | |
setPriceDiscLineChangePolicy | Sets the price discount policies for the lines of the new sales orders. (Inherited from SalesCopying.) | |
setRefCustVendCreditInvoicingTable | (Inherited from SalesCopying.) | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
settleInvoiceTrans | (Overrides the settleInvoiceTrans Method.) | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
updateInvoiceCreditCopy | (Overrides the updateInvoiceCreditCopy Method.) | |
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. (Inherited from SalesCopying.) | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::promptRemoveSettlementOnServer | In credit note scenario, displays a prompt to user asking about removing existing settlements. |
Top
Inheritance Hierarchy
Object Class
SalesCopying Class
SalesCopying_CreditNote Class
SalesCopying_VoidFiscalDocument_BR Class
SalesCopyingCreditNoteLine Class