Table

ProjCostTransSale

Project expense transactions - sale

Holds the sales side of project expense transactions. It adds sales price, accrued amount, WIP type and status to the main transaction in ProjCostTrans. It links to the cost template, dimension set and funding source. It includes fields used for India. It has no defined key.

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

Fields (22)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ControlIdCost template ID. Points to the control type in ProjControl.String
ProjControlId
NoProjControl.ControlIdNone
ControlVersionVersion number of the control.Integer
ProjControlVersion
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionFinancial dimension set for the transaction. Points to DimensionAttributeValueSet.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdNone
FundingSourceFunding source of the transaction. Points to ProjFundingSource.Int64
ProjFundingSourceRefId
NoProjFundingSource.RecIdNone
LedgerSalesAmountAccrued amount for the sale.Real
ProjLedgerAccruedAmount
NoNone
LedgerSalesPostedYes/No flag showing whether accrued revenue has been recorded.Enum
ProjLedgerSalesPosted
NoYes (enum)
NoNone
LedgerTransdateLedger date of the transaction.Date
TransDate
NoNone
LineAmountTotal line amount in transaction currency.Real
AmountCur
NoNone
LineDiscountDiscount applied to the sales line.Real
SalesLineDisc
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProjProposalId_INInvoice proposal ID, used for India.String (50)
ProjProposalId
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SalesPriceSales price of the transaction.Real
ProjSalesPriceCost
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAsPerOriginalInvoice_INYes/No flag for tax as per the original invoice, used for India.Enum
NoYesId
NoYes (enum)
NoNone
TransIdTransaction ID. Points to the expense transaction in ProjCostTrans.String (20)
ProjCostTransId
YesProjCostTrans.TransIdNone
TransStatusStatus of the transaction, such as Registered, Posted, Invoiced or Eliminated.Enum
ProjTransStatus (enum)
NoNone
WIPPeriodEstimate date used for work in process.Date
ProjPeriodFrom
NoNone
WIPTypeKind of work in process: Accrued revenue, Accrued revenue - production, Accrued revenue - profit or Cost.Enum
ProjWIPType (enum)
NoNone

Indexes (2)

Relations (4)

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

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many ProjCostTransSale records → zero or one DimensionAttributeValueSet record

  • FundingSource → ProjFundingSource

    Join on FundingSource = ProjFundingSource.RecId

    Many ProjCostTransSale records → zero or one ProjFundingSource record

  • ProjControl → ProjControl

    Join on ControlId = ProjControl.ControlId

    Many ProjCostTransSale records → zero or one ProjControl record

  • ProjCostTrans → ProjCostTrans

    Join on TransId = ProjCostTrans.TransId

    Many ProjCostTransSale records → exactly one ProjCostTrans record

Get this data out

No public entity reads from ProjCostTransSale. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk