Hi,
The warehouse has an embedded blank in what you sent.
-----Original Message-----
From: MAPICS-L [mailto:mapics-l-bounces@xxxxxxxxxxxx] On Behalf Of Morrison, Doug
Sent: Thursday, December 24, 2015 10:04 AM
To: MAPICS ERP System Discussion
Subject: Re: [MAPICS-L] SystemLink RPG
I have finally been able to get a little time to work on this system-link program. I have a working program based on the examples you provided. I truly appreciate everyone's help. When I run the program it builds the request (I thought correctly) calls the LPI and gets back a response. In the response it list the error <Exception name="java.util.NoSuchElementException">. How do I figure out what this message is really telling me?
Here is the request:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE System-Link SYSTEM "SystemLinkRequest.dtd"> <System-Li
nk> <Login userId="UUUUUUUUUU" password="PPPPPPPPPP" maxIdle="900000"
nk> properties="com.pjx.cas.domain.EnvironmentId="ND" com.pjx.cas.dom
ain.SystemName="T105LZFM.SIMONDS.CC" com.pjx.cas.user.LanguageId=en"/> <Request sessionHandle="*current" workHandle="*new" broker="E JB" maxIdle="1000"> <Delete name="ITEMBL" domainClass="com.mapics.epdm.ItemWarehouse"> <DomainEntity> <Key> <Property path="warehous e"> <Value><![CDATA[CS9]]></Value> </Property> <Property path="item"> <Value><![CDATA[24372]]></Value> </Property> </Key> </DomainEn
tity> </Delete> </Request> <Logout sessionHandle="*current"/> </System-Link>
Here is the response:
<?xml version="1.0" encoding="UTF-8"?><System-Link> <Exception name="java.util.NoSuchElementException
"> <Text> <![CDATA[null]]> </Text> <Message type="error"> <Text> <![CDATA[java.util.NoSuchElementExc
eptionat java.util.StringTokenizer.nextToken(StringTokenizer.java:188)at com.pjx.xsaa.entry.BaseProcessor.extractEnvironment(Bas
eProcessor.java:1000)at com.pjx.xsaa.entry.BaseProcessor.handleRequest(BaseProcessor.java:396)at com.pjx.xsaa.entry.BaseProcesso r.handleRequest(BaseProcessor.java:633)at com.pjx.xsaa.entry.eScriptLPI.handleRequest(eScriptLPI.java:160)at com.pjx.xsaa.entry.
eScriptLPI.handleRequest(eScriptLPI.java:78)at com.pjx.xsaa.entry.eScriptRPGAPI.handleRequest(eScriptRPGAPI.java:74)]]> </
Text> </Message> </Exception></System-Link>
-----Original Message-----
From: MAPICS-L [mailto:mapics-l-bounces@xxxxxxxxxxxx] On Behalf Of Morrison, Doug
Sent: Friday, December 04, 2015 7:16 AM
To: MAPICS ERP System Discussion <mapics-l@xxxxxxxxxxxx>
Subject: Re: [MAPICS-L] SystemLink RPG
Good Morning, and thank you to everyone that has responded. I have used offline load processes in the past. However it may not take care of the new Infor extensions files, I don't know for sure. I do know that it would not take care of any secondary user files added through integrator. I believe that SystemLink is designed to handle files that have been linked through integrator. So I could use offline load and then write programs to handle our user data, but I'd like to start getting familiar with how to work with SystemLink. Which is why I was looking for a simple working sample. I will ultimately also need to delete BOM, routing, pricing, and item revision for this same set of items. Thanks again to everyone for your input and ideas.
-----Original Message-----
From: MAPICS-L [mailto:mapics-l-bounces@xxxxxxxxxxxx] On Behalf Of Morrison, Doug
Sent: Thursday, December 03, 2015 3:20 PM
To: MAPICS-L@xxxxxxxxxxxx
Subject: [MAPICS-L] SystemLink RPG
I have about 80,000 items in multiple warehouses that I need to delete. I have a file with the item number and warehouse. I'd like to build an RPG program that could run in batch that would read this file and execute a system link request to delete the item warehouse record.
I am wondering if anyone has this or a similar RPG program they might be willing to share.
Doug
--
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:
http://lists.midrange.com/mailman/listinfo/mapics-l
or email: MAPICS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/mapics-l.
--
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:
http://lists.midrange.com/mailman/listinfo/mapics-l
or email: MAPICS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/mapics-l.
--
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:
http://lists.midrange.com/mailman/listinfo/mapics-l
or email: MAPICS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://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 Phone... 608-781-6355
As an Amazon Associate we earn from qualifying purchases.