DriesV
25th January 2005, 20:30
Hi all,

I’m working on a new pcf configurater with a generic bom linkt to it.
I’m using Generic items that are set to phantom for the grouping of items because of the high number of standard variants that can be generated from this pcf model.
But today I stumble on a problem :
I’m trying to replace a gen item on a gen bom with the help of a parameter substitution constraint ,but it will not work .

A brief description of the buildup from the gen bom:

Gen Bom:

DP (top item )
Phpaa2 (phantom)
Phpaa2-n (phantom)
Phpaa2-n-h (Item that has to change to xxxxx)
Sup a (addition machining that have to be done on the item xxxxx)
Sup b (addition machining that have to be done on the item xxxxx)

The constraint that I had written and added it to the generic item Phpaa2-n in the session “constrains by generic item “ and put it in the item Phpaa2-n-h in the gen bom of the item Phpaa2-n

Constraint of the type Parameter substitution.

If [M4GTK036]=”J” ([M4GTK036]=”J” is a feature from the top item DP)
Then
Item_data=”xxxxx”
Endif

Does somebody know why it won’t work ?
I have asked the folks of the IT and a number of Baan consultants but still haven’t got the answer

Judy Miller
25th January 2005, 22:05
I don't think that you can use this in the BOM constraints. Constraints for item_data must be written in Maintain Generic Item Data. Here you also determine what the item data is, item number, description, material, size, standard or text.

Andreas
26th January 2005, 08:30
I’m working on a new pcf configurater with a generic bom linkt to it.
I’m using Generic items that are set to phantom for the grouping of items because of the high number of standard variants that can be generated from this pcf model.
But today I stumble on a problem :
I’m trying to replace a gen item on a gen bom with the help of a parameter substitution constraint ,but it will not work .


Hi DriesV,
don't know exactly what you want to implement but have a look at the last post of this (http://www.baanboard.com/baanboard/showthread.php?t=6487) thread.
That should help you a lot.

Andreas

just_fro
27th January 2005, 23:32
Not sure, but it seems that you no longer know the features of DP anymore when you're validating/substituting a lower level part....

Try what happens when you start your constraint with a little select on the top level item (DP) to find out the actual feature......

DriesV
1st February 2005, 17:47
Hi all, me again

I found me a baan consultant who knows a solution , and it seems that the parameter substitution doens't work on item level .

When i have the solution i will post it here for the folks who are intrested in it

Cya

pbracke
1st February 2005, 19:26
Very stupid remark.

Did you define the feature [M4GTK036] on the Phaa2-n level, too ?

Otherwise a second possibility is to use the 4GL capabilites of the PCF and define a global variable that contains the value of the feature [M4GTK036].

Usethis variable to make the necessary tests.

Regards,
Peter

DriesV
2nd February 2005, 23:03
the problem is that you can't change the item itself.
not even by a parameter substitution constraint , you can change the qauntity of a specific item and more things on the form of the generic bom rule ,but not the item.

Janneman
4th March 2005, 21:05
Hi DriesV,
Nice to see your question here :)
Do you have a solution for the problem you mentioned?

Greetings to Roel and Carl ;)