Quintiq file version 2.0
|
#parent: ListPostponedSDCost
|
Response OnDrawElement (
|
PostponedSalesDemandCost element
|
) id:Response_ListPostponedSDCost_OnDrawElement
|
{
|
#keys: '[101472.1.1773476447]'
|
Body:
|
[*
|
// Draw images
|
|
// Draw image for product
|
product := element.ProductInStockingPoint_MP().Product_MP();
|
productnode := select( product, ProductNode, node, node.SupplyChainView() = DataHolderView.Data() );
|
if( not isnull( productnode ) and productnode.IconName() <> '' )
|
{
|
drawinfo.Image( 0, productnode.IconName() );
|
}
|
|
// Draw image for stockingpoint
|
stockingpoint := element.ProductInStockingPoint_MP();
|
spnode := select( stockingpoint, StockingPoint_MP.StockingPointNode, node, node.SupplyChainView() = DataHolderView.Data() );
|
if( not isnull( spnode ) and spnode.IconName() <> '' )
|
{
|
drawinfo.Image( 1, spnode.IconName() );
|
}
|
*]
|
CanBindMultiple: false
|
DefinitionID: 'Responsedef_List_OnDrawElement'
|
}
|