Skocz do zawartości

Import zamówień subiekt => sello

Polecane posty

Witam Forumowiczów,

 

Pierwszy raz korzystam z nowego forum, moje dane ze starego chyba się nie przeniosły. Ale do rzeczy:

Import zamówień z subiekta do sello miałem ustawiony od dawna i działał. Importowało zamówienia z konkretną kategorią. Czasami coś się blokowało (tzn. zamówienia się nie importowały), ale raz na parę miesięcy wystarczyło zmienić kategorię, i takie "odświeżenie" pomagała.

 

W zeszłym tygodniu zrobiłem shrinking bazy danych, żeby ja zoptymalizować, i od tego momentu zaczęły się problemy z importem. Nie pomagają żadne zmiany kategorii, nie bardzo wiem co juz zrobić.

 

Przy imporcie w pełnym logu sello pojawia się taki błąd:

 

InsERT_Driver: Importowanie dokumentów z systemu sprzedaży:
Tworzenie transakcji na podstawie zamówień:
Dodawanie klienta Sello na podstawie kontrahenta zewnętrznego:
Nie udało się zapisać klienta:
? Zapis spowodowałby naruszenie integralności danych.
Więcej informacji na ten temat w pomocy, w rozdziale "Problemy techniczne".
 (0x80040F1C)

 

Proszę o pomoc, jak można naprawić ten problem

 

PS. Dodam tylko, że w pomocy technicznej nic na ten temat nie ma, googlowałem również nr błędu, ale też nic nie wyrzuca

Edytowane przez bartoszsmf
Link to postu

Dzięki za "pierwszą pomoc" Wykonałem to zapytanie do którego kierował pkt 7.13a

 

Tutaj wynik. Załączam tez w CSV, co dalej robić?

 

Błąd dotyczy zapisu Klienta, ale w tych akurat tabelach nie ma X-a. Może inne wart się nie zgadzają.

 

Dodawanie klienta Sello na podstawie kontrahenta zewnętrznego:
Nie udało się zapisać klienta:
? Zapis spowodowałby naruszenie integralności danych

 

tableName    ido_wartosc    max_id    error
adr__Address    1742545    1742544    
au__Auction    33196    33194    
au_Allegro    33153    33151    
au_CategorySpecific    2081352    2081351    
au_DescriptionImage    9876    9875    
au_Ebay    1006    1005    
au_Enhancement    494890    494889    
au_Features    1436    NULL    
au_Note    1000    NULL    
au_Payment    653293    653292    
au_PendingChanges    414368    414367    
au_Picture    876104    876096    
au_Shipping    329037    329036    
au_TransactionProperty    1000    NULL    
cs__Customer    232631    232630    
cs_CustEmail    223449    223417    
cs_CustIM    1000    NULL    
cs_CustomerProp    5    NULL    
cs_CustPhone    252099    252067    
ds_DeliveryToShippingMap    1046    1045    
em__Email    1012556    1012555    
em_Account    1007    1006    
em_Attachment    1034    1033    
em_Rule    1000    NULL    
em_RuleWord    1000    NULL    
em_Source    1011481    1011480    
em_Template    1014    1013    
ep__Registration    2    3    X
ep_ExternalProgram    1    2    X
ep_UserMapping    1008    1007    
im__Image    38505    38504    
insx_Parametr    2    1    
it__Item    5923    5922    
it_AuctionTemplate    1000    NULL    
it_CustomAttributes    1000    NULL    
it_ExternalCustomAttributes    113552    113551    
it_ExternalCustomAttributesDict    1    36    X
it_ItemPictures    6483    6482    
it_ItemProp    5309    5308    
it_ItemSite    1005    NULL    
jb__Job    82182827    82182826    
jb_Message    171316903    171316902    
nm_IgnoredMessages    1198    1197    
nm_NotifierMessage    1167    1166    
nt_Note    182801    182800    
pb__PostBuyFormData    239009    239008    
pb_PostBuyFormTransaction    20887008    20887007    
pc__Package    257305    257304    
pc_History    664988    664987    
pc_Item    374919    374918    
pc_SendingList    14017    14016    
pc_SendingListPackage    353420    353419    
pd_UserPermission    3608    3607    
pf_Delivery    1085    1084    
pf_PrintForm    1005    1004    
pl_PricingListData    1857    1856    
reg__Registration    1014    1013    
reg_AfterSalesServiceConditions    1031    1030    
reg_Data    1132    1131    
reg_JournalDeals    6028725    6028724    
reg_Site    1030    1029    
rn_ReturnedNumber    1000    NULL    
sl_AuctionGroup    1001    1000    
sl_AuctionTemplateGroup    2    NULL    
sl_CommentTemplate    1011    1010    
sl_Currency    1001    1000    
sl_CurrencyBank    1    1    X
sl_CurrencyExchangeRates    1003    NULL    
sl_CurrencyExchangeRatesEntry    1004    NULL    
sl_CustomAttributes    1000    NULL    
sl_CustomCounter    1000    NULL    
sl_CustomerGroup    1009    1008    
sl_CustomGlobalAttributes    1000    NULL    
sl_CustProperty    1026    1025    
sl_Deliverer    1030    1029    
sl_Delivery    1067    1066    
sl_EmailGroup    1000    NULL    
sl_ExportType    1000    4    
sl_InstantMessenger    1000    3    
sl_ItemGroup    1337    1336    
sl_ItemProperty    1051    1050    
sl_Language    6    4    
sl_MsgTemplate    9    NULL    
sl_PackageSynchronizationParams    1035    1034    
sl_PricingList    1014    1013    
sl_SendingNumbersPool    1000    NULL    
sl_SendingNumbersPoolType    1000    3    
sl_TransProperty    1003    1002    
sl_User    1033    1032    
st__Site    1004    1003    
st_Category    175243    175242    
st_CategorySpecific    27368    27250    
st_SiteData    1003    1002    
tp__HtmlTemplate    1128    1127    
tp_Image    2843    NULL    
tr__Transaction    368210    368209    
tr_Comment    33557    33556    
tr_Group    115085    115084    
tr_Item    487429    487428    
tr_Property    1285    1284    
up_UserParams    1087    1086    
xcs_Szum    49    48    
xit_Szum    49    48    

 

 

