Table

CustInvoiceLineInterProj

Intercompany free text invoice lines for project

Stores project details for intercompany free text invoice lines. Each record links an invoice line to a project, category, worker, activity and original transaction such as a timesheet or expense line. It also holds cost and sales prices with their currencies. It is available as a BI entity and has no defined key.

Table name
CustInvoiceLineInterProj
Module
Project management and accounting
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Project
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (27)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ActivityNumberNumber of the project activity linked to the invoice line.String (50)
ProjActivityNumber
NosmmActivities.ActivityNumberCustInvoiceLineInterProjBiEntity
CostPriceCost price for the worker on the line, currency not stated in the metadata.Real
ProjCostPriceEmpl
NoCustInvoiceLineInterProjBiEntity
CustInvoiceLinePoints to the customer free text invoice line, or to a vendor invoice line.Int64
RefRecId
NoCustInvoiceLine.RecIdVendInvoiceInfoLine.RecIdCustInvoiceLineInterProjBiEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoCustInvoiceLineInterProjBiEntity
HcmWorkerPoints to the worker linked to the line.Int64
HcmWorkerRecId
NoHcmWorker.RecIdCustInvoiceLineInterProjBiEntity
IndirectComponentAmountAmount of indirect cost components, currency not stated in the metadata.Real
Amount
NoCustInvoiceLineInterProjBiEntity
OrigCustInvoiceIdNumber of the original customer invoice.String (20)
CustInvoiceId
NoCustInvoiceLineInterProjBiEntity
OrigRefCustInvoiceLineRecIdSystem record ID of the original customer invoice line. No label is given.low confidenceInt64NoCustInvoiceLineInterProjBiEntity
OrigTransCurrencyCurrency code of the original transaction.String (3)
CurrencyCode
NoCurrency.CurrencyCodeCustInvoiceLineInterProjBiEntity
OrigTransRecIdPoints to the original timesheet, expense or vendor invoice line.Int64
RefRecId
NoTSTimesheetTrans.RecIdTrvExpTrans.RecIdVendInvoiceInfoLine.RecIdCustInvoiceLineInterProjBiEntity
OrigTransSourceDocumentLinePoints to the source document line of the original transaction.Int64
RefRecId
NoSourceDocumentLine.RecIdCustInvoiceLineInterProjBiEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProjBookableResourceNameName of the bookable resource.String (60)
ProjBookableResourceName
NoCustInvoiceLineInterProjBiEntity
ProjCategoryIdProject category of the line.String (30)
ProjCategoryId
NoProjCategory.CategoryIdCustInvoiceLineInterProjBiEntity
ProjDataAreaCompany that the project, category and line property belong to. No label is given.String
SelectableDataArea
NoProjCategory.dataAreaIdProjLineProperty.dataAreaIdProjTable.dataAreaIdsmmActivities.dataAreaIdCustInvoiceLineInterProjBiEntity
ProjIdID of the project the line is for.String (20)
ProjId
NoProjTable.ProjIdCustInvoiceLineInterProjBiEntity
ProjLinePropertyIdLine property assigned to the line.String
ProjLinePropertyId
NoProjLineProperty.LinePropertyIdCustInvoiceLineInterProjBiEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoCustInvoiceLineInterProjBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoCustInvoiceLineInterProjBiEntity
SalesPriceSales price for the worker on the line, currency not stated in the metadata.Real
ProjSalesPriceEmpl
NoCustInvoiceLineInterProjBiEntity
SalesPriceCurrencyCurrency code of the sales price.String (3)
CurrencyCode
NoCurrency.CurrencyCodeCustInvoiceLineInterProjBiEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoCustInvoiceLineInterProjBiEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransactionOriginWhere the transaction came from, such as an hour journal, expense journal or item journal.Enum
ProjTransactionOrigin
ProjOrigin (enum)
NoCustInvoiceLineInterProjBiEntity
TransDateDate of the transaction.Date
TransDate
NoCustInvoiceLineInterProjBiEntity
TransTypeType of project transaction, such as fee, hour, expense, item or retainage.Enum
ProjTransType (enum)
NoCustInvoiceLineInterProjBiEntity
VendInvoiceInfoLinePoints to the vendor invoice line linked to this record.Int64
VendInvoiceInfoLineRefRecId
NoCustInvoiceLineInterProjBiEntity

Indexes (6)

Relations (14)

Each relation joins CustInvoiceLineInterProj to another table on the fields shown.

  • Currency → Currency

    Join on SalesPriceCurrency = Currency.CurrencyCode

    Many CustInvoiceLineInterProj records → exactly one Currency record

  • CustInvoiceLine → CustInvoiceLine

    Join on CustInvoiceLine = CustInvoiceLine.RecId

    Zero or one CustInvoiceLineInterProj record → exactly one CustInvoiceLine record

  • HcmWorker → HcmWorker

    Join on HcmWorker = HcmWorker.RecId

    Many CustInvoiceLineInterProj records → exactly one HcmWorker record

  • OrigTransCurrency → Currency

    Join on OrigTransCurrency = Currency.CurrencyCode

    Many CustInvoiceLineInterProj records → exactly one Currency record

  • OrigTransExpense → TrvExpTrans

    Join on OrigTransRecId = TrvExpTrans.RecId

    Zero or one CustInvoiceLineInterProj record → zero or one TrvExpTrans record

  • OrigTransSourceDocLine → SourceDocumentLine

    Join on OrigTransSourceDocumentLine = SourceDocumentLine.RecId

    Zero or one CustInvoiceLineInterProj record → exactly one SourceDocumentLine record

  • OrigTransTimesheet → TSTimesheetTrans

    Join on OrigTransRecId = TSTimesheetTrans.RecId

    Zero or one CustInvoiceLineInterProj record → zero or one TSTimesheetTrans record

  • OrigTransVendInvoiceLine → VendInvoiceInfoLine

    Join on OrigTransRecId = VendInvoiceInfoLine.RecId

    Zero or one CustInvoiceLineInterProj record → zero or one VendInvoiceInfoLine record

  • ProjCategoryId → ProjCategory

    Join on ProjDataArea = ProjCategory.dataAreaId, ProjCategoryId = ProjCategory.CategoryId

    Many CustInvoiceLineInterProj records → zero or one ProjCategory record

  • ProjDataAreaId → DataArea

    Join on ProjDataArea = DataArea.id

    Many CustInvoiceLineInterProj records → exactly one DataArea record

  • ProjLineProperty → ProjLineProperty

    Join on ProjDataArea = ProjLineProperty.dataAreaId, ProjLinePropertyId = ProjLineProperty.LinePropertyId

    Many CustInvoiceLineInterProj records → exactly one ProjLineProperty record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId, ProjDataArea = ProjTable.dataAreaId

    Many CustInvoiceLineInterProj records → exactly one ProjTable record

  • smmActivities → smmActivities

    Join on ActivityNumber = smmActivities.ActivityNumber, ProjDataArea = smmActivities.dataAreaId

    Many CustInvoiceLineInterProj records → zero or one smmActivities record

  • VendInvoiceInfoLine → VendInvoiceInfoLine

    Join on CustInvoiceLine = VendInvoiceInfoLine.RecId

    Zero or one CustInvoiceLineInterProj record → exactly one VendInvoiceInfoLine record

Get this data out

Tables are not exposed directly. These public entities read from CustInvoiceLineInterProj; use one of them in Power BI, Power Platform or a data management project.

Need help with CustInvoiceLineInterProj in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk