import { Entity, DefaultDeSerializers, DeSerializers, DeserializedType } from '@sap-cloud-sdk/odata-v2'; import { EngmntProjRsceDmndDistr, EngmntProjRsceDmndDistrType } from './EngmntProjRsceDmndDistr'; import { EngmntProjRsceDmndSkill, EngmntProjRsceDmndSkillType } from './EngmntProjRsceDmndSkill'; import { EngmntProjRsceSup, EngmntProjRsceSupType } from './EngmntProjRsceSup'; /** * This class represents the entity "A_EngmntProjRsceDmnd" of service "CPD.SC_PROJ_ENGMT_CREATE_UPD_SRV". */ export declare class EngmntProjRsceDmnd extends Entity implements EngmntProjRsceDmndType { /** * Technical entity name for EngmntProjRsceDmnd. */ static _entityName: string; /** * Default url path for the according service. */ static _defaultServicePath: string; /** * All key fields of the EngmntProjRsceDmnd 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; /** * 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; /** * Work Item ID. * Defines a specific activity performed in a work package. * You assign work items to a work package from a predefined list of work items or you create user-defined ones in a work package. Thereafter, you assign them to resources to plan activities for the team.You define work items in the configuration activity Define Work Items. * Maximum length: 10. * @nullable */ workItem?: DeserializedType | null; /** * Billing Control Category. * Maximum length: 8. * @nullable */ billingControlCategory?: 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; /** * Resource Type ID. * Indicates the resource types used to plan activities in a work package. * You may use the following resource types:Team (0ACT)Additional Resources (0ADL)Services (0SRV)Expenses (0EXP). * Maximum length: 4. * @nullable */ engagementProjectResourceType?: DeserializedType | null; /** * Resource ID. * Indicates resources configured for use in customer and internal projects. Resources must be assigned to resource types before they can be used to plan work packages. * You must map resources to resource types in the configuration activity Map Resources to Resource Types. * Maximum length: 40. * @nullable */ engagementProjectResource?: 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; /** * Assignment Status for a Resource Demand. * Indicates whether a resource demand has been fulfilled. * This field stores one of the following two statuses:P (Pending) - indicates that a resource demand has not been completely fulfilled by one or more resource assignments or suppliesC (Complete) - indicates that a resource demand has been fulfilled by one or more resource assignments or supplies. * Maximum length: 1. * @nullable */ resourceDemandStatus?: DeserializedType | null; /** * Unit of Measure. * Unit, in which the corresponding quantity is measured. * Maximum length: 3. * @nullable */ unitOfMeasure?: DeserializedType | null; /** * Quantity. * @nullable */ quantity?: 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; /** * Demand Cost Amount. * @nullable */ demandCostAmt?: DeserializedType | null; /** * Demand Revenue Amount. * @nullable */ demandRevAmt?: DeserializedType | null; /** * One-to-many navigation property to the [[EngmntProjRsceDmndDistr]] entity. */ toResourceDemandDistribution: EngmntProjRsceDmndDistr[]; /** * One-to-one navigation property to the [[EngmntProjRsceDmndSkill]] entity. */ toResourceDemandSkills?: EngmntProjRsceDmndSkill | null; /** * One-to-many navigation property to the [[EngmntProjRsceSup]] entity. */ toResourceSupply: EngmntProjRsceSup[]; } export interface EngmntProjRsceDmndType { workPackage: DeserializedType; resourceDemand: DeserializedType; version: DeserializedType; engagementProject?: DeserializedType | null; workItem?: DeserializedType | null; billingControlCategory?: DeserializedType | null; deliveryOrganization?: DeserializedType | null; engagementProjectResourceType?: DeserializedType | null; engagementProjectResource?: DeserializedType | null; workforcePersonUserId?: DeserializedType | null; country2DigitIsoCode?: DeserializedType | null; keyDate?: DeserializedType | null; personWorkAgreement?: DeserializedType | null; resourceDemandStatus?: DeserializedType | null; unitOfMeasure?: DeserializedType | null; quantity?: DeserializedType | null; currency?: DeserializedType | null; demandCostAmt?: DeserializedType | null; demandRevAmt?: DeserializedType | null; toResourceDemandDistribution: EngmntProjRsceDmndDistrType[]; toResourceDemandSkills?: EngmntProjRsceDmndSkillType | null; toResourceSupply: EngmntProjRsceSupType[]; } //# sourceMappingURL=EngmntProjRsceDmnd.d.ts.map