Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

the name "BankStatementAmountDrIndicator" does not denote a class, a table, or an extended data type

(0) ShareShare
ReportReport
Posted on by 70

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.

importexcel.jpg

  • ccobasi Profile Picture
    ccobasi 70 on at
    RE: the name "BankStatementAmountDrIndicator" does not denote a class, a table, or an extended data type

    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.

  • GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: the name "BankStatementAmountDrIndicator" does not denote a class, a table, or an extended data type

    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.

  • Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    RE: the name "BankStatementAmountDrIndicator" does not denote a class, a table, or an extended data type

    You can try closing and re-opening Visual studio. If still issues then build your custom model with references.

  • ccobasi Profile Picture
    ccobasi 70 on at
    RE: the name "BankStatementAmountDrIndicator" does not denote a class, a table, or an extended data type

    Hi Girish,

    Yes, my custom model is referencing Application Suite.

  • Suggested answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    RE: the name "BankStatementAmountDrIndicator" does not denote a class, a table, or an extended data type

    Hi, Please check this article and add 'ApplicationSuite' reference in 'Requisition' model.

    dynamics365musings.com/.../

  • Suggested answer
    GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: the name "BankStatementAmountDrIndicator" does not denote a class, a table, or an extended data type

    Hi,

    "BankStatementAmountDrCrIndicator" EDT belongs to Application suite model. Does your custom model refer Application Suite?

    Thanks,

    Girish S.

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.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,074 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,900 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans