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

Notifications

Announcements

No record found.

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 157

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

I have the same question (0)
  • GovindDevda Profile Picture
    617 on at

    pass the 1 value in UpdateIfExists field.

    Regards

    Govind Devda

  • Greg Kowieski Profile Picture
    157 on at

    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?

  • Verified answer
    GovindDevda Profile Picture
    617 on at

    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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans