Przeglądaj źródła

Got kit update working

pull/8/head
Daniel Covington 6 miesięcy temu
rodzic
commit
851be15d6e
2 zmienionych plików z 2 dodań i 2 usunięć
  1. +1
    -1
      App/Controllers/Kit/KitController.asp
  2. +1
    -1
      ImportService/TrackingDataImport.vbs

+ 1
- 1
App/Controllers/Kit/KitController.asp Wyświetl plik

@@ -38,7 +38,7 @@ Class KitController
MVC.RequirePost
HTMLSecurity.OnInvalidAntiCsrfTokenRedirectToActionExt "KitEditForm", Request.Form("nonce"), "Edit", Array("Id", Request.Form("Id"))
dim ID : ID = Request.Form("Id")
dim model : set model = KitRepository.SwitchBoardPurpleEnvelopeEditFindById(ID)
dim model : set model = KitRepository.FindByID(ID)
set model = Automapper.AutoMap(Request.Form, model)
if Request.Form("InBoundTracking") = "on" Then
model.InboundSTID = SettingsRepository.FindByName("Inbound STID")


+ 1
- 1
ImportService/TrackingDataImport.vbs Wyświetl plik

@@ -228,7 +228,7 @@ Function CreateExportForSnailWorks(KitID)
.Write("""H"",") 'Record Type Required value must be = "H" (Header)
.Write(Truncate("5.1",5)) 'Version Required value must be ="5.1" for current release
.Write(Truncate("KCI",50)) 'UserId Required
.Write(Truncate(KitRs("Jcode").Value,50)) 'Client Name Required (will create new subaccount if not already defined) - We decideded to make this the juriscode
.Write(Truncate(KitRs("Jcode").Value,50)) 'Client Name Required (will create new subaccount if not already defined) - We decideded to make this the juriscode
.Write(Truncate("",50)) 'Parent Client Name Optional (use if 3-tier account structure)
.Write(Truncate("Purple envelope - " & KitRs("JobNumber").Value,50)) 'Job Name Required
.Write(Truncate("",50)) 'Job Description Optional


Ładowanie…
Anuluj
Zapisz

Powered by TurnKey Linux.