Announcements
No record found.
Hi,
A couple of things you can check:
SalesCRMTransactionTable
SalesCRMTransactionStatus
TransactionId
str transactionId = NumberSeq::newGetNum(smmParametersTable::numRefCRMIntegrationId());
statusTable.TransactionId = transactionId;
This way you’ll know if the issue is with ID generation itself or just with propagating it to the child table. Hope it helps ;) and let me know if you need more help! Saalim.
The error you're encountering—"The column TRANSACTIONID in entity Sales CRM Transaction Table has incorrect data"—suggests that the TransactionId is either not being generated correctly or not being passed consistently between the parent and child data sources during the DMF import.
insertEntityDataSource()
SalesCRMTransactionTable_XXX
SalesCRMTransactionStatus_XXX
Store the generated TransactionId in a class-level variable: Ensure that the TransactionId generated in the parent is stored and reused for the child. For example:
private str generatedTransactionId; public boolean insertEntityDataSource(DataEntityRuntimeContext _entityCtx, DataEntityDataSourceRuntimeContext _dataSourceCtx) { switch (_dataSourceCtx.name()) { case dataentitydatasourcestr(SalesCRMTransactionEntity SalesCRMTransactionTable_XXX): headerLine = _dataSourceCtx.getBuffer(); generatedTransactionId = NumberSeq::newGetNum(smmParametersTable::numRefCRMIntegration); headerLine.TransactionId = generatedTransactionId; headerLine.TransactionDate = DateTimeUtil::utcNow(); break; case dataentitydatasourcestr(SalesCRMTransactionEntity SalesCRMTransactionStatus_XXX): statusTable = _dataSourceCtx.getBuffer(); statusTable.retrycount = 0; statusTable.TransactionId = generatedTransactionId; break; } return super(_entityCtx, _dataSourceCtx); }
Validate the sequence setup: Make sure smmParametersTable::numRefCRMIntegration is correctly configured and active.
smmParametersTable::numRefCRMIntegration
Check the data entity relationships: Confirm that the inner join between the parent and child is correctly defined in the data entity and that the TransactionId is marked as a key field in both.
Test with a small dataset: Try importing a minimal set of records to verify that the TransactionId is correctly generated and propagated.
This approach should ensure that both tables receive the same TransactionId during import, resolving the staging error.
Thanks and best regards,\ Daniele\ Note: This response was prepared with support from Copilot to ensure clarity and completeness.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 608
André Arnaud de Cal... 591 Super User 2026 Season 1
CP04-islander 430