|
|
@ -297,7 +297,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report |
|
|
|
" ChassisNumber,\n" + |
|
|
|
" ItemCode,\n" + |
|
|
|
" KENNCode,\n" + |
|
|
|
" ChassisNumber2\n" + |
|
|
|
" ChassisNumber2,\n" + |
|
|
|
|
|
|
|
"STUFF((SELECT ',' + ErpMaterialCode FROM Set_fis subTitle WHERE KENNCode =tm1.KENNCode\n" + |
|
|
|
"and ChassisNumber2=tm1.ChassisNumber2 and ItemCode=tm1.ItemCode FOR XML PATH('')),1, 1, '') AS ErpMaterialCode,\n" + |
|
|
@ -319,7 +319,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report |
|
|
|
" KENNCode,\n" + |
|
|
|
" ChassisNumber2,\n" + |
|
|
|
" OrderBillNum,\n" + |
|
|
|
" ChassisNumber,\n" + |
|
|
|
" ChassisNumber\n" + |
|
|
|
|
|
|
|
" ) b ON a.ChassisNumber = b.ChassisNumber2 \n" + |
|
|
|
" AND a.MaterialCode = b.ItemCode \n" + |
|
|
|