Quintiq file version 2.0
|
#parent: ValueHolderSetDataHolderSelectedPISPIPExtractor
|
Response OnValueChanged () id:Response_ApplicationLibMacroPlanner_ValueHolderSetDataHolderSelectedPISPIPExtractor_OnValueChanged
|
{
|
#keys: '[132894.0.1007082858]'
|
Body:
|
[*
|
// Update the value
|
// The purpose of this ValueHolder is to switch Supply chain visualization control between node and product planning matrix
|
// When the user double click on a node, the supply chain visualization will only display the pispip of the selected node
|
// When user refreshes to revert the control back to the product planning matrix, the supply chain visualization will then
|
// display the selected pispip in the matrix
|
frm := Application.Frame().FindChildObject( typeof( FormSupplyChainVisualization ).Name() ).astype( FormSupplyChainVisualization );
|
if( not isnull( frm ) )
|
{
|
frm.DataHolderDisplayPISPIP().SetDataExtractorState( frm.GUIDataExtractorLeafPISPIP(),
|
ValueHolderSetDataHolderSelectedPISPIPExtractor.Data() )
|
frm.DataHolderDisplayPISPIP().SetDataExtractorState( frm.GUIDataExtractorFocusedPISPIP(),
|
not ValueHolderSetDataHolderSelectedPISPIPExtractor.Data() )
|
}
|
*]
|
CanBindMultiple: false
|
DefinitionID: 'Responsedef_ValueHolder_OnValueChanged'
|
}
|