I modified my csv file as you told me but it didn't work.
On the attached file you can see db rows that i need to update and two differences csv file that i used to update depreciation type field and useful life field.
This is my itm7 table
ItemCode | PeriodCat | DprArea | VisOrder | DprStart | DprEnd | UsefulLife | RemainLife | DprType | DprTypeC | UsefulLfeC | LogInstanc | ObjType | RemainDays |
CSP00311 | 2013 | FISC | 0 | 2012-01-01 00:00:00.000 | 2016-12-31 00:00:00.000 | 60 | 48.000000 | LIN20 | NULL | NULL | 0 | 4 | 1461.000000 |
CSP00311 | 2014 | FISC | 0 | 2012-01-01 00:00:00.000 | 2016-12-31 00:00:00.000 | 60 | 36.000000 | LIN20 | NULL | NULL | 0 | 4 | 1096.000000 |
CSP00311 | 2015 | FISC | 0 | 2012-01-01 00:00:00.000 | 2016-12-31 00:00:00.000 | 60 | 24.000000 | LIN20 | NULL | NULL | 0 | 4 | 731.000000 |
CSP00311 | 2016_0103 | FISC | 0 | 2012-01-01 00:00:00.000 | 2016-12-31 00:00:00.000 | 60 | 12.000000 | LIN20 | NULL | NULL | 0 | 4 | 366.000000 |
I need to change the depreciation type and, some times, the useful life both fields only for 2016_0103 period.
This is my itm7 file for dtw.
ParentKey | LineNum | FiscalYear | DepreciationArea | DepreciationStartDate | UsefulLife | DepreciationType | |
ItemCode | LineNum | PeriodCat | DprArea | DprStart | UsefulLife | DprType | |
CSP00311 | 0 | 2016_0103 | FISC | LIN20-4 |
i obtain this error
I changed file into this one
ParentKey | LineNum | FiscalYear | DepreciationArea | DepreciationStartDate | UsefulLife | DepreciationType |
ItemCode | LineNum | PeriodCat | DprArea | DprStart | UsefulLife | DprType |
CSP00311 | 4 | 2016_0103 | FISC | 20160101 | 60 | LIN20-4 |