Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

Update default dimension on purchase order from markup

(0) ShareShare
ReportReport
Posted on by
Hello,
I have added custom DefaultDimension field in MarkupTable.
If the user adds a markup record on a purchase order header, then the custom default dimension needs to be applied as the purchase order default dimension.
I had overriden the method calculateDefaultDimension() in the class ChargeSourceDocLineItem (the original method is found in parent class SourceDocLineItem).
It used to work perfectly until recently, it has stopped working. The logic does not get triggered at all.
Is there any other approach to do this?
Also, what is the true purpose of the ChargeSourceDocLineItem class?
I could not find any documentation online.
I had developed this back in 2022. I feel that maybe something has changed with this standard D365FO logic since the recent updates.

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…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,971 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,846 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans