/// <summary> /// Function to Increate Retry Count of BOLItem /// </summary> /// <param name="customerID">Customer ID</param> /// <param name="sysTrxNo">sysTrxNo</param> /// <param name="sysTrxLine">sysTrxLine</param> /// <param name="session">session object</param> public static void BOLItemIncreateRetryCount(String customerID, Decimal sysTrxNo, Int32 sysTrxLine, ISession session, String VersionNo = "") { ShipmentDataTableAdapter ta = new ShipmentDataTableAdapter(); ta.CurrentConnection = session; ta.IncreateRetryCount(customerID, sysTrxNo, sysTrxLine); }
/// <summary> /// GetShipment Data /// </summary> /// <param name="session">session Object</param> /// <returns>List of ShipmentData which need to ship at customer end</returns> public static List <DAL.ShipmentDataRow> GetShipmentData(Int32 maxRetryCount, ISession session, String VersionNo = "") { ShipmentDataTableAdapter ta = new ShipmentDataTableAdapter(); ta.CurrentConnection = session; ta.Adapter.SelectCommand = new System.Data.SqlClient.SqlCommand(); ta.Adapter.SelectCommand.CommandTimeout = 90; return(ta.GetShipmentData(maxRetryCount).ToList()); }