تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2209 أدوات العرض

I have exported my inventory to update some items such as cost.  When I reimport it it created duplicate part numbers. Fortunately I tried it on a test db first.  How can I get the db to update existing parts (unique internal reference number) and not create duplicates.

الصورة الرمزية
إهمال
الكاتب

If all I do is export then reimport the same file with no changes I get this error as well:

Unknown error during import: <class 'binascii.Error'>: Incorrect padding at row 2 (Channel, Stiffner FC510-LT)
Resolve other errors first

There are no other errors.

الكاتب

Second Update It is not updating because I did not set the ID field, just the Internal reference. I do not see where to display the ID field either on the form nor in studio to add it. How an I add the ID field to the forms?

الكاتب

3rd Update Solved: You have to add the ID column in the list view before exporting using studio. That way the ID gets exported so it has a reference on the import.

الكاتب أفضل إجابة

In the comments

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
سبتمبر 25
250
1
أغسطس 25
1921
0
فبراير 25
1768
1
فبراير 24
2809
1
يناير 24
2206