lazhen
2024-05-24 8e6b4fbf0ced25ea7bed8fc8fa8364bb104d05c2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Quintiq file version 2.0
#parent: #root
MethodOverride GetNodeVisibility (
  Unit dpunit,
  StockingPoint_MP dpsp,
  SupplyChainView view
) declarative remote as Boolean
{
  Description: 'Return the visibility of the node, return turn when it is visible'
  TextBody:
  [*
    return this.IsVisible()
           and this.SupplyChainView() = view
           and isnull( dpsp )
           and this.Unit().Parent() = dpunit;
  *]
}