× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Try using two single quotes instead of one double. When I pasted your XML into the simulator it worked but I noticed the double quotes instead of two singles.


Tim Rutz | Systems Programmer / Analyst
Douglas Machine Inc. | Tel: 320.762.6348
douglas-machine.com | tim.rutz@xxxxxxxxxxxxxxxxxxx

EMPLOYEE OWNED, CUSTOMER DRIVEN.

-----Original Message-----
From: MAPICS-L [mailto:mapics-l-bounces@xxxxxxxxxxxx] On Behalf Of Morrison, Doug
Sent: Thursday, December 24, 2015 11:45 AM
To: MAPICS ERP System Discussion <mapics-l@xxxxxxxxxxxx>
Subject: Re: [MAPICS-L] SystemLink RPG

Great observation, and I wish that was the answer. That space is really not in the request. That is where the line wrap occurred when I copied and pasted it from green screen.

-----Original Message-----
From: MAPICS-L [mailto:mapics-l-bounces@xxxxxxxxxxxx] On Behalf Of Rad Yates
Sent: Thursday, December 24, 2015 11:36 AM
To: 'MAPICS ERP System Discussion' <mapics-l@xxxxxxxxxxxx>
Subject: Re: [MAPICS-L] SystemLink RPG

I am no expert on this exception, but I did notice that there is a space in the word "warehouse e" in your request. See if removing the space addresses your problem. And Happy Holidays to you!

Have a great day!

Rad Yates, President
Infor XA User Group



-----Original Message-----
From: MAPICS-L [mailto:mapics-l-bounces@xxxxxxxxxxxx] On Behalf Of Morrison, Doug
Sent: Thursday, December 24, 2015 11:04 AM
To: MAPICS ERP System Discussion <mapics-l@xxxxxxxxxxxx>
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"/>
tity> </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.

--
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.

The information transmitted in this e-mail is intended only for the person or entity to which it is addressed and contains confidential and/or privileged material. This material may further be covered under a separate nondisclosure agreement. Any review, re-transmission, dissemination or other use of, or pursuing of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this communication in error, please first notify the sender immediately and then delete this communication from all data storage devices and destroy all hard copies. Please consider the environment before printing this email.

The information transmitted in this e-mail is intended only for the person or entity to which it is addressed and contains confidential and/or privileged material. This material may further be covered under a separate nondisclosure agreement. Any review, re-transmission, dissemination or other use of, or pursuing of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this communication in error, please first notify the sender immediately and then delete this communication from all data storage devices and destroy all hard copies. Please consider the environment before printing this email.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.