# PJ_CALC: Project calculation lines
- Name: `PJ_CALC`
- Catalog: `AccountView`
- Label: Project calculation lines
- Partition-specific: true
- Select: true
- Insert: false
- Update: false
- Delete: false
## Table Columns
The columns of the table `PJ_CALC` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `AG_CODE` | `string(5)` | Item group | ☐ | |
| `ART_CODE` | `string(15)` | Article Code | ☐ | |
| `CALC_PCHS` | `int64` | Costs | ☐ | |
| `CALC_QTY` | `decimal` | Quantity | ☐ | |
| `CALC_SELL` | `int64` | Revenues | ☐ | |
| `CNG_DATE` | `datetime` | Date modified | ☐ | |
| `CNG_USR` | `string(20)` | Employee last modified | ☐ | |
| `COST_CODE` | `string(10)` | Cost centre code | ☐ | |
| `COST_DESC` | `string(40)` | Cost description | ☐ | |
| `DIM_DESC` | `string(200)` | Dimensions description | ☐ | |
| `DPT_CODE` | `string(10)` | Department | ☐ | |
| `EMP_GRP` | `string(10)` | Employee group | ☐ | |
| `EMP_NR` | `string(10)` | Employee code | ☐ | |
| `GEN_IN` | `boolean` | Create inventory page | ☐ | |
| `GEN_PO` | `boolean` | Create purchase order | ☐ | |
| `INP_DATE` | `datetime` | Entry date | ☐ | |
| `INP_USR` | `string(20)` | Entered by employee | ☐ | |
| `INV_DESC` | `string(40)` | Transaction invoice description | ☐ | |
| `ITEM_DESC` | `string(40)` | Transaction description | ☐ | |
| `MRG_PCT` | `decimal` | Cost surcharge percentage | ☐ | |
| `MRG_PCT_O` | `decimal` | Original surcharge percentage | ☐ | |
| `partition_code` | `string` | Partition code | ☑ | |
| `partition_name` | `string` | Partition name | ☑ | |
| `PC_DIM` | `string(5)` | Cost type as dimension | ☐ | |
| `PC_PCHS` | `int64` | Direct project costs | ☐ | |
| `PC_SELL` | `int64` | Direct revenues | ☐ | |
| `PER_FIN` | `decimal` | Financial period | ☐ | |
| `PER_PROJ` | `decimal` | Project period | ☐ | |
| `PROJ_CODE` | `string(10)` | Project code | ☐ | |
| `PX_PCHS` | `int64` | Purchase rate | ☐ | |
| `PX_PCHS_O` | `int64` | Original purchase rate | ☐ | |
| `PX_SELL` | `int64` | Sales rate | ☐ | |
| `PX_SELL_O` | `int64` | Original sales rate | ☐ | |
| `RAPP_YEAR` | `string(10)` | Reporting year | ☐ | |
| `RATE_CODE` | `string(10)` | Calculation code | ☐ | |
| `RATE_DESC` | `string(40)` | Calculation unit description | ☐ | |
| `REC_ID` | `string(10)` | Unique code | ☐ | |
| `REC_TYPE` | `int32` | Line type | ☐ | |
| `RES_ID` | `string(12)` | Source identification | ☐ | |
| `RES_TYPE` | `int32` | Source type | ☐ | |
| `STR_DETAIL` | `string(15)` | Hour type/item code/cost type | ☐ | |
| `STR_DETGR1` | `string(15)` | Hour type group/item code/cost type | ☐ | |
| `STR_DETGR2` | `string(10)` | Hour type/item group/cost type | ☐ | |
| `STR_GROUP` | `string(10)` | Hour type group/item group/cost type | ☐ | |
| `TG_CODE` | `string(10)` | Hour type group | ☐ | |
| `TIM_CODE` | `string(10)` | Hour type | ☐ | |
| `TRN_DATE` | `datetime` | Transaction Date | ☐ | |
| `WRK_CODE` | `string(10)` | Work type | ☐ | |