ENTER NEW OrderLine WITH OrderLine.Active='Yes',
OrderLine.SaleUKDelDate=OrderHeader.DefaultUKDelDate,
USING AddOrderLine1
and I have a Combo Box in the FORM AddOrderLine1 which is OrderLine.OrderColour which is populated by OrderLine.OrderHeader.Colours
The problem is that OrderLine has not yet been INSERTED into OrderHeader so, of course, it is not populated by the Colours held in the OrderHeader BO.
OrderLine.OrderColour references OrderColours with no multiple allowed holds the colour for this Order Line.
OrderHeader.OrderColour references OrderColours with multiples allowed hold a number of colours which can be used for that order
Can anyone help me understand how to populate the Combo?
Maybe it is not possible.
Colin
v 8.7 Windows
ENTER NEW and COMBO BOX
ENTER NEW and COMBO BOX
Colin
------------------------------------------------------------------------------------------------------------------------
AwareIM 8.7 (Build3012) Windows Virtual Server Derby
------------------------------------------------------------------------------------------------------------------------
AwareIM 8.7 (Build3012) Windows Virtual Server Derby
-
- Posts: 1457
- Joined: Tue Jan 24, 2017 5:51 am
- Location: 'Stralya
Re: ENTER NEW and COMBO BOX
It's unclear what you are trying to achieve.
Where are you creating OrderLine from? If you are using the OrderHeader as the creation point of the OrderLine why do you not
The problem definition is not very clear.
Where are you creating OrderLine from? If you are using the OrderHeader as the creation point of the OrderLine why do you not
Code: Select all
ENTER NEW OrderLine with OrderLine.OrderHeader=OrderHeader, ...