Hi,
As an IT Manager I have inherited a Progress based Syteline ERP system.
Having been requested to provide a program to create Job operation records, and in the absence of an onsite programmer, I have attempted to write a program myself.
To summarize, I need to create an inspection operation following every paint shop operation, unless there are successive paint shop operations, in which case the inspection operation will follow the last of the paint shop operations.
The one problem I have is that where successive paint shop operations exist, I am creating an additional rogue inspection operation not linked to the job.
I would appreciate if anyone could point out the schoolboy error in the attached code...
I suspect some sort of looping error.
Many thanks in anticipation.
Kind regards
Craig
As an IT Manager I have inherited a Progress based Syteline ERP system.
Having been requested to provide a program to create Job operation records, and in the absence of an onsite programmer, I have attempted to write a program myself.
To summarize, I need to create an inspection operation following every paint shop operation, unless there are successive paint shop operations, in which case the inspection operation will follow the last of the paint shop operations.
The one problem I have is that where successive paint shop operations exist, I am creating an additional rogue inspection operation not linked to the job.
I would appreciate if anyone could point out the schoolboy error in the attached code...
I suspect some sort of looping error.
Many thanks in anticipation.
Kind regards
Craig