Jerry,
Thanks for the response.
It also does the SNDDTAQ for DQJUC and DQJUA.
How are you sending those?
Sorry, I do not know anything about these.
How are you deriving the transaction seq #?
If you are referring to the turnaround number, I call an AS400 program
that returns this number.
Then I run this SQL:
transactionsqlstring = "Insert Into " + AS400LibraryStringsV5.
MAPICSTRANSATION + ".trdata" +
"(trnno,acrec,badge,ordno,iploc,itnbr,rjqty,trqty,vrqty,reasn,refno,aploc,rqloc,"
+
"rqwhs,trfmt,tdate,ttime,vendr,linsq,wsid,apcod,crwyn,enstn,entum,hdept,llocn,lplid,lpqc1,apwhs,parnt,"
+
"shftc,tstat,grni,acrecp,ctlid,queue,lgwno,lbhno,blksq,twhse,tramt,tlocn)"
+
" Values(" + ntransindex.getNexttransactionindex() + ",'Y'" +
",'" + user.getUserbadgenumber() +
"','" + sidoc.getSiDocumentNumber() +
"','" + poitem.getPoitemhouse() + "','" + sidoc.getSiPartNumber() +
"',0," + trqty +
",0,'','AUTOTW','','','','" + trfmt +
"'," + cDate.getcDateMapics() +
"," + cDate.getcDateMapics_Time() +
",'" + item.getVendorcode() +
"',0,'AUTOTW','I','N',0,'" + item.getUnit_of_measure() + "','" +
user.getUserdepartmentnumber() +
"','" + llocn + "','3','9','',1," + user.getUsershift() +
",2,0,'','*',1,''" +
",''," + transactionvalidation.getBlksq() + ",'" + poitem.getPoitemhouse()
+ "'," + trqty + ",'" + aploc + "')";
I call an AS400 program that fires an immediate process routine.
Sincerely
ZODIAC SEATS US
SEATS
Steve Dyke
APPLICATION SUPORT SPEC
2000 Weber Drive - Gainesville - TX - 76240 - USA
Tel: +19406685765 - Cell: +19407279316 - Fax: +19406684842
Steve.Dyke@xxxxxxxxxxxxxxxxxxx
http://www.zodiacaerospace.com
From: "(WalzCraft) Jerry Forss" <JForss@xxxxxxxxxxxxx>
To: "mapics-l@xxxxxxxxxxxx" <mapics-l@xxxxxxxxxxxx>
Date: 05/02/2018 11:50 AM
Subject: Re: [MAPICS-L] Help With Programatic TW Transaction
Sent by: "MAPICS-L" <mapics-l-bounces@xxxxxxxxxxxx>
Hi Steve,
I create TW transactions all the time from an application using handheld
scanners. It is through RPG but should not be any different using SQL.
It also does the SNDDTAQ for DQJUC and DQJUA.
How are you sending those?
This always creates all 3 transactions.
How are you deriving the transaction seq #?
I guess verify that ALL fields match doing it manually vs SQL.
XA can be very picky.
Jerry
-----Original Message-----
From: MAPICS-L [mailto:mapics-l-bounces@xxxxxxxxxxxx] On Behalf Of
Steve.Dyke@xxxxxxxxxxxxxxxxxxx
Sent: Wednesday, May 2, 2018 10:26 AM
To: mapics-l@xxxxxxxxxxxx
Subject: [MAPICS-L] Help With Programatic TW Transaction
I am writing SQL code to the trdata file do a TW transaction.
The idea is to move the itme(s) stock location from QC01 to QC91 for
example.
Every thing is working except the stock location in the slqnty file is not
updating.
If we do it manually it all works. One note: the manual process creates an
IW and RW transaction along with the TW. Only the TW gets created when
done thru trdata file using the SQL code.
Sincerely
ZODIAC SEATS US
SEATS
Steve Dyke
APPLICATION SUPORT SPEC
2000 Weber Drive - Gainesville - TX - 76240 - USA
Tel: +19406685765 - Cell: +19407279316 - Fax: +19406684842
Steve.Dyke@xxxxxxxxxxxxxxxxxxx
http://www.zodiacaerospace.com
--
This is the MAPICS ERP System Discussion (MAPICS-L) mailing list To post a
message email: MAPICS-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change
list options,
visit:
https://lists.midrange.com/mailman/listinfo/mapics-l
or email: MAPICS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/mapics-l.
Subject to Change Notice:
WalzCraft reserves the right to improve designs, and to change
specifications without notice.
Confidentiality Notice:
This message and any attachments may contain confidential and privileged
information that is protected by law. The information contained herein is
transmitted for the sole use of the intended recipient(s) and should
"only" pertain to "WalzCraft" company matters. If you are not the intended
recipient or designated agent of the recipient of such information, you
are hereby notified that any use, dissemination, copying or retention of
this email or the information contained herein is strictly prohibited and
may subject you to penalties under federal and/or state law. If you
received this email in error, please notify the sender immediately and
permanently delete this email. Thank You
WalzCraft PO Box 1748 La Crosse, WI, 54602-1748
www.walzcraft.com<
http://www.walzcraft.com> Phone: 1-800-237-1326
As an Amazon Associate we earn from qualifying purchases.