Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
gidon500
Creator II
Creator II

Filter data list

Hi All

enclosed if file

ORD is order no number .

key line no

I have a list of orders , the orders status  change one a while 

i need to create for every order  = ORD

the first key  for ORDTATUS = '-1'  this is the creation of the order

and the last key for ORDTATUS = '-4' this us the close of the order

there are many orders without close line  .

thaks

gidon

1 Solution

Accepted Solutions
salto
Specialist II
Specialist II

Code.jpg

Maybe this piece of code could do the job.

Regards.

View solution in original post

3 Replies
gidon500
Creator II
Creator II
Author

hi  to clarify

the output should be for every order

max 2 line

the creation line

and the close line if order closed

thanks

gidon

salto
Specialist II
Specialist II

Code.jpg

Maybe this piece of code could do the job.

Regards.

gidon500
Creator II
Creator II
Author

Hi salto

thank you very much

gidon