} // createFromColumn /// <summary> /// Copy existing Definition To Client /// </summary> /// <param name="To_Client_ID">to client</param> /// <param name="AD_PrintFormat_ID">parent print format</param> /// <returns>format item</returns> public MPrintFormatItem CopyToClient(int To_Client_ID, int AD_PrintFormat_ID) { MPrintFormatItem to = new MPrintFormatItem(Env.GetContext(), 0, null); MPrintFormatItem.CopyValues(this, to); to.SetClientOrg(To_Client_ID, 0); to.SetAD_PrintFormat_ID(AD_PrintFormat_ID); to.Save(); return(to); } // copyToClient