Thanks for the suggestion.
I've tried adding it but it behaves the same.
For each ttJobHead ,
each PartCost where PartCost.Company = ttJobHead.Company AND
PartCost.PartNum = ttJobHead.PartNum AND PartCost.CostID = '1' AND
PartCost.StdMaterialCost = 0 no-lock
It locks me in to Job Entry and won't let me see the part data or delete the
job. The only way I can get out is to disable the BPM.
Ross
-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
bw2868bond
Sent: Thursday, April 16, 2009 11:55 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: JobEntry BPM
try adding PartCost.Company = ttJobHead.Company
and if you only have one cost id
PartCost.CostID = 1
I've tried adding it but it behaves the same.
For each ttJobHead ,
each PartCost where PartCost.Company = ttJobHead.Company AND
PartCost.PartNum = ttJobHead.PartNum AND PartCost.CostID = '1' AND
PartCost.StdMaterialCost = 0 no-lock
It locks me in to Job Entry and won't let me see the part data or delete the
job. The only way I can get out is to disable the BPM.
Ross
-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
bw2868bond
Sent: Thursday, April 16, 2009 11:55 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: JobEntry BPM
try adding PartCost.Company = ttJobHead.Company
and if you only have one cost id
PartCost.CostID = 1
--- In vantage@yahoogroups.com, "Ross Hughes" <ross.hughes@...> wrote:
>
> I am getting strange behavior on a BPM JobHead.ChangeJobHeadPartNum.
>
> I have a 'less than 1' query:
>
> For each ttJobHead ,
> each PartCost where PartCost.PartNum = ttJobHead.PartNum AND
PartCost.StdMaterialCost = 0 no-lock
>
> In test mode I am only trying to display an informational message.
>
> When I enable a pre OR post directive and try it the part number (when
entered in Job Entry) will blink and disappear. Job Entry will not work.
>
> Does anyone know what I am doing wrong?
>
> Thanks,
> Ross
>
------------------------------------
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links