Untitled
plain_text
2 months ago
3.8 kB
2
Indexable
Never
/*using {API_MANAGE_WORKFORCE_TIMESHEET as wsTs} from './external/API_MANAGE_WORKFORCE_TIMESHEET'; using {API_BUSINESS_PARTNER as bupa} from './external/API_BUSINESS_PARTNER'; service MyService { entity timeSheetEntry as projection on wsTs.TimeSheetEntryCollection; entity Suppliers as projection on bupa.A_BusinessPartner { key BusinessPartner as ID, BusinessPartnerFullName as fullName, BusinessPartnerIsBlocked as isBlocked, } }*/ using {API_MANAGE_WORKFORCE_TIMESHEET as timesheet} from './external/API_MANAGE_WORKFORCE_TIMESHEET'; using {API_BUSINESS_PARTNER as bupa} from './external/API_BUSINESS_PARTNER'; using {API_MANAGE_WF_AVAILABILITY as wf_avail} from './external/API_MANAGE_WF_AVAILABILITY'; service timeService { entity TimeSheetEntryCollection{ key PersonWorkAgreementExternalID : String(20); key CompanyCode : String(4); key TimeSheetRecord : String(12); TimeSheetDataFields : Association to TimeSheetDataFields; PersonWorkAgreement : String(8); TimeSheetDate : DateTime; TimeSheetIsReleasedOnSave : Boolean; TimeSheetPredecessorRecord : String(12); TimeSheetStatus : String(2); TimeSheetIsExecutedInTestRun : Boolean; TimeSheetOperation : String(1); YY1_EndTime_TIM : Time; YY1_StartTime_TIM : Time; } entity TimeSheetDataFields{ ControllingArea : String(4); SenderCostCenter : String(10); ReceiverCostCenter : String(10); InternalOrder : String(12); ActivityType : String(6); WBSElement : String(24); WorkItem : String(10); BillingControlCategory : String(8); PurchaseOrder : String(10); PurchaseOrderItem : String(5); TimeSheetTaskType : String(4); TimeSheetTaskLevel : String(8); TimeSheetTaskComponent : String(8); TimeSheetNote : LargeString; RecordedHours : Decimal(4, 2); RecordedQuantity : Decimal(15, 3); HoursUnitOfMeasure : String(3); RejectionReason : String(4); TimeSheetWrkLocCode : String(4); TimeSheetOvertimeCategory : String(4); SenderPubSecFund : String(10); SendingPubSecFunctionalArea : String(16); SenderPubSecGrant : String(20); SenderPubSecBudgetPeriod : String(10); ReceiverPubSecFund : String(10); ReceiverPubSecFuncnlArea : String(16); ReceiverPubSecGrant : String(20); ReceiverPubSecBudgetPeriod : String(10); } entity ProvaMapping { key PersonWorkAgreementExternalID : String(20); key CompanyCode : String(4); key TimeSheetRecord : String(12); TimeSheetDataFields : { ControllingArea : String(4); SenderCostCenter : String(10); ReceiverCostCenter : String(10); InternalOrder : String(12); } }; entity Suppliers as projection on bupa.A_BusinessPartner { key BusinessPartner as ID, BusinessPartnerFullName as fullName, BusinessPartnerIsBlocked as isBlocked, }; entity TimeOverviewSet as projection on wf_avail.TimeOverviewSet; }