Example #1
0
        public static AxBaseException WriteSalesValueTransLinesRefresh(DateTime minDate, int actiond)
        {
            Func <DateTime, DateTime> nextPeriod = delegate(DateTime d) { return(d.AddHours(1)); };

            return(ServiceConnector.CallServiceByDate <RetailTransactionSalesLinesDTO>(minDate, actiond, "GetRetailTransLinesByDate",
                                                                                       "AGRRetailTransService", "[ax].[RetailTransactionSalesLines_Increment]", nextPeriod).Result);
        }
Example #2
0
 public static AxBaseException WriteSalesValueTransRefresh(DateTime minDate, int actiond)
 {
     return(ServiceConnector.CallServiceByDate <RetailTransactionTableDTO>(minDate, actiond, "GetRetailTransByDate",
                                                                           "AGRRetailTransService", "[ax].[RetailTransactionTable_Increment]", delegate(DateTime d) { return d.AddHours(1); }).Result);
 }
Example #3
0
 public AxBaseException WriteInventSumRefresh(DateTime minDate)
 {
     return(ServiceConnector.CallServiceByDate <InventSumDTO>(minDate, ActionId, "GetInventSumByDate", "AGRItemCustomService", "[ax].[INVENTSUM_Increment]").Result);
 }
Example #4
0
 public AxBaseException WriteInventTransRefresh(DateTime minDate)
 {
     return(ServiceConnector.CallServiceByDate <InventTransDTO>(minDate, ActionId, "GetInventTransByDate", "AGRInventTransService", "[ax].[INVENTTRANS_Increment]").Result);
 }
Example #5
0
 public static AxBaseException RefreshPurchLines(DateTime date, int actionId)
 {
     return(ServiceConnector.CallServiceByDate <PurchLinesDTO>(date, actionId, "GetPurchLineByDate", "AGRInventTransService", "[ax].[PurchLine_Increment]").Result);
 }