MGCLatticeProjectJournalLineContract
Data contract representing a project journal line with ProjId, CategoryId, Qty, CostPrice, SalesPrice, and the worker's personnel number. Item lines add ItemId / InventDimId (the inventory dimension the item is consumed from); expense lines add OffsetMainAccountId (the main account the expense is paid from); LinePropertyId overrides the project's default.
Methods
new
Initializes a new instance of the MGCLatticeProjectJournalLineContract class.
- Visibility:
public - Returns:
void
No parameters.
construct
Creates a new instance of the MGCLatticeProjectJournalLineContract class.
- Visibility:
public - Returns:
MGCLatticeProjectJournalLineContractA new MGCLatticeProjectJournalLineContract instance.
No parameters.
parmProjId
Gets or sets the project identifier.
- Visibility:
public - Returns:
ProjIdThe ProjId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_projId | ProjId | Yes | The ProjId value. |
parmCategoryId
Gets or sets the project category identifier for the journal line.
- Visibility:
public - Returns:
strThe CategoryId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_categoryId | str | Yes | The CategoryId value. |
parmQty
Gets or sets the quantity for the line.
- Visibility:
public - Returns:
realThe Qty value.
| Name | Type | Optional | Description |
|---|---|---|---|
_qty | real | Yes | The Qty value. |
parmCostPrice
Gets or sets the cost price per unit.
- Visibility:
public - Returns:
realThe CostPrice value.
| Name | Type | Optional | Description |
|---|---|---|---|
_costPrice | real | Yes | The CostPrice value. |
parmSalesPrice
Gets or sets the sales price per unit for the project journal line.
- Visibility:
public - Returns:
realThe SalesPrice value.
| Name | Type | Optional | Description |
|---|---|---|---|
_salesPrice | real | Yes | The SalesPrice value. |
parmCurrencyCode
Gets or sets the currency code for the transaction.
- Visibility:
public - Returns:
CurrencyCodeThe CurrencyCode value.
| Name | Type | Optional | Description |
|---|---|---|---|
_currencyCode | CurrencyCode | Yes | The CurrencyCode value. |
parmDescription
Gets or sets the descriptive text for the journal or transaction.
- Visibility:
public - Returns:
strThe Description value.
| Name | Type | Optional | Description |
|---|---|---|---|
_description | str | Yes | The Description value. |
parmTransDate
Gets or sets the transaction date for the journal line.
- Visibility:
public - Returns:
TransDateThe TransDate value.
| Name | Type | Optional | Description |
|---|---|---|---|
_transDate | TransDate | Yes | The TransDate value. |
parmWorkerPersonnelNumber
Gets or sets the personnel number of the worker the line is for (the line's resource). Optional.
- Visibility:
public - Returns:
HcmPersonnelNumberIdThe WorkerPersonnelNumber value.
| Name | Type | Optional | Description |
|---|---|---|---|
_workerPersonnelNumber | HcmPersonnelNumberId | Yes | The WorkerPersonnelNumber value. |
parmItemId
Gets or sets the item number for the line.
- Visibility:
public - Returns:
ItemIdThe ItemId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_itemId | ItemId | Yes | The ItemId value. |
parmActivityNumber
Gets or sets the project activity number for the journal line.
- Visibility:
public - Returns:
strThe ActivityNumber value.
| Name | Type | Optional | Description |
|---|---|---|---|
_activityNumber | str | Yes | The ActivityNumber value. |
parmLinePropertyId
Gets or sets the project line property (Billable / NonBill...) of the line. Empty = the default the project line property setup gives for the project and category.
- Visibility:
public - Returns:
ProjLinePropertyIdThe LinePropertyId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_linePropertyId | ProjLinePropertyId | Yes | The LinePropertyId value. |
parmInventDimId
Gets or sets the inventory dimension id an item journal line consumes the item from (site / warehouse...). Empty = the item's default order settings.
- Visibility:
public - Returns:
InventDimIdThe InventDimId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_inventDimId | InventDimId | Yes | The InventDimId value. |
parmOffsetMainAccountId
Gets or sets the main account an expense journal line is paid from (the credit side; the project side is derived from the project posting setup). Required on expense lines.
- Visibility:
public - Returns:
MainAccountNumThe OffsetMainAccountId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_offsetMainAccountId | MainAccountNum | Yes | The OffsetMainAccountId value. |
parmProjIdExternalKey
Gets or sets the external system's key of the line's project, in place of ProjId. Uses the request's ExternalSystem.
- Visibility:
public - Returns:
MGCLatticeExternalKeyThe ProjIdExternalKey value.
| Name | Type | Optional | Description |
|---|---|---|---|
_projIdExternalKey | MGCLatticeExternalKey | Yes | The ProjIdExternalKey value. |
parmItemIdExternalKey
Gets or sets the external system's key of the line's released product, in place of ItemId. Item journals only, like ItemId; uses the request's ExternalSystem.
- Visibility:
public - Returns:
MGCLatticeExternalKeyThe ItemIdExternalKey value.
| Name | Type | Optional | Description |
|---|---|---|---|
_itemIdExternalKey | MGCLatticeExternalKey | Yes | The ItemIdExternalKey value. |