# 確認 現行 SRD 歸檔 是不是 文件的操作模式 ### :bulb:**為待確認的部分** --- #### 1. **兒信待辦 → D365**  要確認的是 approval status這個條件是需要的嗎?table來源[WorldVision$FIP CSICatalog] <font color="#f00">答:需要</font> > ApprovalStatus = '0' 有1筆 and --ApprovalStatus = '0' 31筆  ```sql= select count(*),a.[Letter Types], a.[Correspondence Type] from [dbo].[WorldVision$Sponsor & Child Correspondence] a inner join [dbo].[WorldVision$Contact] b on a.[Partner ID] = b.No_ inner join [dbo].[WorldVision$Children] c on a.[Child ID] = c.ChildProjectSequenz inner join [dbo].[WorldVision$FIP CSICatalog] as d on a.[Child ID] = d.NationalOffice + '-' + d.ChildID inner join [dbo].WVT_Corres_SubTypes as e on d.SubType=e.RMTSubType where d.Contenttype = 'CCS' --and ApprovalStatus = '0' and a.[Letter Status] = 3 and a.[Letter Types] = e.iVisionLetterType and a.[To FO Sent Date] < d.CSIDate group by a.[Correspondence Type], a.[Letter Types] ``` :::info :bulb:問: 所有兒信待辦要轉上去 這裡會有一個問題 sql 不能只是抓letter status=3 (sent) ::: * :bulb:待辦類型到底是什麼 ? * 1個代辦類型還是/2個代辦類型 ? 兒童 / 資助人,兒童 要確認是抓 1&2 or only 2 (child) 答:不考慮此欄位 * 不同的待辦類型會有不同的 default LetterStatus ? 舉例:下圖為confirmed  :bulb:letter type 選項開立 來源 [dbo].WVT_Corres_SubTypes 表格 選項的開立欄位是下面的全部嗎?因為uat資料不准 mapping 我只看到IL選項而已 :bulb:自動銷案依據信種(非GN) :bulb:GN信種不用自動銷案? :bulb:其他信種轉D365從3 sent ->4 received  :bulb:ST004 & ST007 哪個是正確的?    昨天以為 Correspondence Type =1 Letter Types =SL 查了一下 Correspondence Type =2 Letter Types = SL :bulb:如下圖  :bulb:問:所有兒信待辦要轉上去 如果是這樣這邊考慮sql在撈取UAT資料的時候會以<mark>待辦類型+信件種類+信件的狀態</mark>去個別抓?(方便資料的處理+回寫) ex:sent->received /sent->received,sent->combined > 目前作業是以 CHILDREN為主ex:資助人等待兒童回信 抓 letter status=3 (sent) #### 2. 一個多媒體多個待辦 **資料回寫狀態確認**   <font color="#f00">都有 目前結論是以最新的為主</font> #### 3. :bulb:UAT區的 WorldVision$FIP CSICatalogDerivative **有沒有CCS WEB jpg 類型的圖檔**  #### 4. **信件狀態的確認** ps:值是錯的[應為0~7]  :bulb:1-3 是當Correspondence Type =1 資助人? :bulb:4-6 是當Correspondence Type =2 兒童 ? #### 5. **RMT → D365** 目前不考慮開多媒體table以待辦為主(當1RMT 0待辦 要如何處理?) ->1 RMT : 0 待辦狀況很少,若真的發生,由 SRD 手動建立待辦並選擇要銷案的 RMT,在建立待辦的同時銷案。 > 問: > SRD要怎麼抓到這個待辦的RMT? <font color="#f00">答:aspx 的網頁 去讀取 未結(sent) 的rmt檔</font> #### 6. **一個多媒體多個待辦** UAT上面是否有資料了 <font color="#f00">答:預計明天下午</font> #### 7. 每種狀態的資料筆數** 只轉status=3 or all? ```sql= select count(*)'count UAT data',a.[Letter Status] from [dbo].[WorldVision$Sponsor & Child Correspondence] a group by a.[Letter Status] order by a.[Letter Status] ```  #### 8. :bulb:資料的抓取 & 回寫會遇到的問題 全部待辦都要轉上去 (全部狀態都抓or 只抓取部分status) 想問 資料的抓取 & 回寫會遇到的問題 1:1 Ex: sent抓了 會回寫UAT成received 原本就是received的狀態之後抓取的筆數會正確嗎? 例外 1:N Ex: sent抓了 會回寫UAT成received,combined  <font color="#f00">答:這個狀況資料不處理在未確認信件狀態之前</font> #### 9. 1待辦 多個多媒體 **UI 不處理**  <font color="#f00">答:這個狀況資料不處理在未確認信件狀態之前</font>
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up