SalesCopyingCreditNoteLine Class [AX 2012]
The SalesCopyingCreditNoteLine class handles the copying of credit notes when the new Credit note button on the sales line strip is clicked.
| Method | Description | |
|---|---|---|
| calcLineDiscFromEndDisc | Calculates the 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 | (Inherited from SalesCopying_CreditNote.) |
| copyExchRate_W | Copy the original transaction exchange rate to a credit note. (Inherited from SalesCopying_CreditNote.) |
| copyHeader | Copies sales order header. (Inherited from SalesCopying_CreditNote.) |
| copyReasonTableRef | Creates a ReasonTableRef record for a specified cancel reason or cancel reason comment. (Inherited from SalesCopying_CreditNote.) |
| 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 | (Inherited from SalesCopying_CreditNote.) |
| 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. (Inherited from SalesCopying_CreditNote.) |
| headerPreUpdate | Called just before the header record is updated. (Inherited from SalesCopying_CreditNote.) |
| initFromCustInvoiceTrans_W | Initializes the SalesLine table buffer based on an CustInvoiceTrans table buffer. (Inherited from SalesCopying_CreditNote.) |
| initHeaderFromCustInvoiceJour | Initilalizes the header record with values from the passed in CustInvoiceJour record. (Inherited from SalesCopying_CreditNote.) |
| initParameters | (Inherited from SalesCopying_CreditNote.) |
| initParametersFromContract | Initializes current instance with Credit Note creation parameters from the SalesOrderCreditNoteContract object. (Inherited from SalesCopying_CreditNote.) |
| makeCorrectionLine | Creates a correction line. (Inherited from SalesCopying_CreditNote.) |
| markForSettlement | (Inherited from SalesCopying_CreditNote.) |
| mcrIsSalesCopying_CreditNote_Object | Indicates from parent class that the object was called from a salesCopying_CreditNote object instantiation. (Inherited from SalesCopying_CreditNote.) |
| mcrSetReturnValues | Sets the return values for the specified _salesLine. (Inherited from SalesCopying_CreditNote.) |
| 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 | (Inherited from SalesCopying_CreditNote.) |
| setHeaderTotalDiscount | Sets the sales order header total discount. (Overrides the setHeaderTotalDiscount Method.) |
| setInventTransIdReturn | (Inherited from SalesCopying_CreditNote.) |
| setPdsCWQty | Sets the catch weight quantity and calculates the SalesQty and QtyOrdered fields on the provided SalesLine table record. (Inherited from SalesCopying_CreditNote.) |
| 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 | (Inherited from SalesCopying_CreditNote.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| updateInvoiceCreditCopy | (Inherited from SalesCopying_CreditNote.) |
| 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.) |
| ::construct | Initializes a new instance of the SalesCopyingCreditNoteLine class. |
Community Additions
ADD
Show: