web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

no x++ source for classes\xrecord\delete because it is a kernel call

(0) ShareShare
ReportReport
Posted on by 10,280

Plz help as when i try to delete a record from AIF service, an error occurred but when i try to delete it from Ledger journal table form, it works charming.

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    304,500 Super User 2026 Season 1 on at

    Hi Codehunter,

    Can you share what exactly you did implement to be able to delete a record using an AIF service? From what table? (LedgerJournalTable?) What exact error message do you get and on what place?

  • Codehunter Profile Picture
    10,280 on at

    Hi Andre,

    When I try to call delete() method from table ledger journal table , an error occurred " can't delete the record of ledger journal table. The operation can't be completed" . However, I succeeded in deleting it from ledger journal form itself so plz advise. Besides, there is no customization added in the delete method as it is the foundation layer of AX.

  • André Arnaud de Calavon Profile Picture
    304,500 Super User 2026 Season 1 on at

    Hi Codehunter,

    I do assume the service is running with a specific account. Has this account proper permissions to delete the record?

  • Codehunter Profile Picture
    10,280 on at

    Yes, I can delete it from AX directly so I bet that I have permission to do so.

  • Codehunter Profile Picture
    10,280 on at

    Plz anybody help 

  • Codehunter Profile Picture
    10,280 on at

    Please help.

  • André Arnaud de Calavon Profile Picture
    304,500 Super User 2026 Season 1 on at

    Hi Codehunter,

    Which credentials are used for the service? Are these the same as your own credentials? Or is the service running with another account?

  • Codehunter Profile Picture
    10,280 on at

    axadmin credentials.

  • Codehunter Profile Picture
    10,280 on at

    Hi Andre,

    it is axadmin credentials so the service is running with the same account.

  • André Arnaud de Calavon Profile Picture
    304,500 Super User 2026 Season 1 on at

    Hi Codehunter,

    Can you share the exact coding you have used and a screenshot of the error?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 632 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 624

#3
CP04-islander Profile Picture

CP04-islander 301

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans