Share via


SalesLine.refreshAgreementLink Method

Refreshes the link between the AgreementLine and the SalesLine. If the current link has become invalid, or if there is no current link, this will search for the best matching AgreementLineand possibly update the PurchLine if a new match is found.

Syntax

public boolean refreshAgreementLink([boolean _showInfolog])

Run On

ClientOrServer

Parameters

  • _showInfolog
    Type: boolean
    A flag that indicates whether to print the errors in the Infolog; optional.

Return Value

Type: boolean
false if the link could not be refreshed; this happens when the current link is invalid and no better match could be found

See Also

Reference

SalesLine Table