Hi everyone,
I'm having a moment and wondered if someone could point me the right way.
I've got a screen which will allow me to create adjustments to an order, these (once confirmed) will eventually post into a file, but I don't want to post them to a file until the users confirms.
So I though I could create an array with a data structure mapped over it to hold me field level data.
So I plan to build this array with data entered from the screen, if a user tries to enter something for an item already entered I want to retrieve the values from my array / data structure.
My issue is retrieving from my array based only on item number?
Will this work, if so how do I go about checking for existence of my item, if not, what is the best way of going about it?
I'm having a moment and wondered if someone could point me the right way.
I've got a screen which will allow me to create adjustments to an order, these (once confirmed) will eventually post into a file, but I don't want to post them to a file until the users confirms.
So I though I could create an array with a data structure mapped over it to hold me field level data.
Code:
d adjArray ds qualified dim(1000) d item like(Item#) d OrgQty like(OrdQty) d NewQty like(OrdQty) d Reference like(OrdRef)
My issue is retrieving from my array based only on item number?
Will this work, if so how do I go about checking for existence of my item, if not, what is the best way of going about it?
Comment