/// <summary> /// The IsPulled Condtion was used to minimze the ammount of data that needed to be /// accessed for reallocation by only dealling with new entries. Currently We are not /// using it but put it here in case I need it when I migrate it over to Opendental. /// </summary> /// <param name="IsPulled"></param> /// <returns></returns> protected string SQL_IsPulledCondition(ODTablesPulled table, bool IsPulled) { string rVal = ""; if (IsPulled) { throw new Exception("Method Not Implemented Yet"); } //Below is modified //rVal += String.Format("\n && {0}.{1} = {2}", table.ToString().ToLower(), TableUtility.ColumnName_IsPulledToDansLedger, (IsPulled ? 1 : 0)); //old version //if (IsPulledFlag) // rVal += "\n && adjustment." + TableUtility.ColumnName_IsPulledToDansLedger + " = 1"; //else // rVal += "\n && adjustment." + TableUtility.ColumnName_IsPulledToDansLedger + " = 0"; return(rVal); }
/// <summary> /// The IsPulled Condtion was used to minimze the ammount of data that needed to be /// accessed for reallocation by only dealling with new entries. Currently We are not /// using it but put it here in case I need it when I migrate it over to Opendental. /// </summary> /// <param name="IsPulled"></param> /// <returns></returns> protected string SQL_IsPulledCondition(ODTablesPulled table, bool IsPulled) { string rVal = ""; if (IsPulled) throw new Exception("Method Not Implemented Yet"); //Below is modified //rVal += String.Format("\n && {0}.{1} = {2}", table.ToString().ToLower(), TableUtility.ColumnName_IsPulledToDansLedger, (IsPulled ? 1 : 0)); //old version //if (IsPulledFlag) // rVal += "\n && adjustment." + TableUtility.ColumnName_IsPulledToDansLedger + " = 1"; //else // rVal += "\n && adjustment." + TableUtility.ColumnName_IsPulledToDansLedger + " = 0"; return rVal; }