Search the GP Tables
Search by TABLE NAME
Search by FIELD NAME
These are our SOP scripts. All of our scripts for Dynamics GP can be found here

Table Edits Forum Articles
Table Edits 0 Table Edits 0 Table Edits 0
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

Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables