Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1072 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Tác giả

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?

Tác giả

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.

Tác giả Câu trả lời hay nhất

In the comments

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 7 25
179
0
thg 2 25
577
1
thg 2 24
1393
1
thg 1 24
950
0
thg 8 23
988