writeattach.exe

 3 Replies
 0 Subscribed to this topic
 53 Subscribed to this forum
Sort:
Author
Messages
wwaters
Basic Member
Posts: 11
Basic Member
I'm trying to do a jQuery post to writeattach.exe and I keep getting "Parent Record Not Found".  My understanding of writeattach is that it is supposed to ADD a comment record.  Can someone take a look at my URL and let me know if I have something constructed wrong?

http://server:port/cgi-lawson/writeattach.exe?_ANAM=BOC&_ATXT=TSTCMTWW&_OUT=XML&_PDL=LAWAPP9&_FN=OEORDCMNT&_IN=OOCSET1&K1=1&K2=&K3=&K4=2765981&K5=7&K6=1&_ATYP=C&_AUDT=A&_DATA=TRUE&_ATTR=TRUE&_AOBJ=TRUE&_OPM=M&_ECODE=FALSE
wwaters
Basic Member
Posts: 11
Basic Member

[CODE] http://server:port/cgi-lawson/writeattach.exe?_ANAM=BOC&_ATXT=TSTCMTWW&_OUT=XML&_PDL=LAWAPP9&_FN=OEORDCMNT&_IN=OOCSET1&K1=1&K2=&K3=&K4=2765981&K5=7&K6=1&_ATYP=C&_AUDT=A&_DATA=TRUE&_ATTR=TRUE&_AOBJ=TRUE&_OPM=M&_ECODE=FALSE[CODE]
David Williams
Veteran Member
Posts: 1127
Veteran Member
New Poster
New Poster
Congrats on posting!
I believe all of the key fields must have values.
David Williams
wwaters
Basic Member
Posts: 11
Basic Member
Had to issue an AGS POST to OE11.5 to add the "Parent Record" to file DBOEOOC then had to issue a GET to the writeattach utility to write the actual comment. Maybe I should have mentioned that these were order line comments that I am adding because comments seem to be handled differently for other applications.