Browse Source

Report Work

Atul 2 years ago
parent
commit
2ad5aa3125
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Efacto.Data/Repositories/ReportRepositoryAsync.cs

+ 1 - 1
Efacto.Data/Repositories/ReportRepositoryAsync.cs

@@ -1993,7 +1993,7 @@ namespace Efacto.Data.Repositories
               
                 using (var _command = _dbContext.Database.GetDbConnection().CreateCommand())
                 {
-                    string procedureName = (BtpCode == "PO" || BtpCode == "GT") ? "spPurchaseOrder_Register" : (BtpCode == "SO" || BtpCode == "SR" || BtpCode == "CS") ? "spSalesOrder_Register" : BtpCode == "SI" ? "spSalesInvoice_Register" : BtpCode == "PL" ? "spPickList_Register" : BtpCode == "NE" ? "spGateEntry_Register" : "spGoodsReceipt_Register";
+                    string procedureName = (BtpCode == "PO" || BtpCode == "GT") ? "spPurchaseOrder_Register" : (BtpCode == "SO" || BtpCode == "SR" ) ? "spSalesOrder_Register" : (BtpCode == "SI" || BtpCode == "CS") ? "spSalesInvoice_Register" : BtpCode == "PL" ? "spPickList_Register" : BtpCode == "NE" ? "spGateEntry_Register" : "spGoodsReceipt_Register";
                     _command.CommandText = procedureName;
                     _command.CommandType = CommandType.StoredProcedure;
                     _command.Parameters.Clear();