wynik.csv

Edytowane przez bartoszsmf
Link to postu
  • 2 tygodnie później...
Krzysztof Skoczyk

Cześć,

"naruszenie integralności danych", poproszę o pomoc w naprawie identyfikatorów i  informacje czy pola NULL również są błędne.

Z góry dziękuję za szybką odpowiedź :)

 

1    adr__Address    1024194    1024193    
2    au__Auction    50802    50801    
3    au_Allegro    50799    50799    X
4    au_CategorySpecific    106510    106509    
5    au_DescriptionImage    38281    38280    
6    au_Ebay    1000    NULL    
7    au_Enhancement    197570    197569    
8    au_Features    1007    NULL    
9    au_Note    1000    NULL    
10    au_Payment    384489    384488    
11    au_PendingChanges    17882    17881    
12    au_Picture    67889    67888    
13    au_Shipping    397304    397303    
14    au_TransactionProperty    1000    NULL    
15    cs__Customer    127646    127645    
16    cs_CustEmail    126928    126927    
17    cs_CustIM    1000    NULL    
18    cs_CustomerProp    5    NULL    
19    cs_CustPhone    149618    149617    
20    ds_DeliveryToShippingMap    1013    1012    
21    em__Email    269356    269355    
22    em_Account    1005    1004    
23    em_Attachment    1025    NULL    
24    em_Rule    1000    NULL    
25    em_RuleWord    1000    NULL    
26    em_Source    268405    268404    
27    em_Template    1011    1009    
28    ep__Registration    2    3    X
29    ep_ExternalProgram    1    2    X
30    ep_UserMapping    1008    1007    
31    im__Image    13985    13984    
32    insx_Parametr    2    1    
33    it__Item    7924    7923    
34    it_AuctionTemplate    1000    NULL    
35    it_CustomAttributes    1000    NULL    
36    it_ExternalCustomAttributes    1    NULL    
37    it_ExternalCustomAttributesDict    1    NULL    
38    it_ItemPictures    13156    13155    
39    it_ItemProp    6916    6915    
40    it_ItemSite    1037    1036    
41    jb__Job    2599547    2599546    
42    jb_Message    6936667    6936666    
43    nm_IgnoredMessages    1004    NULL    
44    nm_NotifierMessage    1230    1229    
45    nt_Note    80099    80193    X
46    pb__PostBuyFormData    146374    146373    
47    pb_PostBuyFormTransaction    27390230    27390229    
48    pc__Package    144123    144122    
49    pc_History    303655    303654    
50    pc_Item    197046    197045    
51    pc_SendingList    2671    2670    
52    pc_SendingListPackage    37620    37619    
53    pd_UserPermission    1006    1005    
54    pf_Delivery    1018    1017    
55    pf_PrintForm    1005    1003    
56    pl_PricingListData    1605    1604    
57    reg__Registration    1003    1002    
58    reg_AfterSalesServiceConditions    1003    1002    
59    reg_Data    1042    1041    
60    reg_JournalDeals    9568387    9568386    
61    reg_Site    1017    1016    
62    rn_ReturnedNumber    1000    NULL    
63    sl_AuctionGroup    8    NULL    
64    sl_AuctionTemplateGroup    2    NULL    
65    sl_CommentTemplate    1011    1010    
66    sl_Currency    1007    1006    
67    sl_CurrencyBank    1    1    X
68    sl_CurrencyExchangeRates    1003    NULL    
69    sl_CurrencyExchangeRatesEntry    1004    NULL    
70    sl_CustomAttributes    1000    NULL    
71    sl_CustomCounter    1000    NULL    
72    sl_CustomerGroup    1001    1000    
73    sl_CustomGlobalAttributes    1000    NULL    
74    sl_CustProperty    22    NULL    
75    sl_Deliverer    1032    1031    
76    sl_Delivery    1067    1066    
77    sl_EmailGroup    1000    NULL    
78    sl_ExportType    1002    1001    
79    sl_InstantMessenger    1000    3    
80    sl_ItemGroup    1034    1033    
81    sl_ItemProperty    1142    1141    
82    sl_Language    6    4    
83    sl_MsgTemplate    9    NULL    
84    sl_PackageSynchronizationParams    1010    1009    
85    sl_PricingList    1027    1026    
86    sl_SendingNumbersPool    1000    NULL    
87    sl_SendingNumbersPoolType    1000    3    
88    sl_TransProperty    1007    1006    
89    sl_User    1001    1    
90    st__Site    1001    1000    
91    st_Category    157283    157282    
92    st_CategorySpecific    40768    40767    
93    st_SiteData    1000    NULL    
94    tp__HtmlTemplate    1128    1127    
95    tp_Image    2843    NULL    
96    tr__Transaction    210676    210675    
97    tr_Comment    48308    48307    
98    tr_Group    64159    64134    
99    tr_Item    280940    280939    
100    tr_Property    2434    2433    
101    up_UserParams    1019    1018    
102    xcs_Szum    49    48    
103    xit_Szum    49    48    

Link to postu
  • 3 miesiące temu...

Witam, mam to samo. Skrypt SQL zwraca poniższy komunikat:

  adr__Address 509647 509646  
  au__Auction 79574 79573  
  au_Allegro 79571 79570  
  au_CategorySpecific 3170222 3170221  
  au_DescriptionImage 1075    
  au_Ebay 1000    
  au_Enhancement 1082394 1082393  
  au_Features 1477    
  au_Note 1000    
  au_Payment 1617946 1617945  
  au_PendingChanges 18286 18285  
  au_Picture 1464718 1464717  
  au_Shipping 914994 914993  
  au_TransactionProperty 1007 1006  
  cs__Customer 82108 82107  
  cs_CustEmail 81895 81894  
  cs_CustIM 1000    
  cs_CustomerProp 5    
  cs_CustPhone 90323 90322  
  ds_DeliveryToShippingMap 1019 1018  
  em__Email 181098 181097  
  em_Account 1006 1005  
  em_Attachment 1099 1098  
  em_Rule 1000    
  em_RuleWord 1000    
  em_Source 180149 180148  
  em_Template 1017 1016  
  ep__Registration 2 3 X
  ep_ExternalProgram 1 2 X
  ep_UserMapping 1018 1017  
  im__Image 41254 41253  
  insx_Parametr 2 1  
  it__Item 14488 14487  
  it_AuctionTemplate 1000    
  it_CustomAttributes 1000    
  it_ExternalCustomAttributes 169929 169928  
  it_ExternalCustomAttributesDict 17 16  
  it_ItemPictures 30892 30891  
  it_ItemProp 58405 58404  
  it_ItemSite 1023 1022  
  jb__Job 1329599 1329598  
  jb_Message 4030827 4030824  
  nm_IgnoredMessages 1032    
  nm_NotifierMessage 1232 1231  
  nt_Note 47535 47534  
  pb__PostBuyFormData 75400 75399  
  pb_PostBuyFormTransaction 5990251 5990250  
  pc__Package 80670 80669  
  pc_History 182024 182023  
  pc_Item 93008 93007  
  pc_SendingList 7324 7323  
  pc_SendingListPackage 36056 36055  
  pd_UserPermission 1546 1545  
  pf_Delivery 1081 1079  
  pf_PrintForm 1020 1016  
  pl_PricingListData 1274 1273  
  reg__Registration 1004 1003  
  reg_AfterSalesServiceConditions 1006 1005  
  reg_Data 1049 1048  
  reg_JournalDeals 834471 834470  
  reg_Site 1018 1017  
  rn_ReturnedNumber 1397    
  sl_AuctionGroup 1006 1005  
  sl_AuctionTemplateGroup 1001 1000  
  sl_CommentTemplate 1013 1012  
  sl_Currency 1007 1006  
  sl_CurrencyBank 1 1 X
  sl_CurrencyExchangeRates 1003    
  sl_CurrencyExchangeRatesEntry 1004    
  sl_CustomAttributes 1000    
  sl_CustomCounter 1000    
  sl_CustomerGroup 1003 1002  
  sl_CustomGlobalAttributes 1000    
  sl_CustProperty 1003 1002  
  sl_Deliverer 1036 1035  
  sl_Delivery 1074 1073  
  sl_EmailGroup 1000    
  sl_ExportType 1000 4  
  sl_InstantMessenger 1000 3  
  sl_ItemGroup 1092 1091  
  sl_ItemProperty 2300 2299  
  sl_Language 6 4  
  sl_MsgTemplate 9    
  sl_PackageSynchronizationParams 1014 1013  
  sl_PricingList 1014 1013  
  sl_SendingNumbersPool 1005 1004  
  sl_SendingNumbersPoolType 1000 3  
  sl_TransProperty 1049 1048  
  sl_User 1012 1011  
  st__Site 1001 1000  
  st_Category 155047 155046  
  st_CategorySpecific 73968 73967  
  st_SiteData 1000    
  tp__HtmlTemplate 1129 1128  
  tp_Image 2843    
  tr__Transaction 95441 95440  
  tr_Comment 8188 8187  
  tr_Group 14299 14298  
  tr_Item 109271 109270  
  tr_Property 16069 16068  
  up_UserParams 1040 1039  
  xcs_Szum 49 48  
  xit_Szum 49 48  
