PwsContractLineItemDetail
Overview
This structure contains the complete set of information about a contract line item. The structure is used both to retrieve detailed contract line item information and to pass information about a contract line item back to the server to get updated.
Format
- PwsContractLineItemDetail
- ContractLineItemCode: String (27)
- ContractLineItemId: Int32
- ContractLineItemUid: Int64
- ContractLineItemName: String (255)
- EngagementIdentity: PwsEngagementRef
- CostContractTerms: String (1)
- DeferredRevenueOpeningBalanceEngCurrency: Double
- DeferredRevenueOpeningBalanceEngGLCurrency: Double
- HoldbackAmount: Double
- HoldbackPercent: Double
- HoldbackType: String (1)
- MaxCostContractAmount: Double
- MaxTimeContractAmount: Double
- MinCostContractAmount: Double
- MinTimeContractAmount: Double
- RevenueEarnedByDate: DateTime
- RevenueRecognitionMethod: String (1)
- RevenueSchedule: PwsRevenueScheduleItem[]
- TimeContractTerms: String (1)
- ContractTypeIdentity: PwsContractTypeRef
- InheritPurchaseOrderNumberFlag: Boolean
- ModelContractedHoursAndOveragesFlag: Boolean
- OverageProjectIdentity: PwsProjectRef
- PurchaseOrderNumber: String (50)
- Timestamp: String
Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
ContractLineItemCode | String (27) | One of ContractLineItemCode or ContractLineItemUid is required Note: The ContractLineItemCode does not have to be supplied if the installation is configured to use manual contract line item numbering) | The contract line item code is a unique identifier for a contract line item | P001163-CL1 | |
ContractLineItemId | Int32 | No | The contract line item id is a unique identifier for a contract line item. For internal use only | ||
ContractLineItemUid | Int64 | On Insert: No On Update: Yes (if ContractLineItemCode is not supplied) | A unique and immutable Id for a contract line item | 1152921504607049238 | |
ContractLineItemName | String (255) | On Insert: Yes On Update: No | The contract line item name | Contract 192810 | |
EngagementIdentity | On Insert: No On Update: No | The engagement associated with the contract line item | |||
CostContractTerms | String (1) | On Insert: No On Update: No | The cost contract terms associated with the contract line item: "F" for Fixed Price "T" for Time and Materials "C" for Time and Materials with a cap (Not to Exceed NO Hard Cap) "H" for Not To Exceed with Hard Cap "N" for Non-chargeable Null on update means leave as is | T | |
DeferredRevenueOpeningBalanceEngCurrency | Double | On Insert: No On Update: No | 0 | The deferred revenue opening balance associated with the contract line item (in the engagement currency)Â | 0 |
DeferredRevenueOpeningBalanceEngGLCurrency | Double | On Insert: No On Update: No | 0 | The deferred revenue opening balance associated with the contract line item (in the general ledger currency)Â | 0 |
HoldbackAmount | Double | On Insert: No On Update: No | The holdback amount associated with the contract line item. Applies only when holdback type is A; null otherwise. | ||
HoldbackPercent | Double | On Insert: No On Update: No | The holdback percent associated with the contract line item. Applies only when holdback type is P; null otherwise. | ||
HoldbackType | String | On Insert: No On Update: No | N | The holdback type associated with the contract line item "N" for none "A" for Amount "P" for Percent | N |
MaxCostContractAmount | Double | On Insert: No On Update: No | The maximum cost contract amount associated with the contract line item Must be specified for cost contract terms F or C, and null otherwise | ||
MaxTimeContractAmount | Double | On Insert: No On Update: No | The maximum time contract amount associated with the contract line item Must be specified for time contract terms F or C, and null otherwise | ||
MinCostContractAmount | Double | On Insert: No On Update: No | The minimum cost contract amount associated with the contract line item Must be specified for cost contract terms F or C, and null otherwise | ||
MinTimeContractAmount | Double | On Insert: No On Update: No | The minimum time contract amount associated with the contract line item Must be specified for time contract terms F, and null otherwise | ||
RevenueEarnedByDate | DateTime | On Insert: No On Update: No | This is a date (in midnight UTC) by which the contract line item is expected to be complete. | ||
RevenueRecognitionMethod | String (1) | On Insert: No On Update: No | P | The revenue recognition method associated with the contract line item. The RevenueRecognitionMethod will be NULL unless it is a fixed price for time contract. Otherwise will be P or R. "P" for percent complete "R" for revenue schedule | P |
RevenueSchedule | On Insert: No On Update: No | The information associated with the revenue and/or contracted hours schedule associated with the contract line item. Applies only when the RevenueRecogntionMethod = 'R'. | |||
TimeContractTerms | String (1) | On Insert: Yes (if ContractTypeIdentity is not supplied) On Update: No | T | The time contract terms associated with the contract line item "T" for Time & Materials "F" for Fixed Price "C" for Not to Exceed | T |
ContractTypeIdentity | On Insert: Yes (if TimeContractTerms is not supplied) On Update: No | The contract type identity associated with the contract line item. For custom contract line items, this will be NULL. | |||
InheritPurchaseOrderNumberFlag | Boolean | On Insert: No On Update: No | true | If set to 'true', the purchase order number is inherited from the parent client (if any). Please see Inheritance for more information. | true/false |
ModelContractedHoursAndOveragesFlag | Boolean | On Insert: No On Update: No | Dependent on ContractTypeIdentity, if a ContractTypeIdentity is not supplied the default is false | When set to 'true', the contract will be modeled to account for contracted hours and overages. This setting is typically used when setting up service contracts where a client purchases a fixed amount of hours for a specific time period. Time that exceeds the allottment is then billed at a different rate. This overage is handled by a separate project. Only available for Fixed Price time contracts using a revenue schedule. | true/false |
OverageProjectIdentity | On Insert: No On Update: No | For contract line items that are defined to model contracted hours and overages, this is the project to which hours that exceed a set number within a date range will be transferred. | |||
PurchaseOrderNumber | String (50) | On Insert: No On Update: No | The purchase order number associated with the contract line item | ||
Timestamp | String | On Insert: No On Update: No | This is an optimistic locking timestamp that, if provided on update request, will cause the request to fail when the timestamp stored in the database does not match the provided value. |