I'm working on import bank statement in excel format by clicking on a button. I extended BankStatementTable form and create class BankStatementLineImport which contains the code where this error is coming from. Please I need your help. Thanks.
I have resolved the issue. One of the third party enum package(SourceDocumentationTypes) was not referenced. So I updated my model and that solved the problem.
One more error on your code is "cashBalance.AmountCreditDebitIndicator = DebitCredit::Debit" and "cashBalance.AmountCreditDebitIndicator = DebitCredit::Credit".
This both field assignment has errors. What is the data type for AmountCreditDebitIndicator - Check whether the data type mapped in the table are same as you used in the code.
Also after updating model parameters refresh the models >> Extension >. Dynamics 365 >> Model management >. Refresh models.
Also instead of project build try doing Dynamics 365 >> Build models >> Select your model and the do build with synch.
Thanks,
Girish S.
You can try closing and re-opening Visual studio. If still issues then build your custom model with references.
Hi Girish,
Yes, my custom model is referencing Application Suite.
Hi, Please check this article and add 'ApplicationSuite' reference in 'Requisition' model.
Hi,
"BankStatementAmountDrCrIndicator" EDT belongs to Application suite model. Does your custom model refer Application Suite?
Thanks,
Girish S.
André Arnaud de Cal...
292,074
Super User 2025 Season 1
Martin Dráb
230,900
Most Valuable Professional
nmaenpaa
101,156