on 06-18-2018 10:21 PM
Does anyone have code on how to do this through DI API? I see where the FinancialProject property is exposed in the SAPbobsCOM.PM_TimeSheetLineData object:
SAPbobsCOM.CompanyService companyService = default(SAPbobsCOM.CompanyService);
SAPbobsCOM.ProjectManagementTimeSheetService timeSheetService = null;
companyService = company.GetCompanyService();
timeSheetService = (SAPbobsCOM.ProjectManagementTimeSheetService)companyService
.GetBusinessService(SAPbobsCOM.ServiceTypes.ProjectManagementTimeSheetService);
SAPbobsCOM.PM_TimeSheetData timeSheet = timeSheetService
.GetDataInterface(SAPbobsCOM.ProjectManagementTimeSheetServiceDataInterfaces.pmtssPM_TimeSheetData);
SAPbobsCOM.PM_TimeSheetParams timeSheetParams = timeSheetService
.GetDataInterface(SAPbobsCOM.ProjectManagementTimeSheetServiceDataInterfaces.pmtssPM_TimeSheetParams);
SAPbobsCOM.PM_TimeSheetLineData timeSheetLine = timeSheet.PM_TimeSheetLineDataCollection.Add();
timeSheetLine.FinancialProject = "PROJ01";
But I don't see anything similar for the associated Project Management project/stage as can be set in the window:
Thanks in advance.
Hi Antonio Lopez & Dan Jordan,
This issue is already known to our Development Team. It is not possible to Add/Update the Stage For a Time Sheet via DI API till SAP Business One Version 9.3 PL09.
The issue is supposed to be fixed in the next patch level i.e. 9.3 PL10. Be advised that the time-frame is subject to change without any notice.
Kindly keep checking SAP Note 2765437 for more details. The mentioned SAP Note will be released soon.
Kind regards,
ANKIT CHAUHAN
SAP Business One Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
we would like to know this aswell!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.