How Can We Help?
Norma w procesach technologicznych – cecha skryptowa
Cecha pobiera pierwszą normę z procesu technologicznego.
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Worm; using Unicore.Manufacture.Business; namespace FeatureScript { public class Script17272640348179631440 { public Decimal GetValue(object obj) { var Process = obj as Process; var norm = Process.Norms != null && Process.Norms.Any() ? Process.Norms.FirstOrDefault() : new Norm(); return norm.ProcessHours; } } }