Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Sales Order - change UpdateIfExist flag value

(0) ShareShare
ReportReport
Posted on by 390

I want to insert a Sales Order from .NET and i get

A validation exception has occurred. Validation Errors: - Duplicate SalesDocumentKey. If adding or updating lines to an existing document, UpdateIfExists must equal 1

I am not using XML, there you can set this flag simple, i am creating a customer but i dont have this flag as a property. And i dont know where to set it.

How to change this flas value?

Thanks!

*This post is locked for comments

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Almas Mahfooz Profile Picture

Almas Mahfooz 3 User Group Leader

Featured topics

Product updates

Dynamics 365 release plans