Link to postu
  • 1 rok później...

Witam, mam ten sam problem:

  adr__Address 676508 676507  
  au__Auction 83890 83889  
  au_Allegro 83886 83885  
  au_CategorySpecific 4524018 4524017  
  au_DescriptionImage 1075    
  au_Ebay 1000    
  au_Enhancement 3488424 3488423  
  au_Features 1561 1560  
  au_Note 1000    
  au_Payment 4772363    
  au_PendingChanges 45542 45541  
  au_Picture 2611555 2611554  
  au_Shipping 1069684 1069683  
  au_TransactionProperty 1008 1006  
  cs__Customer 107147 107145  
  cs_CustEmail 107416 107414  
  cs_CustIM 1000    
  cs_CustomerProp 5    
  cs_CustPhone 118188 118186  
  ds_DeliveryToShippingMap 1072 1071  
  em__Email 232314 232313  
  em_Account 1009 1008  
  em_Attachment 1102 1101  
  em_Rule 1000    
  em_RuleWord 1000    
  em_Source 231365 231364  
  em_Template 1018 1017  
  ep__Registration 2 3 X
  ep_ExternalProgram 1 2 X
  ep_UserMapping 1020 1019  
  im__Image 64111 64110  
  insx_Parametr 2 1  
  it__Item 17024 17023  
  it_AuctionTemplate 1000    
  it_CustomAttributes 1000    
  it_ExternalCustomAttributes 610370 610369  
  it_ExternalCustomAttributesDict 53 52  
  it_ItemPictures 45158 45157  
  it_ItemProp 92729 92728  
  it_ItemSite 1024 1023  
  jb__Job 4141712 4141711  
  jb_Message 10964506 10964505  
  nm_IgnoredMessages 1036    
  nm_NotifierMessage 1277 1269  
  nt_Note 74143 74142  
  pb__PostBuyFormData 98144 98143  
  pb_PostBuyFormTransaction 7108261 7108260  
  pc__Package 109103 109102  
  pc_History 251548 251547  
  pc_Item 126941 126940  
  pc_SendingList 7675 7674  
  pc_SendingListPackage 36755 36754  
  pd_UserPermission 1812 1811  
  pf_Delivery 1402 1401  
  pf_PrintForm 1020 1016  
  pl_PricingListData 2572 2571  
  reg__Registration 1006 1005  
  reg_AfterSalesServiceConditions 1012 1011  
  reg_Data 1061 1060  
  reg_JournalDeals 3230842 3230841  
  reg_Site 1020 1019  
  rn_ReturnedNumber 1460    
  sl_AuctionGroup 1009 1008  
  sl_AuctionTemplateGroup 1001 1000  
  sl_CommentTemplate 1013 1012  
  sl_Currency 1008 1007  
  sl_CurrencyBank 1 1 X
  sl_CurrencyExchangeRates 1003    
  sl_CurrencyExchangeRatesEntry 1004    
  sl_CustomAttributes 1000    
  sl_CustomCounter 1000 2  
  sl_CustomerGroup 1004 1003  
  sl_CustomGlobalAttributes 1000    
  sl_CustProperty 1006 1005  
  sl_Deliverer 1036 1035  
  sl_Delivery 1077 1076  
  sl_EmailGroup 1000    
  sl_ExportType 1000 4  
  sl_InstantMessenger 1000 3  
  sl_ItemGroup 1099 1098  
  sl_ItemProperty 2471 2470  
  sl_Language 6 4  
  sl_MsgTemplate 9    
  sl_PackageSynchronizationParams 1195 1194  
  sl_PricingList 1027 1026  
  sl_SendingNumbersPool 1005 1004  
  sl_SendingNumbersPoolType 1000 3  
  sl_TransProperty 1060 1059  
  sl_User 1016 1015  
  st__Site 1001 1000  
  st_Category 158039 158038  
  st_CategorySpecific 81314 81313  
  st_Shipping 100100237 100100236  
  st_SiteData 1000    
  tp__HtmlTemplate 1129 1128  
  tp_Image 2843    
  tr__Transaction 128305 128304  
  tr_Comment 8188 8187  
  tr_Group 17458 17457  
  tr_Item 144456 144455  
  tr_Property 48340 48339  
  up_UserParams 1061 1060  
  xcs_Szum 49 48  
  xit_Szum 49 48  
