Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
6291 Представления

I have created a model with a parent-child relation and i want to import a csv file, i tried with external id option but i have an error when i try to validate the csv file: No matching records found for external id '1' in the 'Cuentas' field between rows 2 and 2189

I dont know if is possible to import this kind of relation, the csv have several fields but the most important are:

Date, Name, cuentas/codigo, cuentas/external id, cuentas/parent_id/external id, cuentas/nombre
2016-01-12, Clasificador. 2016/01/12, 1, 1, , INGRESOS CORRIENTES
,,1.1, 11, 1, IMPUESTOS
,,1.1.01, 1101, 11, "Sobre la Renta, Utilidades y Ganancias de Capital"

As you can see there are 2 models with a relation master-detail and the relation parent-child is on the detail. How can i do to import sucessfully all relations on the models?.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
апр. 16
3980
1
мар. 15
4971
0
мар. 24
865
0
янв. 19
4774
fetch parent_id Решено
1
нояб. 22
2896