public static void AfterChange_DocPartyDepartment(fmIDocument 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.DocPartyDepartment != null) { instance.DocPartyDepartmentName = instance.DocPartyDepartment.Name; } }
public static string Get_DocPartyOKPO(fmIDocument 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("07501739"); }