Link to postu
10 godzin temu, 4S_ MARKET napisał:

Sello samo naprawi CI problemy wystarczy kliknąć

image.thumb.png.1170a1c3be4a44468c3ff1bfd64816a3.png

niestety kliknięcie w ten przycisk nic nie daje, niby trawa wyszukiwanie problemów ale chyba ich nie znajduje bo po około 5-10 sekundach okienko znika.

Cały czas sello zwraca ten błąd:

InsERT_Driver: Importowanie dokumentów z systemu sprzedaży:
Tworzenie transakcji na podstawie zamówień:
Dodawanie klienta Sello na podstawie kontrahenta zewnętrznego:
Nie udało się zapisać klienta:
? Zapis spowodowałby naruszenie integralności danych.
Więcej informacji na ten temat w pomocy, w rozdziale "Problemy techniczne".
 (0x80040F1C)

Link to postu

Najwyraźniej to nie jest problem spowodowany usterkami analizowanymi przez Sello.

Czy wiadomo którego to kontrahenta dotyczy? Można przeanalizować czy w danych adresowych nie ma podejrzanych znaków, pousuwać ewentualnie końcówki wyrazów z danych adresowych (nawet jeśli tam nic nie widać w okienku), lub przepisać je na nowo ręcznie usuwając całą zawartość.

Link to postu

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.
Uwaga: Twój wpis zanim będzie widoczny, będzie wymagał zatwierdzenia moderatora.

Użytkownik forum
Odpowiedz...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

×
×
  • Dodaj nową pozycję...