Share via


FiscalDocument_BR::findByRef Method

Finds the FiscalDocument_BR record corresponding to the document TableId and RecId passed in as parameter.

Syntax

client server public static FiscalDocument_BR findByRef(
    RefTableId _refTableId, 
    RefRecId _refRecId, 
   [boolean _forupdate])

Run On

Called

Parameters

  • _refTableId
    Type: RefTableId Extended Data Type
    The Table ID of the document that originated the Fiscaldocument (e.g. CustInvoiceJour, VendInvoiceJour)
  • _refRecId
    Type: RefRecId Extended Data Type
    The Record ID of the document that originated the Fiscaldocument (e.g. CustInvoiceJour, VendInvoiceJour)
  • _forupdate
    Type: boolean
    A Boolean value that indicates whether to read the record for update; optional.

Return Value

Type: FiscalDocument_BR Table
A record in the FiscalDocument_BR table; otherwise, an empty record.

See Also

Reference

FiscalDocument_BR Table