Sign Up Now!Log In
mk3000 5/10/2018 10:35:06 AM

eConnect taPoHdr Node

When using taPoHdr to change the PO status, the update behavior is different for certain statuses.  For example,using a fresh purchase order, status 1 (New), if I send a 6 (Canceled), the method updates both the header and lines statues to 6.  However, when I send 2 (Released) it only updates the header and not the lines.  Is this by design or am I missing something?

Please see code snippet below:

taPoHdr = new taPoHdr
VENDORID = Vendor,
POSTATUS = (short)POStatus,
POSTATUSSpecified = true,
UpdateIfExists = 1

Version: All
Section: .NET Development, Dynamics GP, eConnect, Web Services