public void Execute() { CommonSetCUStandardAttributes objCuCommonCode = new CommonSetCUStandardAttributes(Components, ComponentName); objCuCommonCode.SetCUAttributes(); objCuCommonCode.SetStandardAttributes(); }
/// <summary> /// This method updates the Unit_CID and Unit_CNO along with CU_C, the rest of the standard and /// default attributes will be populated by FI Set CU Standard Attributes /// </summary> /// <param name="rsTarget">Target recordset to update</param> /// <param name="rsSource">Source recordset used to update </param> private void UpdateAncillaryRecord(ADODB.Recordset rsTarget, ADODB.Recordset rsSource) { rsTarget.Fields["UNIT_CID"].Value = rsSource.Fields["G3E_CID"].Value; rsTarget.Fields["UNIT_CNO"].Value = rsSource.Fields["G3E_CNO"].Value; rsTarget.Fields["CU_C"].Value = rsSource.Fields[m_sFieldName].Value; CommonSetCUStandardAttributes oCUAttributes = new CommonSetCUStandardAttributes(Components, "COMP_UNIT_ANCIL_N"); oCUAttributes.SetCUAttributes(); oCUAttributes.SetStandardAttributes(); }