BobyIsProgress
Member
Hello everyone,
I have some issue with a program is supposed to make stock movement according to a Bill Of Material.
99% of the time it's working perfectly. But without warning for some reason we don't know about, we have the first movement and not the other. It's not linked to product setting cause, if close everything and try again it worked.
We aren't able to replicate this situation.
I have two ideas:
1. We have another program that is runing in the user session that has a PS Timer that tick every 5 min. So is it possible that the tick can interfer with a program actually processed by the session . I know that it's procedural and not managing multitasking but can this make an issue ?
2. Our issue is that the following says not available:
This instruction is in a cascade of two programs by using a shared work table
Program parents :
and childProc.p
So I was thinking that we have issue with the shared work-tabke but not sure about it also.
We are running OE11.7 on windows 2022 server. We have the same issue on OE10.2.0b and same windows server .
Thanks in advance
I have some issue with a program is supposed to make stock movement according to a Bill Of Material.
99% of the time it's working perfectly. But without warning for some reason we don't know about, we have the first movement and not the other. It's not linked to product setting cause, if close everything and try again it worked.
We aren't able to replicate this situation.
I have two ideas:
1. We have another program that is runing in the user session that has a PS Timer that tick every 5 min. So is it possible that the tick can interfer with a program actually processed by the session . I know that it's procedural and not managing multitasking but can this make an issue ?
2. Our issue is that the following says not available:
Code:
DO TRANSACTION:
FIND FIRST myWorkTable EXCLUSIVE-LOCK NO-ERROR .
IF NOT AVAILABLE myWorkTable THEN "ERROR".
END.
This instruction is in a cascade of two programs by using a shared work table
Program parents :
Code:
DEFINE NEW SHARED WORK-TABLE myWorkTabke NO-UNDO
field myField AS CHAR ....
DO:
create myWorkTable.
ASSIGN
myWorkTable.myField = "some value" .
run childProc.p .
END.
and childProc.p
Code:
DEFINE SHARE WORKTABLE myWorkTable NO-UNDO
field myField AS CHAR.
DO TRANSACTION:
FIND FIRST myWorkTable EXCLUSIVE-LOCK NO-ERROR .
IF NOT AVAILABLE myWorkTable THEN "ERROR".
END.
So I was thinking that we have issue with the shared work-tabke but not sure about it also.
We are running OE11.7 on windows 2022 server. We have the same issue on OE10.2.0b and same windows server .
Thanks in advance