Share via


ProjInvoiceJour.returnOriginalTransRecId_CZ Method

The method returns RecId of an original line for the current credit note line

Syntax

public RefRecId returnOriginalTransRecId_CZ(
    TableId _tableIdTrans, 
    TableId _tableIdTransDetail, 
   [RecId _recId])

Run On

Called

Parameters

  • _tableIdTrans
    Type: TableId Extended Data Type
    The TableId value of project invoice line record (ProjectInvoiceItem, ProjectInvoiceCost, ProjectInvoiceOnAcc, ProjectInvoiceEmpl, ProjectInvoiceRevenue)
  • _tableIdTransDetail
    Type: TableId Extended Data Type
    The TableId value of project invoice line detail record (ProjectInvoiceItemDetail, ProjectInvoiceCostDetail, ProjectInvoiceOnAccDetail, ProjectInvoiceEmplDetail, ProjectInvoiceRevenueDetail)

Return Value

Type: RefRecId Extended Data Type
The RecId value of an original line if it was found, else 0

Remarks

If the _recId parameter isn't set, the method looks for the first line of the current invoice which refers on original invoice

See Also

Reference

ProjInvoiceJour Table