Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
- _matchingAgreement
Type: AgreementHeaderRecId Extended Data Type
The record ID of the agreement header.
- _checkLimits
Type: boolean
Return Value
Type: AgreementLine Table
The best agreement line among the lines of the specified agreement for the sales or purchase line.