MCRPriceHistoryLine_Sales Class [AX 2012]

The MCRPriceHistoryLine_Sales class provides information about sales line needed for price history.

class MCRPriceHistoryLine_Sales extends MCRPriceHistoryLine

Run On

Called

  MethodDescription
Dn674923.pubmethod(en-us,AX.60).gif allowPriceHistoryUpdate Returns whether a price history update can proceed. (Overrides the allowPriceHistoryUpdate Method.)
Dn674923.pubmethod(en-us,AX.60).gif allowView Determines if price history is allowed to be viewed. (Inherited from MCRPriceHistoryLine.)
Dn674923.privmethod(en-us,AX.60).gif buildAgreementHeaderQuery
Dn674923.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Dn674923.privmethod(en-us,AX.60).gif createBillBackRebates
Dn674923.privmethod(en-us,AX.60).gif createPdsRebates
Dn674923.privmethod(en-us,AX.60).gif createPdsRebateTableFromLine
Dn674923.privmethod(en-us,AX.60).gif createRebateInventDim
Dn674923.privmethod(en-us,AX.60).gif createRoyalties Finds royalties for a sales line and pass the information off for temporary record generation.
Dn674923.protmethod(en-us,AX.60).gif createRoyalty Creates temporary entries in MCRRoyaltyVendTable for royalty amounts.
Dn674923.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Dn674923.pubmethod(en-us,AX.60).gif fillMCRRoyaltyVendTableTmp Ensures that the royalty table buffer has been created as temporary. (Overrides the fillMCRRoyaltyVendTableTmp Method.)
Dn674923.pubmethod(en-us,AX.60).gif fillPdsRebateTableTmp Ensures that the rebate table buffer has been created as temporary. (Overrides the fillPdsRebateTableTmp Method.)
Dn674923.pubmethod(en-us,AX.60).gif fillPotentialAgreement Populates the record in TMPMCRAgreementLine table. (Inherited from MCRPriceHistoryLine.)
Dn674923.pubmethod(en-us,AX.60).gif fillVendRebateTableTmp Ensures that the vendor rebate table buffer has been created as temporary. (Inherited from MCRPriceHistoryLine.)
Dn674923.pubmethod(en-us,AX.60).gif findHistory Gets a list of history records for this line. (Inherited from MCRPriceHistoryLine.)
Dn674923.protmethod(en-us,AX.60).gif getAgreementLines Gets the list of agreement lines. (Overrides the getAgreementLines Method.)
Dn674923.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Dn674923.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Dn674923.privmethod(en-us,AX.60).gif initAndInsertRebate
Dn674923.pubmethod(en-us,AX.60).gif initTmpMCRAgreementLine Initializes the TmpMCRAgreementLine record. (Overrides the initTmpMCRAgreementLine Method.)
Dn674923.protmethod(en-us,AX.60).gif initTMPMCRAgreementLinePotential Initializes the agreement line record. (Overrides the initTMPMCRAgreementLinePotential Method.)
Dn674923.pubmethod(en-us,AX.60).gif isContinuityBillUpFrontChild Determines if a continuity item is bill up front. (Overrides the isContinuityBillUpFrontChild Method.)
Dn674923.protmethod(en-us,AX.60).gif isLinkValid Indicates whether the link is valid. (Overrides the isLinkValid Method.)
Dn674923.pubmethod(en-us,AX.60).gif isMerchandisingEventHistoryEnabled Returns whether merchandising events should be included as part of price history. (Overrides the isMerchandisingEventHistoryEnabled Method.)
Dn674923.pubmethod(en-us,AX.60).gif isPriceDetailsEnabled Returns whether price details is enabled for the price history line. (Overrides the isPriceDetailsEnabled Method.)
Dn674923.pubmethod(en-us,AX.60).gif isShipToChild Determines whether or not this sales order line is a delivery line. (Overrides the isShipToChild Method.)
Dn674923.pubmethod(en-us,AX.60).gif mcrMarginAlert Creates and returns a MCRMarginAlert object (Overrides the mcrMarginAlert Method.)
Dn674923.protmethod(en-us,AX.60).gif new Creates a new instace of the MCRPriceHistoryLine_Sales class. (Overrides the new Method.)
Dn674923.protmethod(en-us,AX.60).gif nextPdsRebateId Returns the next rebate id to use for temporary rebate tables.
Dn674923.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.)
Dn674923.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.)
Dn674923.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Dn674923.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Dn674923.pubmethod(en-us,AX.60).gif parmAccountId Gets the AccountId parameter. (Overrides the parmAccountId Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmAccountMultilineDiscCode Gets the AccountMultilineDiscCode parameter. (Overrides the parmAccountMultilineDiscCode Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmAgreementId Gets the AgreementId parameter. (Overrides the parmAgreementId Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmCanFindLineDisc Gets the CanFindLineDisc parameter. (Overrides the parmCanFindLineDisc Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmCanFindTAMMerchEventPricing Gets the CanFindTAMMerchEventPricing parameter. (Overrides the parmCanFindTAMMerchEventPricing Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmCurrencyCode Gets the CurrencyCode parameter. (Overrides the parmCurrencyCode Method.)
Dn674923.protmethod(en-us,AX.60).gif parmExistPriceHistoryType Gets a boolean indicating if price history exists for the given MCRPriceHistoryType. (Inherited from MCRPriceHistoryLine.)
Dn674923.pubmethod(en-us,AX.60).gif parmInventDim Gets the InventDim parameter. (Overrides the parmInventDim Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmInventTransId Gets the InventTransId parameter. (Overrides the parmInventTransId Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmItemId Gets the ItemId parameter. (Overrides the parmItemId Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmItemLineDiscCode Gets the ItemLineDiscCode parameter. (Overrides the parmItemLineDiscCode Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmItemMultilineDiscCode Gets the multiline discount code defined for item on the line. (Inherited from MCRPriceHistoryLine.)
Dn674923.pubmethod(en-us,AX.60).gif parmLineDiscAmount Gets the LineDiscAmount parameter. (Overrides the parmLineDiscAmount Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmLineDiscCode Gets the LineDiscCode parameter. (Overrides the parmLineDiscCode Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmLineDiscPct Gets the LineDiscPct parameter. (Overrides the parmLineDiscPct Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmLineMultiLn Gets the LineMultiLn parameter. (Overrides the parmLineMultiLn Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmMarkup Gets the Markup parameter. (Overrides the parmMarkup Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmMatchingAgreementLine Gets the MatchingAgreementLine parameter. (Overrides the parmMatchingAgreementLine Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmMCROrderLine2PriceHistoryRef Gets the MCROrderLine2PriceHistoryRef parameter. (Overrides the parmMCROrderLine2PriceHistoryRef Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmModuleType Gets the ModuleType parameter. (Overrides the parmModuleType Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmMultilineDiscAmount Gets the MultilineDiscAmount parameter. (Overrides the parmMultilineDiscAmount Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmMultilineDiscPct Gets the MultilineDiscPct parameter. (Overrides the parmMultilineDiscPct Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmOrigMCROrderLine2PriceHistoryRef Gets the OrigMCROrderLine2PriceHistoryRef parameter. (Overrides the parmOrigMCROrderLine2PriceHistoryRef Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmPrice Gets the Price parameter. (Overrides the parmPrice Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmPriceDate Gets the PriceDate parameter. (Overrides the parmPriceDate Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmPriceGroupId Gets the PriceGroupId parameter. (Overrides the parmPriceGroupId Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmPriceOverride Gets the PriceOverride parameter. (Overrides the parmPriceOverride Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmPriceUnit Gets the PriceUnit parameter. (Overrides the parmPriceUnit Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmPurchId Gets the PurchId parameter. (Overrides the parmPurchId Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmQty Gets the qty of the line. (Overrides the parmQty Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmQtyMultiline Gets the quantity for the multiline. (Overrides the parmQtyMultiline Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmQuotationId Gets the QuotationId parameter. (Overrides the parmQuotationId Method.)
Dn674923.protmethod(en-us,AX.60).gif parmRecId Gets the RecId parameter. (Overrides the parmRecId Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmSalesId Gets the SalesId parameter. (Overrides the parmSalesId Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmSalesLine Assigns a new sales line.
Dn674923.pubmethod(en-us,AX.60).gif parmShowAgreementRelated Gets a boolean value indicating if the sales price history line shows it is related to agreement. (Inherited from MCRPriceHistoryLine.)
Dn674923.pubmethod(en-us,AX.60).gif parmShowCustRebates Gets a boolean value indicating if the price history line shows values related to customer rebates. (Inherited from MCRPriceHistoryLine.)
Dn674923.pubmethod(en-us,AX.60).gif parmShowMarginBrokerAmount Gets a boolean value indicating if the price history line shows values related to margin calculation and broker. (Inherited from MCRPriceHistoryLine.)
Dn674923.pubmethod(en-us,AX.60).gif parmShowMarginEstimatedSalesPrice Gets a boolean value indicating if the price history line shows values related to margin calculation and estimated sales price. (Inherited from MCRPriceHistoryLine.)
Dn674923.pubmethod(en-us,AX.60).gif parmShowMarginRelated Gets the ShowMarginRelated parameter. (Overrides the parmShowMarginRelated Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmShowMarginRoyaltyAmount Gets a boolean value indicating if the price history line shows values related to margin calculation and royalties. (Inherited from MCRPriceHistoryLine.)
Dn674923.pubmethod(en-us,AX.60).gif parmShowRoyaltyTab Gets a boolean value indicating if the sales price history line shows the royalty tab. (Overrides the parmShowRoyaltyTab Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmShowVendRebates Gets a boolean value indicating if the price history line shows values related to vendor rebates. (Inherited from MCRPriceHistoryLine.)
Dn674923.protmethod(en-us,AX.60).gif parmTableId Gets the TableId parameter. (Overrides the parmTableId Method.)
Dn674923.pubmethod(en-us,AX.60).gif parmUnitId Gets the UnitId parameter. (Overrides the parmUnitId Method.)
Dn674923.pubmethod(en-us,AX.60).gif preUpdate Executes pre update logic for a price history line. Deletes any previous references and inserts a new reference record to be used to link the price history line with one or more price history references. (Inherited from MCRPriceHistoryLine.)
Dn674923.pubmethod(en-us,AX.60).gif priceDisc Builds a PriceDisc object using information of line and specified quantity. (Inherited from MCRPriceHistoryLine.)
Dn674923.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Dn674923.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Dn674923.pubmethod(en-us,AX.60).gif updateMCROrderLine2PriceHistoryRef Updates the reference between the price history line and price history references. (Overrides the updateMCROrderLine2PriceHistoryRef Method.)
Dn674923.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.)
Dn674923.pubmethod(en-us,AX.60).gif usesRetailPricing Returns whether retail pricing is used for price history line. (Overrides the usesRetailPricing Method.)
Dn674923.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Dn674923.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Dn674923.pubmethod(en-us,AX.60).gif Dn674923.static(en-us,AX.60).gif ::construct Creates a new instace of the MCRPriceHistoryLine_Sales class.
Dn674923.pubmethod(en-us,AX.60).gif Dn674923.static(en-us,AX.60).gif ::newSalesLine Creates a new instace of the MCRPriceHistoryLine_Sales class.
Top

For returns the original SalesLine is used instead of the return line. The return line does not have its own price history. Using the original SalesLine causes that sales line's history to be used/displayed.

The return line is used for: - quantity - multiline quantity - query of rebate history

Object Class
  MCRPriceHistoryLine Class
    MCRPriceHistoryLine_Sales Class

Community Additions

ADD
Show: