Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Econnect and the UpdateIfExisting Parameter

(0) ShareShare
ReportReport
Posted on by 90

I have something odd happening with a custom xml.  

I have an object called ibsCreateItemVendors.  One of the properties is a public short UpdateIfExists {get; set;}.

if I leave this property uncommented, when I call the CreateEntity method, I get a "cannot convert string to booean" error.  

Apparently it has nothing to do with my sql proc as the profiler doesn't show the proc even being called.  I'd like to utilize this variable for consistency's sake in my sql code to update records like the standard econnect nodes.

Any ideas?

*This post is locked for comments

  • Verified answer
    GovindDevda Profile Picture
    617 on at
    RE: Econnect and the UpdateIfExisting Parameter

    Hey Greg if you pass UpdateIfExists = 1 (Means that transaction is update into GP ) and 0 means not update. UpdateIfExists  facility not provide all nodes in econnect.

    and we talking about custom xml no Greg it's not possible because eConnect node already pre-define field property that fields only you pass in eConnect CreateEntity method .

    if you have any other issue please let me know Greg.

    Hope this helpfull for you !!!

    Regards,

    Govind Devda

  • Greg Kowieski Profile Picture
    90 on at
    RE: Econnect and the UpdateIfExisting Parameter

    Thanks for taking the time to help.  What if I want my value to be zero meaning perform the anti of what the 1 does?

    It seems like the UpdateIfExists may be a key word for econnect and perhaps we shouldn't include it in our custom code.  Have you been able to utilize the property in your own custom xml?

  • GovindDevda Profile Picture
    617 on at
    RE: Econnect and the UpdateIfExisting Parameter

    pass the 1 value in UpdateIfExists field.

    Regards

    Govind Devda

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