Hi,
I'm running eB sp3 on an HP-UX platform.
I'm having a few problems cimming into Repetitive Picklist Transfer (18.22.3.6 - repkis.p). I have a calling program running a redirection (INPUT FROM <filein>. OUTPUT FROM <fileout>. {gprun.i ""repkis.p""} etc.). All works fine EXCEPT:
When I have a scenario where I have multiple locations from which to transfer.
An example:
I have a picklist (PL100) for item ITEM1 which will involve transferring 500 from location LOC1 and 500 from LOC2, to work centre WC20. LOC2 is right next to me, so I want to perform the transfer from there automatically, from within my calling procedure. However, LOC1 is half a mile away at the other end of the site (SI1), and I don't want the transfer to happen from that location until I have the stock on my pallet truck. I'll have to do that manually.
This seems straightforward. The cimfile, corresponding to manual actions, looks like this:
"SI1" "PL100" -
19/11/08 yes
"WC20" "ITEM1"
500 "SI1" "LOC2" - - no
"SI1" "LOC1" - -
0
"SI1" "LOC2" - -
500
.
.
.
no
yes
So far so good. However...
When I run it through with batchrun set to YES, the second F4-equivalent-full-stop under the 500 in the file simply sends the focus back from the multi-location frame to the work centre frame. The F4-equivalent-full-stop underneath that then just backs out of the whole transaction.
When I run it through with batchrun set to NO, the first F4-equivalent-full-stop causes an "Array subscript 0 is out of range (26)" error, which causes a bus error, and the whole thing bombs out.
However, when I run through the screens manually following the cimfile it works perfectly...
Can anyone help please? I've tried knowledge bases and scoured the internet, but to no avail.
Help me Progresstalk-dot-com, you're my only hope...
Thanks.
I'm running eB sp3 on an HP-UX platform.
I'm having a few problems cimming into Repetitive Picklist Transfer (18.22.3.6 - repkis.p). I have a calling program running a redirection (INPUT FROM <filein>. OUTPUT FROM <fileout>. {gprun.i ""repkis.p""} etc.). All works fine EXCEPT:
When I have a scenario where I have multiple locations from which to transfer.
An example:
I have a picklist (PL100) for item ITEM1 which will involve transferring 500 from location LOC1 and 500 from LOC2, to work centre WC20. LOC2 is right next to me, so I want to perform the transfer from there automatically, from within my calling procedure. However, LOC1 is half a mile away at the other end of the site (SI1), and I don't want the transfer to happen from that location until I have the stock on my pallet truck. I'll have to do that manually.
This seems straightforward. The cimfile, corresponding to manual actions, looks like this:
"SI1" "PL100" -
19/11/08 yes
"WC20" "ITEM1"
500 "SI1" "LOC2" - - no
"SI1" "LOC1" - -
0
"SI1" "LOC2" - -
500
.
.
.
no
yes
So far so good. However...
When I run it through with batchrun set to YES, the second F4-equivalent-full-stop under the 500 in the file simply sends the focus back from the multi-location frame to the work centre frame. The F4-equivalent-full-stop underneath that then just backs out of the whole transaction.
When I run it through with batchrun set to NO, the first F4-equivalent-full-stop causes an "Array subscript 0 is out of range (26)" error, which causes a bus error, and the whole thing bombs out.
However, when I run through the screens manually following the cimfile it works perfectly...
Can anyone help please? I've tried knowledge bases and scoured the internet, but to no avail.
Help me Progresstalk-dot-com, you're my only hope...
Thanks.