public static void AfterChange_DocCacheInRealPrepare(fmIDocCacheInRealPrepareLine instance) { // An "AfterChange_" method is executed after a target property is changed. The target property should not be readonly. // Use this method to refresh dependant property values. if (instance.DocCacheInRealPrepare != null) { instance.Order = instance.DocCacheInRealPrepare.Order; instance.AVTRate = instance.DocCacheInRealPrepare.AVTRate; } }
// public static string Get_CalculatedProperty(fmIDocCacheInRealPrepareLine instance) { // // A "Get_" method is executed when getting a target property value. The target property should be readonly. // // Use this method to implement calculated properties. // return ""; // } public static String Get_AnaliticCode(fmIDocCacheInRealPrepareLine instance) { if (instance.Order != null) { return(instance.Order.Code); } else { return(String.Empty); } }