import { Entity, DefaultDeSerializers, DeSerializers, DeserializedType } from '@sap-cloud-sdk/odata-v2'; import { EngmntProjRsceDmnd, EngmntProjRsceDmndType } from './EngmntProjRsceDmnd'; import { EngmntProjRsceSupDistr, EngmntProjRsceSupDistrType } from './EngmntProjRsceSupDistr'; /** * This class represents the entity "A_EngmntProjRsceSup" of service "CPD.SC_PROJ_ENGMT_CREATE_UPD_SRV". */ export declare class EngmntProjRsceSup extends Entity implements EngmntProjRsceSupType { /** * Technical entity name for EngmntProjRsceSup. */ static _entityName: string; /** * Default url path for the according service. */ static _defaultServicePath: string; /** * All key fields of the EngmntProjRsceSup entity */ static _keys: string[]; /** * Work Package ID. * Maximum length: 50. */ workPackage: DeserializedType; /** * Resource Demand ID. * A number that identifies a demand in a work package. For each work package, the system generates IDs beginning with 0010 and increases the number by 1. * In a work package with four demands, the resource demand IDs are 0010, 0011, 0012, and 0013. * Maximum length: 24. */ resourceDemand: DeserializedType; /** * Resource Supply ID. * A number that identifies a resource supply for a resource demand in a work package. For each resource demand, the system generates a resource supply ID beginning with 0010 and increases the number by 1. * For a given resource demand in a work package, the ID of the resource assignment is as follows:Resource Demand ID Resource Supply ID0010 0010However, in situations where a resource demand is fulfilled by multiple resource assignments, the IDs are as follows:Resource Demand ID Resource Supply ID0010 001000110012. * Maximum length: 24. */ resourceSupply: DeserializedType; /** * Plan Version ID. * Stores details of a project plan in one of two versions - current (1) or baseline (2). * Maximum length: 28. */ version: DeserializedType; /** * Engagement Project ID. * Identifies a customer or internal project. * Maximum length: 40. * @nullable */ engagementProject?: DeserializedType | null; /** * Delivery Organization. * Represents the organization that is either responsible for a project (service organization) or provides resources that can be assigned to projects (delivery organization). * Maximum length: 5. * @nullable */ deliveryOrganization?: DeserializedType | null; /** * User ID. * Indicates the unique identifier assigned to a user. * Maximum length: 100. * @nullable */ workforcePersonUserId?: DeserializedType | null; /** * Country/Region. * Indicates the country/region associated with the workforce assignment. * Maximum length: 2. * @nullable */ country2DigitIsoCode?: DeserializedType | null; /** * Date. * Date (YYYYMMDD) * Date in the form YYYYMMDD (where Y = year, M = month, D = day)19920301. * @nullable */ keyDate?: DeserializedType | null; /** * Personnel Number. * The personnel number is the only unique key within a client for identifying the employee. It allows you to access the screens for display and maintenance of employee master data and working time data (infotypes). * Maximum length: 8. * @nullable */ personWorkAgreement?: DeserializedType | null; /** * Unit of Measure. * Unit, in which the corresponding quantity is measured. * Maximum length: 3. * @nullable */ unitOfMeasure?: DeserializedType | null; /** * Plan Currency. * Default * The system defaults the plan currency according to the following conditions and priority:If a project currency is defined at the level of the commercial project, the system defaults this value as the plan currency.If a project currency is not defined, the system picks the currency defined in the BAdI implementation /CPD/PFP_BADI_PLAN_OBJECT.If a currency is not defined either in the commercial project or in the BAdI implementation (/CPD/PFP_BADI_PLAN_OBJECT), the system defaults picks the value from the plan scenario of the financial plan.If a currency is not defined either in the commercial project or in the BAdI implementation (/CPD/PFP_BADI_PLAN_OBJECT), or in the plan scenario, then the system picks the value from the client currency.The system stores plan and forecast data in this currency.If you plan data in a transaction currency, which is different from the plan currency, the system translates it to the plan currency and stores the converted value. * Maximum length: 5. * @nullable */ currency?: DeserializedType | null; /** * Quantity. * @nullable */ quantity?: DeserializedType | null; /** * Supply Cost Amount. * @nullable */ supplyCostAmt?: DeserializedType | null; /** * Supply Revenue Amount. * @nullable */ supplyRevnAmt?: DeserializedType | null; /** * One-to-one navigation property to the [[EngmntProjRsceDmnd]] entity. */ toResourceDemand?: EngmntProjRsceDmnd | null; /** * One-to-many navigation property to the [[EngmntProjRsceSupDistr]] entity. */ toResourceSupplyDistribution: EngmntProjRsceSupDistr[]; } export interface EngmntProjRsceSupType { workPackage: DeserializedType; resourceDemand: DeserializedType; resourceSupply: DeserializedType; version: DeserializedType; engagementProject?: DeserializedType | null; deliveryOrganization?: DeserializedType | null; workforcePersonUserId?: DeserializedType | null; country2DigitIsoCode?: DeserializedType | null; keyDate?: DeserializedType | null; personWorkAgreement?: DeserializedType | null; unitOfMeasure?: DeserializedType | null; currency?: DeserializedType | null; quantity?: DeserializedType | null; supplyCostAmt?: DeserializedType | null; supplyRevnAmt?: DeserializedType | null; toResourceDemand?: EngmntProjRsceDmndType | null; toResourceSupplyDistribution: EngmntProjRsceSupDistrType[]; } //# sourceMappingURL=EngmntProjRsceSup.d.ts.map