on 04-29-2018 2:57 PM
Depreciation Type can be updated as below:
SAPbobsCOM.Items oItem = (SAPbobsCOM.Items)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems);
oItem.GetByKey("TEST1234");
oItem.DepreciationParameters.SetCurrentLine(1);
oItem.DepreciationParameters.DepreciationType = "MV_DB";
int Update = oItem.Update();
However, I am not sure whether you are trying to update the "Fiscal Year" field or "Depreciation Area" field.
If it is "Fiscal Year", I am not able to understand in which scenario you would like to update this field. Since it is only showing the data in a specific year for an asset.
Kind regards,
ANKIT CHAUHAN
SAP SME Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check whether it helps you or not?
SAPbobsCOM.Items oItem = (SAPbobsCOM.Items)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems);
oItem.GetByKey("TestAsset");
oItem.DepreciationParameters.SetCurrentLine(0);
oItem.DepreciationParameters.FiscalYear = "FY1718";
oItem.DepreciationParameters.DepreciationType = "SMLITY";
int Update = oItem.Update();
Kind regards,
ANKIT CHAUHAN
SAP SME Support
Have you tried with the Changing or Closing Fiscal Year https://help.sap.com/saphelp_sbo882ao/helpdata/en/9c/3cd5318495466faf7b8954f2ea33dc/frameset.htm
Regards
Kennedy
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.