public static void AfterChange_DocCacheOutCommon(fmIDocCacheOutCommonLine 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.DocCacheOutCommon != null) { instance.Order = instance.DocCacheOutCommon.Order; instance.AVTRate = instance.DocCacheOutCommon.AVTRate; } }
public static String Get_AnaliticCode(fmIDocCacheOutCommonLine instance) { if (instance.Order != null) { return(instance.Order.Code); } else { return(String.Empty); } }