PurchCommitmentLine_PSN::performBalanceCheck Method
Performs a balance check for the document indicated by the supplied _sourceDocumentLineRecId record ID.
Syntax
client server public static boolean performBalanceCheck(SourceDocumentLineRecId _consumingSourceDocumentLineRecId)
Run On
Called
Parameters
- _consumingSourceDocumentLineRecId
Type: SourceDocumentLineRecId Extended Data Type
The RecId of the SourceDocumentLine record for the document that is related to the commitment.
Return Value
Type: boolean
true if there is zero or more available balance on the related commitment line; otherwise, false.
Remarks
The record ID that is specified in the _sourceDocumentLineRecId parameter can be for either a purchase order line, pending invoice line, or posted invoice line.No other source documents are supported.