I'm not sure if I shot myself in the foot on this one, but would appreciate any feedback on the PICK FROM action.
In order to define (known or unknown) objects (e.g. colour, shape, types etc...) I have created 2 BO's. The first business object, X defines an object such as 'COLOURS'. The second business object, Y defines the various colours 'black, red, yellow etc... and has a relationship with X.
All other business objects can point to Y for various attribute values such as 'Colours, Shapes, Titles, Types' etc... using a filter. e.g. FIND Y Where Y.X.Name='COLOURS'.
My problem now is creating the third form, which could contain two or more attributes derived from business object Y. For example, this third business object could contain attributes, Colour, Shape, Type which all point to business object Y.
Basically, you can't have:
First Rule: PICK FROM Y Where Y.X='COLOURS' NO CONFIRMATION...
Second Rule😛ICK FROM Y Where Y.X='SHAPES' NO CONFIRMATION...
Third Rule: PICK FROM Y Where Y.X='TYPE' NO CONFIRMATION...
Fourth Rule:
ENTER NEW ThirdForm WITH
ThirdForm.Colour=Y,
ThirdForm.Shape=Y,
ThirdForm.Type=Y USING Main
Any work arounds on this?
Thanks