Here is a follow up on the display description.
Everything worked out well once the key was in place, but now that it is in production there is a problem - we need allow for multiple records to have the same description. The product is the same but comes from different manufacturers or distributors. The data entry folks see product X but do not get to see where it comes from (this addresses an industry issue involving kick-backs etc) so I can't fiddle the description with a supplier number.
Here is what happens - supplier 1 is out of stock, the data entry person picks the in stock item from supplier 2 and completes the order - when the order gets processed though, it has the item id of the record for supplier 1
guess where the order goes? or should I say the back order... hmmm
The fix -
Unchecked the display description,
spanned the prompt,entry and comment
set the comment to choose(ord:invid=0,'Select product from list',p_web.gsv('inv:description'))
set comment comment css to 'Bold'