Compartilhar via


AgreementLine::findLineForAutoMatch Method

Retrieves the best agreement line to associate with the sales or purchase line.

Syntax

server public static AgreementLine findLineForAutoMatch(
    SalesPurchLine _salesPurchLine, 
    AgreementHeaderRecId _matchingAgreement, 
   [boolean _checkLimits])

Run On

Server

Parameters

  • _salesPurchLine
    Type: SalesPurchLine Map
    The sales or purchase line for which to find the agreement lines.

Return Value

Type: AgreementLine Table
The best agreement line among the lines of the specified agreement for the sales or purchase line.

See Also

Reference

AgreementLine Table