Share via


AgreementLine.isLinkValid Method

Validates that the specified order line fits for the current agreement line.

Syntax

public boolean isLinkValid(SalesPurchLine _salesPurchLine, [boolean _showInfolog])

Run On

Called

Parameters

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

Return Value

Type: boolean
true if the link between the specified record and the agreement line is valid; otherwise, false.

Remarks

If the _showInfolog parameter is true then the information about all fields that do not fit to the agreement criteria will be printed in the Infolog.

See Also

Reference

AgreementLine Table