Hello,
I wanted to connect M-Files with my accounting system (based on Firebird database) in order to import / add purchase invoices. I have created Object Type - purchase invoice and connected it to the external database.
When I try to add new purchase invoice in M-Files, I get the following info:
MPropertyPage2.cpp, 102, Creating a new object failed. (0x80040419)
MPropertySheet2.cpp, 143, Creating a new object failed. (0x80040419)
PropertySheetObject.cpp, 3253, Creating a new object failed. (0x80040419)
PropertySheetObject.cpp, 3253, Adding to the external database failed. (0x800400D2)
PropertySheetObject.cpp, 3560, Adding to the external database failed. (0x800400D2)
CoVaultMountingDocumentOperations.cpp, 214, Adding to the external database failed. (0x800400D2)
CoVaultMountingDocumentOperations.cpp, 324, Adding to the external database failed. (0x800400D2)
DocumentCache.cpp, 4705, Adding to the external database failed. (0x800400D2)
DocumentCache.cpp, 4772, Adding to the external database failed. (0x800400D2)
DocumentCache.cpp, 4915, Adding to the external database failed. (0x800400D2)
RPCDocumentOperations.cpp, 117, Adding to the external database failed. (0x800400D2)
RPCDocumentOperationsHelper.cpp, 1696, Adding to the external database failed. (0x800400D2)
RPCDocumentOperationsHelper.cpp, 1874, Adding to the external database failed. (0x800400D2)
RPCDocumentOperationsHelper.cpp, 21816, Adding to the external database failed. (0x800400D2)
RPCDocumentOperationsHelper.cpp, 8065, Adding to the external database failed. (0x800400D2)
RPCDocumentOperationsHelper.cpp, 8146, Adding to the external database failed. (0x800400D2)
RefreshExternalObjects.cpp, 1318, Adding to the external database failed. (0x800400D2)
RefreshExternalObjects.cpp, 1318, Unspecified error. (Execute SQL statement failed.
attempt to store duplicate value (visible to active transactions) in unique index "IX_DOC_OT_EXTIDSTATUS_EXTID" (ERROR: 335544349, SQLSTATE: 23000)) (0x80004005)
RefreshExternalObjects.cpp, 2836, Unspecified error. (Execute SQL statement failed.
attempt to store duplicate value (visible to active transactions) in unique index "IX_DOC_OT_EXTIDSTATUS_EXTID" (ERROR: 335544349, SQLSTATE: 23000)) (0x80004005)
RefreshExternalObjects.cpp, 1479, Unspecified error. (Execute SQL statement failed.
attempt to store duplicate value (visible to active transactions) in unique index "IX_DOC_OT_EXTIDSTATUS_EXTID" (ERROR: 335544349, SQLSTATE: 23000)) (0x80004005)
SQLHelper.cpp, 2915, Unspecified error. (Execute SQL statement failed.
attempt to store duplicate value (visible to active transactions) in unique index "IX_DOC_OT_EXTIDSTATUS_EXTID" (ERROR: 335544349, SQLSTATE: 23000)) (0x80004005)
SQLHelper.cpp, 4647, Unspecified error. (Execute SQL statement failed.
attempt to store duplicate value (visible to active transactions) in unique index "IX_DOC_OT_EXTIDSTATUS_EXTID" (ERROR: 335544349, SQLSTATE: 23000)) (0x80004005)
SQLHelper.cpp, 2914, Unspecified error. (Execute SQL statement failed.
attempt to store duplicate value (visible to active transactions) in unique index "IX_DOC_OT_EXTIDSTATUS_EXTID" (ERROR: 335544349, SQLSTATE: 23000)) (0x80004005)
(M-Files 9.0.3372.6)
Any ideas what went wrong and how to solve it?
I have also connected "Deliverers" to the same accounting system and it works fine.
Karolina
