Today I was looking for Lookup Modes (peUpdateMode) on Web , trying to find some code from Examples...
I noticed a huge lack a real sample code inside the help. (Just one incomplete CODE for peUpdateCustom case) .. and real NOTHING for the other modes . . .
Also, In WebOrder sample, inside OrderWebLookkup.wo dialog, found this ....
Code:
// This lookup dialog can be used as both a relational and as a custom prompt list.
Procedure Popup Handle hoReturnObject
Forward Send Popup hoReturnObject
WebSet peUpdateMode of oPromptList to umPromptRelational
Send InitializePromptList of oPromptList
End_Procedure
Procedure PopupCustomOrderLookup Handle hoReturnObject
Forward Send Popup hoReturnObject
WebSet peUpdateMode of oPromptList to umPromptCustom
Send InitializePromptList of oPromptList
End_Procedure
But, there is no other reference in the project for any other object calling the PopupCustomOrderLookup method from any where.
So, ??? Incomplete sample code ?
This area really deserves some more real samples form each type of peUpdateMode possible values. ...
Thanks