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

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / Data management import...
Finance forum

Data management import does not update cash discount

(0) ShareShare
ReportReport
Posted on by 37

Hi,

I have a data management project where I import different values to General journals. One value that is imported is cash discount code, but in the journal the value for Cash discount amount does not update unless I click on "Save". I would like it to update automatically but I have not figured out how. Does anyone have an idea how to do this? 

I have the same question (0)
  • Rebecka21 Profile Picture
    37 on at
    RE: Data management import does not update cash discount

    Hi,

    Thanks for the reply.

    I used UpdateCashDiscount, which made it update correctly. Maybe the way you are suggesting is a faster one.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Data management import does not update cash discount

    Hi Rebecka, is your issue still persist?

    For "Cash discount code" field in the "General journals" entity, you need to do small customization for that field.

    AOT name for "General journals" entity is LedgerJournalEntity.

    You need to add "Cash discount code" field in method :

    1. UpdateExistingJournalLines : In the update_recordset statement, you need to add that missing field

    2. CreateJournalLines : in the insert_recordset statement, you need to add that missing field

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans