/// <summary>
        /// maintain the partly arriving - first finish the oldone, if there is remaining create another missing record
        /// </summary>
        /// <param name="orderingId">the old record DB identifier</param>
        /// <param name="strippId">the stripping of the ordering</param>
        /// <param name="oldAmount">the original amount</param>
        /// <param name="secondAmount">the arrived amount</param>
        /// <param name="oldOrdererUserId">originally, who ordered</param>
        /// <param name="oldDate">when originally ordered</param>
        public void makeRecordPartlyArrived(int orderingId, int strippId, int oldAmount, int secondAmount,
                                            int oldOrdererUserId, string oldDate)
        {
            int remainedAmount = oldAmount - secondAmount;

            try
            {
                modellerWrite = new OrderingModellerWriteOut(dbci, parentMainWin);
                modellerWrite.setPartlyArrivedBooked_MissingRecord(orderingId.ToString(), secondAmount.ToString(),
                                                                   userIdOfOperator);
            }
            catch (ErrorOrderingSetPartlyArrivedRecord e)
            {
                throw new ErrorServiceOrdering(e.Message);
            }
            if (remainedAmount > 0)
            {
                try
                {
                    modellerWrite.createNewMissingRecord(strippId.ToString(), oldDate, remainedAmount.ToString(),
                                                         oldOrdererUserId.ToString(), userIdOfOperator);
                }
                catch (ErrorOrderingSetMissingRecord e)
                {
                    throw new ErrorServiceOrdering(e.Message);
                }
            }
        }
 /// <summary>
 /// maintain the creation of new ordering record that will be noted
 /// </summary>
 /// <param name="stripIdOfWanted">DB identifier of strippong</param>
 /// <param name="newAmount">the amount of that</param>
 public void createNewNotedRecord(int stripIdOfWanted, int newAmount)
 {
     try
     {
         modellerWrite = new OrderingModellerWriteOut(dbci, parentMainWin);
         modellerWrite.setCreateNewOrderingRecordAsNoted(stripIdOfWanted.ToString(), newAmount.ToString(), userIdOfOperator);
     }
     catch (ErrorServiceNewRecord e)
     {
         throw new ErrorServiceOrdering(e.Message);
     }
 }
 /// <summary>
 /// maintaion the change nodet record in stripping and amount
 /// </summary>
 /// <param name="orderingId">DB identifier</param>
 /// <param name="stripId">stripping ID</param>
 /// <param name="newAmount">the new amount</param>
 public void makeModifyNotedRecord(int orderingId, int stripId, int newAmount)
 {
     try
     {
         modellerWrite = new OrderingModellerWriteOut(dbci, parentMainWin);
         modellerWrite.setModifyNotedRecord(orderingId.ToString(), stripId.ToString(), newAmount.ToString(), userIdOfOperator);
     }
     catch (ErrorServiceUpdateRecord e)
     {
         throw new ErrorServiceOrdering(e.Message);
     }
 }
 /// <summary>
 /// maintain the change of missing record to arrived
 /// </summary>
 /// <param name="orderingId">DB identifier of record</param>
 public void makeArrivedTheBookedOrMissingRecord(int orderingId)
 {
     try
     {
         modellerWrite = new OrderingModellerWriteOut(dbci, parentMainWin);
         modellerWrite.setArrivedTheMissingRecord(orderingId.ToString(), userIdOfOperator);
     }
     catch (ErrorOrderingSetBookedAsArrived e)
     {
         throw new ErrorServiceOrdering(e.Message);
     }
 }
 /// <summary>
 /// maintain renew to noted the cancelled record
 /// </summary>
 /// <param name="orderingId">DB identifier of record</param>
 public void makeRenewCancelledRecord(int orderingId)
 {
     try
     {
         modellerWrite = new OrderingModellerWriteOut(dbci, parentMainWin);
         modellerWrite.setRenewCancelledRecordToNoted(orderingId.ToString(), userIdOfOperator);
     }
     catch (ErrorServiceRenewRecord e)
     {
         throw new ErrorServiceOrdering(e.Message);
     }
 }
 /// <summary>
 /// sets the marked records to change validity 1 to 2
 /// </summary>
 /// <param name="listToChangeState">list of id of records</param>
 public void setListOfNotedRecordsAsBooked(List <int> listToChangeState)
 {
     try
     {
         List <string> listToChange = new List <string>();
         foreach (int num in listToChangeState)
         {
             listToChange.Add(num.ToString());
         }
         modellerWrite = new OrderingModellerWriteOut(dbci, parentMainWin);
         modellerWrite.setTheseRecordAsBookedBunch(listToChange);
     }
     catch (ErrorOrderingSetBookedAsArrived e)
     {
         throw new ErrorServiceOrdering(e.Message);
     }
     catch (Exception e)
     {
         throw new ErrorServiceOrdering("Ismertlen hiba történt (ServOrdChangeBooked) " + e.Message);
     }
 }