Share via


SourceDocumentHeader::isSourceDocumentHeaderRelatedToVoucher Method

Checks whether a voucher or voucher data area ID combination is related to a source document header.

Syntax

client server public static boolean isSourceDocumentHeaderRelatedToVoucher(
    SourceDocumentHeaderRecId _sourceDocumentHeaderRecId, 
    Voucher _subledgerVoucher, 
    CompanyId _subledgerVoucherDataAreaId)

Run On

Called

Parameters

Return Value

Type: boolean
true if source document header is related to voucher; otherwise, false.

See Also

Reference

SourceDocumentHeader Table