PlanLine (with property abstract: yes)
PlanLineTime (extends PlanLine)
PlanLineCounter (extends PlanLine)
I am trying to copy a line from PlanLine.
So I tried this in a Form where PlanLine is a Data Source:
while select copiedLine
where copiedLine.MaintenancePlan == fromMaintenancePlan.RecId
{
if (copiedLine is PlanLineTime)
{
...
}
else if (copiedLine is PlanLineCounter)
{
...
}
}
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,151 Super User 2024 Season 2
Martin Dráb 229,993 Most Valuable Professional
nmaenpaa 101,156