Skip to main content
Solved

Deleting Details from Expense Claims and Journal Transactions


Forum|alt.badge.img

Hi all,

Via the Rest API, is there a standard way to delete just the line items on Journal Transactions or Expense Claims? If you pass in an item in the Details param, it will add to the Details which makes sense. I’d like to avoid completely deleting the old transaction / claim then making a new one.

 

Thanks for your help!

Best answer by Dmitrii Naumov

@ryanmiter  there is “delete” field on each detail object. If you pass it as true, it’ll delete the detail. 

View original
Did this topic help you find an answer to your question?

4 replies

Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • 629 replies
  • Answer
  • June 26, 2024

@ryanmiter  there is “delete” field on each detail object. If you pass it as true, it’ll delete the detail. 


Forum|alt.badge.img
  • Author
  • Freshman I
  • 10 replies
  • June 26, 2024

Got it - thank you!


Forum|alt.badge.img
  • Author
  • Freshman I
  • 10 replies
  • June 27, 2024

Hey Dmitrii - is that field only on a certain API version? I’m looking at the Web Services Endpoints screen and don’t see “Delete” in there on API version 22.200.001


Forum|alt.badge.img
  • Author
  • Freshman I
  • 10 replies
  • June 28, 2024

Actually I think I’ve figured this out - this isn’t a typical object field, we have to pass it in like this:

{
  "id": "862bb93c-d734-ef11-8435-0eb71309dd15",
  "delete": true
}

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings