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 :
Supply chain | Supply Chain Management, Commerce
Unanswered

Unable to update the PurchLine.RemainPurchPhysical using DMF import

(1) ShareShare
ReportReport
Posted on by 4

I’m facing an issue where the user should be able to update the PurchLine.RemainPurchPhysical and PurchLine.RemainInventPhysical fields through DMF using the PurchPurchaseOrderLine V2 entity.

 

We have already bypassed the field validation for both fields in the initializeEntityDataSource() method, but we are still unable to update the RemainPurchPhysical field on the purchase line during the DMF import.

I have the same question (0)
  • Martin Dráb Profile Picture
    238,782 Most Valuable Professional on at
    PurchPurchaseOrderLineV2Entity doesn't have any mapping for either RemainPurchPhysical or RemainInventPhysical. Do you mean that you're trying to add them by an extension?
     
    What have you found when you debugged your solution before asking here? For example, do you see the value in the staging table, in mapEnityToDataSource(), at the beginning of PurchLine.update()?
  • 22070449-0 Profile Picture
    4 on at
    Yes, you are right we have extended the field PurchPurchaseOrderLineV2Entity added those field in the extension,
    The values are updated on the staging table but not on the target table

     
  • Martin Dráb Profile Picture
    238,782 Most Valuable Professional on at
    All right, you'll need to do more work on debugging; you can't fix the problem unless you find where it is. My previous reply already gave you a few things to check.
     
    By the way, make sure that does you test import contains only those two fields (plus the entity key).
  • HardikPatel523 Profile Picture
    215 on at
    Hi,
    You can try the debugging steps Martin suggested and check where the update is getting blocked. 
    In parallel, I was just wondering about the business scenario behind updating RemainPurchPhysical and RemainInventPhysical through DMF. 
    Is this a specific business requirement to update them through the entity, or are you trying to correct some inconsistent/corrupted data?

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 1,070

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 238 Super User 2026 Season 1

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans