@ -72,7 +72,6 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
string str = "SELECT\n" +
string str = "SELECT\n" +
" isnull( temp1.交货单号, '' ) 交货单号,\n" +
" isnull( temp1.交货单号, '' ) 交货单号,\n" +
" temp1.交货时间,\n" +
" temp1.交货时间,\n" +
" isnull( temp1.手工或自动, '' ) 手工或自动,\n" +
" temp1.[工厂],\n" +
" temp1.[工厂],\n" +
" temp1.收货仓库,\n" +
" temp1.收货仓库,\n" +
" temp1.收货仓库描述,\n" +
" temp1.收货仓库描述,\n" +
@ -84,14 +83,14 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" temp1.物料组,\n" +
" temp1.物料组,\n" +
" temp1.零件中文名称,\n" +
" temp1.零件中文名称,\n" +
" temp1.发货数量,\n" +
" temp1.发货数量,\n" +
" temp1.发货状态,\n" +
" temp1.外部单号,\n" +
" temp1.外部验收单号,\n" +
" temp1.结算数量,\n" +
" temp1.结算数量,\n" +
" temp3.Price AS 结算单价,\n" +
" temp3.Price AS 结算单价,\n" +
" ( temp1.[结算数量] * ISNULL( temp3.Price, 0 ) ) AS 结算金额,\n" +
" ( temp1.[结算数量] * ISNULL( temp3.Price, 0 ) ) AS 结算金额,\n" +
" isnull( TEMP2.Price, 0 ) AS 发货定价,\n" +
" isnull( TEMP2.Price, 0 ) AS 发货定价,\n" +
" isnull( temp1.发货数量, 0 ) * isnull( TEMP2.Price, 0 ) AS 发货总金额,\n" +
" isnull( temp1.发货数量, 0 ) - ISNULL( temp4.Qty, 0 ) AS 实际发货数量,\n" +
" ( isnull( temp1.发货数量, 0 ) - isnull( temp1.[结算数量], 0 ) - ISNULL( temp4.Qty, 0 ) ) AS 数量差异,\n" +
" ( isnull( temp1.发货数量, 0 ) - ISNULL( temp4.Qty, 0 ) ) * isnull( TEMP2.Price, 0 ) AS 实际发货总金额,\n" +
" ( isnull( temp1.发货数量, 0 ) - ISNULL( temp4.Qty, 0 ) - isnull( temp1.[结算数量], 0 ) ) AS 量差,\n" +
" ISNULL( temp3.Price, 0 ) - ISNULL( TEMP2.Price, 0 ) AS 单价差异,\n" +
" ISNULL( temp3.Price, 0 ) - ISNULL( TEMP2.Price, 0 ) AS 单价差异,\n" +
" ( ISNULL( temp3.Price, 0 ) - ISNULL( TEMP2.Price, 0 ) ) * temp1.结算数量 AS 差异总金额 ,\n" +
" ( ISNULL( temp3.Price, 0 ) - ISNULL( TEMP2.Price, 0 ) ) * temp1.结算数量 AS 差异总金额 ,\n" +
" temp4.Qty 退货数量 \n" +
" temp4.Qty 退货数量 \n" +
@ -100,7 +99,6 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" SELECT\n" +
" SELECT\n" +
" '' AS 交货单号,\n" +
" '' AS 交货单号,\n" +
" NULL AS 交货时间,\n" +
" NULL AS 交货时间,\n" +
" '' AS 手工或自动,\n" +
" a.StorageLocation AS 收货仓库,\n" +
" a.StorageLocation AS 收货仓库,\n" +
" a.StorageLocationDesc AS 收货仓库描述,\n" +
" a.StorageLocationDesc AS 收货仓库描述,\n" +
" a.HQHKanBan AS 订货看板编号,\n" +
" a.HQHKanBan AS 订货看板编号,\n" +
@ -109,8 +107,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" a.MaterialCode 结算物料代码,\n" +
" a.MaterialCode 结算物料代码,\n" +
" c.MaterialDesc AS 零件中文名称,\n" +
" c.MaterialDesc AS 零件中文名称,\n" +
" isnull( b.Qty, 0 ) AS 发货数量,\n" +
" isnull( b.Qty, 0 ) AS 发货数量,\n" +
" 2 AS 发货状态,\n" +
" a.[ExternalKanbanNumber] AS 外部单号,\n" +
" a.[ExternalKanbanNumber] AS 外部验收单号,\n" +
" isnull( a.Qty, 0 ) AS 结算数量,\n" +
" isnull( a.Qty, 0 ) AS 结算数量,\n" +
" C.EstimateTypeDesc AS 物料组,\n" +
" C.EstimateTypeDesc AS 物料组,\n" +
" a.Factory AS 工厂,\n" +
" a.Factory AS 工厂,\n" +
@ -368,7 +365,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
{
{
itm1 . 看 板 编 号 = itmcopy . KanbanNumber ;
itm1 . 看 板 编 号 = itmcopy . KanbanNumber ;
itm1 . 验 收 单 日 期 = itmcopy . AcceptanceDate ;
itm1 . 验 收 单 日 期 = itmcopy . AcceptanceDate ;
itm1 . 外 部 验 收 单 号 = itmcopy . ExternalKanbanNumber ;
itm1 . 外 部 单 号 = itmcopy . ExternalKanbanNumber ;
}
}
}
}
@ -398,7 +395,6 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" (\n" +
" (\n" +
" SELECT\n" +
" SELECT\n" +
" temp1.交货时间,\n" +
" temp1.交货时间,\n" +
" isnull( temp1.手工或自动, '' ) 手工或自动,\n" +
" isnull( temp1.交货单号, '' ) 交货单号,\n" +
" isnull( temp1.交货单号, '' ) 交货单号,\n" +
" temp1.[工厂],\n" +
" temp1.[工厂],\n" +
" temp1.收货仓库,\n" +
" temp1.收货仓库,\n" +
@ -412,7 +408,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" temp1.零件中文名称,\n" +
" temp1.零件中文名称,\n" +
" temp1.发货数量,\n" +
" temp1.发货数量,\n" +
" temp1.发货状态,\n" +
" temp1.发货状态,\n" +
" temp1.外部验收 单号,\n" +
" temp1.外部单号,\n" +
" temp1.结算数量,\n" +
" temp1.结算数量,\n" +
" temp1.结算单价,\n" +
" temp1.结算单价,\n" +
" temp1.结算金额,\n" +
" temp1.结算金额,\n" +
@ -426,7 +422,6 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" SELECT\n" +
" SELECT\n" +
" b.WmsBillNum AS 交货单号,\n" +
" b.WmsBillNum AS 交货单号,\n" +
" CONVERT ( VARCHAR ( 100 ), b.LastModificationTime, 23 ) AS 交货时间,\n" +
" CONVERT ( VARCHAR ( 100 ), b.LastModificationTime, 23 ) AS 交货时间,\n" +
" b.IsAuto AS 手工或自动,\n" +
" a.StorageLocation AS 收货仓库,\n" +
" a.StorageLocation AS 收货仓库,\n" +
" a.StorageLocationDesc AS 收货仓库描述,\n" +
" a.StorageLocationDesc AS 收货仓库描述,\n" +
" a.HQHKanBan AS 订货看板编号,\n" +
" a.HQHKanBan AS 订货看板编号,\n" +
@ -435,7 +430,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" c.MaterialDesc AS 零件中文名称,\n" +
" c.MaterialDesc AS 零件中文名称,\n" +
" isnull( b.Qty, 0 ) AS 发货数量,\n" +
" isnull( b.Qty, 0 ) AS 发货数量,\n" +
" isnull( b.State, 0 ) AS 发货状态,\n" +
" isnull( b.State, 0 ) AS 发货状态,\n" +
" a.ExternalKanbanNumber AS 外部验收 单号,\n" +
" a.ExternalKanbanNumber AS 外部单号,\n" +
" isnull( a.Qty, 0 ) AS 结算数量,\n" +
" isnull( a.Qty, 0 ) AS 结算数量,\n" +
" isnull( a.Price, 0 ) AS 结算单价,\n" +
" isnull( a.Price, 0 ) AS 结算单价,\n" +
" isnull( a.Amt, 0 ) AS 结算金额 ,\n" +
" isnull( a.Amt, 0 ) AS 结算金额 ,\n" +
@ -461,7 +456,6 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" SELECT\n" +
" SELECT\n" +
" isnull( temp1.交货单号, '' ) 交货单号,\n" +
" isnull( temp1.交货单号, '' ) 交货单号,\n" +
" temp1.交货时间,\n" +
" temp1.交货时间,\n" +
" isnull( temp1.手工或自动, '' ) 手工或自动,\n" +
" temp1.[工厂],\n" +
" temp1.[工厂],\n" +
" temp1.收货仓库,\n" +
" temp1.收货仓库,\n" +
" temp1.收货仓库描述,\n" +
" temp1.收货仓库描述,\n" +
@ -474,7 +468,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" temp1.零件中文名称,\n" +
" temp1.零件中文名称,\n" +
" temp1.发货数量,\n" +
" temp1.发货数量,\n" +
" temp1.发货状态,\n" +
" temp1.发货状态,\n" +
" temp1.外部验收 单号,\n" +
" temp1.外部单号,\n" +
" temp1.结算数量,\n" +
" temp1.结算数量,\n" +
" temp3.Price AS 结算单价,\n" +
" temp3.Price AS 结算单价,\n" +
" ( temp1.[结算数量] * ISNULL( temp3.Price, 0 ) ) AS 结算金额,\n" +
" ( temp1.[结算数量] * ISNULL( temp3.Price, 0 ) ) AS 结算金额,\n" +
@ -488,7 +482,6 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" SELECT\n" +
" SELECT\n" +
" '' AS 交货单号,\n" +
" '' AS 交货单号,\n" +
" NULL AS 交货时间,\n" +
" NULL AS 交货时间,\n" +
" '' AS 手工或自动,\n" +
" a.StorageLocation AS 收货仓库,\n" +
" a.StorageLocation AS 收货仓库,\n" +
" a.StorageLocationDesc AS 收货仓库描述,\n" +
" a.StorageLocationDesc AS 收货仓库描述,\n" +
" '' AS 订货看板编号,\n" +
" '' AS 订货看板编号,\n" +
@ -498,7 +491,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" c.MaterialDesc AS 零件中文名称,\n" +
" c.MaterialDesc AS 零件中文名称,\n" +
" 0 AS 发货数量,\n" +
" 0 AS 发货数量,\n" +
" 0 AS 发货状态,\n" +
" 0 AS 发货状态,\n" +
" a.ExternalKanbanNumber AS 外部验收 单号,\n" +
" a.ExternalKanbanNumber AS 外部单号,\n" +
" isnull( a.Qty, 0 ) AS 结算数量,\n" +
" isnull( a.Qty, 0 ) AS 结算数量,\n" +
" C.EstimateTypeDesc AS 物料组,\n" +
" C.EstimateTypeDesc AS 物料组,\n" +
" a.Factory AS 工厂,\n" +
" a.Factory AS 工厂,\n" +
@ -512,7 +505,8 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" Version,\n" +
" Version,\n" +
" StorageLocation,\n" +
" StorageLocation,\n" +
" StorageLocationDesc,\n" +
" StorageLocationDesc,\n" +
" Factory,ExternalKanbanNumber \n" +
" Factory,\n" +
" ExternalKanbanNumber \n" +
" FROM\n" +
" FROM\n" +
" Set_HQ_H_Platform \n" +
" Set_HQ_H_Platform \n" +
" WHERE\n" +
" WHERE\n" +
@ -522,7 +516,8 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" Version,\n" +
" Version,\n" +
" StorageLocation,\n" +
" StorageLocation,\n" +
" StorageLocationDesc,\n" +
" StorageLocationDesc,\n" +
" Factory,ExternalKanbanNumber \n" +
" Factory,\n" +
" ExternalKanbanNumber \n" +
" ) AS a\n" +
" ) AS a\n" +
" LEFT OUTER JOIN Set_material AS c ON a.MaterialCode = c.CustomerPartCode \n" +
" LEFT OUTER JOIN Set_material AS c ON a.MaterialCode = c.CustomerPartCode \n" +
" WHERE\n" +
" WHERE\n" +
@ -605,7 +600,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" temp1.物料组,\n" +
" temp1.物料组,\n" +
" temp1.零件中文名称,\n" +
" temp1.零件中文名称,\n" +
" temp1.发货数量,\n" +
" temp1.发货数量,\n" +
" temp1.外部验收 单号,\n" +
" temp1.外部单号,\n" +
" temp1.结算数量,\n" +
" temp1.结算数量,\n" +
" temp1.结算单价,\n" +
" temp1.结算单价,\n" +
" temp1.结算金额,\n" +
" temp1.结算金额,\n" +
@ -613,6 +608,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" isnull( temp1.发货数量, 0 ) * isnull( TEMP2.Price, 0 ) AS 发货总金额,\n" +
" isnull( temp1.发货数量, 0 ) * isnull( TEMP2.Price, 0 ) AS 发货总金额,\n" +
" isnull( tt.Qty, 0 ) 退货数量,\n" +
" isnull( tt.Qty, 0 ) 退货数量,\n" +
" isnull( temp1.发货数量, 0 ) - isnull( tt.Qty, 0 ) AS 实际发货数量,\n" +
" isnull( temp1.发货数量, 0 ) - isnull( tt.Qty, 0 ) AS 实际发货数量,\n" +
" isnull( temp1.发货数量, 0 ) - isnull( temp1.结算数量, 0 ) - isnull( tt.Qty, 0 ) AS 未结数量,\n" +
" temp1.结算单价 - ISNULL( TEMP2.Price, 0 ) AS 单价差异,\n" +
" temp1.结算单价 - ISNULL( TEMP2.Price, 0 ) AS 单价差异,\n" +
" ISNULL( TEMP2.Price, 0 ) * ( isnull( temp1.发货数量, 0 ) - isnull( tt.Qty, 0 ) ) AS 实际发货总金额 \n" +
" ISNULL( TEMP2.Price, 0 ) * ( isnull( temp1.发货数量, 0 ) - isnull( tt.Qty, 0 ) ) AS 实际发货总金额 \n" +
" FROM\n" +
" FROM\n" +
@ -625,7 +621,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" c.CustomerPartCode 客户物料号,\n" +
" c.CustomerPartCode 客户物料号,\n" +
" c.MaterialDesc AS 零件中文名称,\n" +
" c.MaterialDesc AS 零件中文名称,\n" +
" isnull( a.Qty, 0 ) AS 发货数量,\n" +
" isnull( a.Qty, 0 ) AS 发货数量,\n" +
" '' AS 外部验收 单号,\n" +
" '' AS 外部单号,\n" +
" isnull( b.Qty, 0 ) AS 结算数量,\n" +
" isnull( b.Qty, 0 ) AS 结算数量,\n" +
" 0 AS 结算单价,\n" +
" 0 AS 结算单价,\n" +
" 0 AS 结算金额 ,\n" +
" 0 AS 结算金额 ,\n" +
@ -656,16 +652,17 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" temp1.物料组,\n" +
" temp1.物料组,\n" +
" temp1.零件中文名称,\n" +
" temp1.零件中文名称,\n" +
" temp1.发货数量,\n" +
" temp1.发货数量,\n" +
" temp1.外部验收 单号,\n" +
" temp1.外部单号,\n" +
" temp1.结算数量,\n" +
" temp1.结算数量,\n" +
" temp1.结算单价,\n" +
" temp1.结算单价,\n" +
" temp1.结算金额,\n" +
" temp1.结算金额,\n" +
" isnull( TEMP2.Price, 0 ) AS 发货定价,\n" +
" isnull( TEMP2.Price, 0 ) AS 发货定价,\n" +
" isnull( temp1.发货数量, 0 ) * isnull( TEMP2.Price, 0 ) AS 发货总金额,\n" +
" isnull( temp1.发货数量, 0 ) * isnull( TEMP2.Price, 0 ) AS 发货总金额,\n" +
" isnull( tt.Qty, 0 ) 退货数量,\n" +
" isnull( tt.Qty, 0 ) 退货数量,\n" +
" isnull( temp1.发货数量, 0 ) - isnull( temp1.结算数量, 0 )- isnull( tt.Qty, 0 ) AS 实际发货数量,\n" +
" isnull( temp1.发货数量, 0 ) - isnull( tt.Qty, 0 ) AS 实际发货数量,\n" +
" isnull( temp1.发货数量, 0 ) - isnull( temp1.结算数量, 0 ) - isnull( tt.Qty, 0 ) AS 未结数量,\n" +
" temp1.结算单价 - ISNULL( TEMP2.Price, 0 ) AS 单价差异,\n" +
" temp1.结算单价 - ISNULL( TEMP2.Price, 0 ) AS 单价差异,\n" +
" ISNULL( TEMP2.Price, 0 ) * ( isnull( temp1.发货数量, 0 ) - isnull( temp1.结算数量, 0 ) - isnull( t t.Qty, 0 ) ) AS 实际发货总金额 \n" +
" ISNULL( TEMP2.Price, 0 ) * ( isnull( temp1.发货数量, 0 ) - isnull( tt.Qty, 0 ) ) AS 实际发货总金额 \n" +
" FROM\n" +
" FROM\n" +
" (\n" +
" (\n" +
" SELECT\n" +
" SELECT\n" +
@ -676,7 +673,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" c.CustomerPartCode 客户物料号,\n" +
" c.CustomerPartCode 客户物料号,\n" +
" c.MaterialDesc AS 零件中文名称,\n" +
" c.MaterialDesc AS 零件中文名称,\n" +
" isnull( a.Qty, 0 ) AS 发货数量,\n" +
" isnull( a.Qty, 0 ) AS 发货数量,\n" +
" '' AS 外部验收 单号,\n" +
" '' AS 外部单号,\n" +
" isnull( b.Qty, 0 ) AS 结算数量,\n" +
" isnull( b.Qty, 0 ) AS 结算数量,\n" +
" isnull( b.Price, 0 ) AS 结算单价,\n" +
" isnull( b.Price, 0 ) AS 结算单价,\n" +
" isnull( b.Qty, 0 ) * isnull( b.Price, 0 ) AS 结算金额 ,\n" +
" isnull( b.Qty, 0 ) * isnull( b.Price, 0 ) AS 结算金额 ,\n" +
@ -991,7 +988,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" temp1.零件中文名称,\n" +
" temp1.零件中文名称,\n" +
" temp1.发货数量,\n" +
" temp1.发货数量,\n" +
" temp1.发货状态,\n" +
" temp1.发货状态,\n" +
" temp1.外部验收 单号,\n" +
" temp1.外部单号,\n" +
" temp1.结算数量,\n" +
" temp1.结算数量,\n" +
" temp1.结算单价,\n" +
" temp1.结算单价,\n" +
" temp1.结算金额,\n" +
" temp1.结算金额,\n" +
@ -1015,7 +1012,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" c.MaterialDesc AS 零件中文名称,\n" +
" c.MaterialDesc AS 零件中文名称,\n" +
" isnull( a.Qty, 0 ) AS 发货数量,\n" +
" isnull( a.Qty, 0 ) AS 发货数量,\n" +
" isnull( a.State, 0 ) AS 发货状态,\n" +
" isnull( a.State, 0 ) AS 发货状态,\n" +
" b.ExternalKanbanNumber AS 外部验收 单号,\n" +
" b.ExternalKanbanNumber AS 外部单号,\n" +
" isnull( b.Qty, 0 ) AS 结算数量,\n" +
" isnull( b.Qty, 0 ) AS 结算数量,\n" +
" isnull( b.Price, 0 ) AS 结算单价,\n" +
" isnull( b.Price, 0 ) AS 结算单价,\n" +
" isnull( b.Amt, 0 ) AS 结算金额 ,\n" +
" isnull( b.Amt, 0 ) AS 结算金额 ,\n" +
@ -1093,7 +1090,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" temp1.物料组,\n" +
" temp1.物料组,\n" +
" temp1.零件中文名称,\n" +
" temp1.零件中文名称,\n" +
" temp1.发货数量,\n" +
" temp1.发货数量,\n" +
" temp1.外部验收 单号,\n" +
" temp1.外部单号,\n" +
" temp1.结算数量,\n" +
" temp1.结算数量,\n" +
" temp1.结算单价,\n" +
" temp1.结算单价,\n" +
" temp1.结算金额,\n" +
" temp1.结算金额,\n" +
@ -1114,7 +1111,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" c.CustomerPartCode 客户物料号,\n" +
" c.CustomerPartCode 客户物料号,\n" +
" c.MaterialDesc AS 零件中文名称,\n" +
" c.MaterialDesc AS 零件中文名称,\n" +
" isnull( a.Qty, 0 ) AS 发货数量,\n" +
" isnull( a.Qty, 0 ) AS 发货数量,\n" +
" '' AS 外部验收 单号,\n" +
" '' AS 外部单号,\n" +
" isnull( b.Qty, 0 ) AS 结算数量,\n" +
" isnull( b.Qty, 0 ) AS 结算数量,\n" +
" 0 AS 结算单价,\n" +
" 0 AS 结算单价,\n" +
" 0 AS 结算金额 ,\n" +
" 0 AS 结算金额 ,\n" +
@ -1203,7 +1200,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" C.EstimateTypeDesc 物料组,\n" +
" C.EstimateTypeDesc 物料组,\n" +
" C.MaterialCode Sap编码,\n" +
" C.MaterialCode Sap编码,\n" +
" C.MaterialDesc 零件中文名称,\n" +
" C.MaterialDesc 零件中文名称,\n" +
" a.[ExternalKanbanNumber] AS 外部验收 单号,\n" +
" a.[ExternalKanbanNumber] AS 外部单号,\n" +
" a.Factory AS 工厂,\n" +
" a.Factory AS 工厂,\n" +
" a.HQHKanBan AS 订货看板编号,\n" +
" a.HQHKanBan AS 订货看板编号,\n" +
" a.AcceptanceDate 验收单日期,\n" +
" a.AcceptanceDate 验收单日期,\n" +
@ -1428,74 +1425,64 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
public string 交 货 单 号 { set ; get ; }
public string 交 货 单 号 { set ; get ; }
[ExporterHeader(DisplayName = "交货时间")]
[ExporterHeader(DisplayName = "交货时间")]
public string 交 货 时 间 { set ; get ; }
public string 交 货 时 间 { set ; get ; }
[ExporterHeader(DisplayName = "手工或自动")]
public string 手 工 或 自 动 { set ; get ; }
[ExporterHeader(DisplayName = "工厂")]
public string 工 厂 { set ; get ; }
[ExporterHeader(DisplayName = "外部单号")]
public string 外 部 单 号 { set ; get ; }
[ExporterHeader(DisplayName = "验收单日期")]
public string 验 收 单 日 期 { set ; get ; }
[ExporterHeader(DisplayName = "收货仓库")]
[ExporterHeader(DisplayName = "收货仓库")]
public string 收 货 仓 库 { set ; get ; }
public string 收 货 仓 库 { set ; get ; }
[ExporterHeader(DisplayName = "收货仓库描述")]
[ExporterHeader(DisplayName = "收货仓库描述")]
public string 收 货 仓 库 描 述 { set ; get ; }
public string 收 货 仓 库 描 述 { set ; get ; }
[ExporterHeader(DisplayName = "物料组(车型)")]
public string 物 料 组 { set ; get ; }
[ExporterHeader(DisplayName = "订货看板编号")]
[ExporterHeader(DisplayName = "订货看板编号")]
public string 订 货 看 板 编 号 { set ; get ; }
public string 订 货 看 板 编 号 { set ; get ; }
[ExporterHeader(DisplayName = "订货零件号")]
[ExporterHeader(DisplayName = "订货零件号")]
public string 订 货 零 件 号 { set ; get ; }
public string 订 货 零 件 号 { set ; get ; }
[ExporterHeader(DisplayName = "发货零件号")]
public string 发 货 零 件 号 { set ; get ; }
[ExporterHeader(DisplayName = "零件中文名称")]
public string 零 件 中 文 名 称 { set ; get ; }
[ExporterHeader(DisplayName = "Sap编码")]
[ExporterHeader(DisplayName = "Sap编码")]
public string Sap编码 { set ; get ; }
public string Sap编码 { set ; get ; }
[ExporterHeader(DisplayName = "物料组(车型)")]
[ExporterHeader(DisplayName = "零件中文名称")]
public string 物 料 组 { set ; get ; }
public string 零 件 中 文 名 称 { set ; get ; }
[ExporterHeader(DisplayName = "客户物料号")]
public string 客 户 物 料 号 { set ; get ; }
[ExporterHeader(DisplayName = "发货数量")]
[ExporterHeader(DisplayName = "发货数量")]
public decimal 发 货 数 量 { set ; get ; }
public decimal 发 货 数 量 { set ; get ; }
[ExporterHeader(DisplayName = "发货状态")]
[ExporterHeader(DisplayName = "退货数量")]
public string 发 货 状 态 { set ; get ; }
public string 退 货 数 量 { set ; get ; }
[ExporterHeader(DisplayName = "结算验收单号",IsIgnore =true)]
public string 结 算 验 收 单 号 { set ; get ; }
[ExporterHeader(DisplayName = "外部验收单号 ")]
[ExporterHeader(DisplayName = "实际发货数量")]
public string 外 部 验 收 单 号 { set ; get ; }
public decimal 实 际 发 货 数 量 { set ; get ; }
[ExporterHeader(DisplayName = "结算数量")]
[ExporterHeader(DisplayName = "结算数量")]
public decimal 结 算 数 量 { set ; get ; }
public decimal 结 算 数 量 { set ; get ; }
[ExporterHeader(DisplayName = "结算单价")]
[ExporterHeader(DisplayName = "结算单价")]
public decimal 结 算 单 价 { set ; get ; }
public decimal 结 算 单 价 { set ; get ; }
[ExporterHeader(DisplayName = "结算金额")]
[ExporterHeader(DisplayName = "结算金额")]
public decimal 结 算 金 额 { set ; get ; }
public decimal 结 算 金 额 { set ; get ; }
[ExporterHeader(DisplayName = "发货定价")]
public decimal 发 货 定 价 { set ; get ; }
[ExporterHeader(DisplayName = "销售单价")]
[ExporterHeader(DisplayName = "实际发货总金额")]
public decimal 销 售 单 价 { set ; get ; }
public decimal 实 际 发 货 总 金 额 { set ; get ; }
[ExporterHeader(DisplayName = "量差(实际发货-结算)")]
public decimal 量 差 { set ; get ; }
[ExporterHeader(DisplayName = "发货定价")]
public decimal 发 货 定 价 { set ; get ; }
[ExporterHeader(DisplayName = "发货总金额")]
public decimal 发 货 总 金 额 { set ; get ; }
[ExporterHeader(DisplayName = "数量差异")]
public decimal 数 量 差 异 { set ; get ; }
[ExporterHeader(DisplayName = "单价差异")]
[ExporterHeader(DisplayName = "单价差异")]
public decimal 单 价 差 异 { set ; get ; }
public decimal 单 价 差 异 { set ; get ; }
[ExporterHeader(DisplayName = "差异总金额")]
[ExporterHeader(DisplayName = "差异总金额")]
public decimal 差 异 总 金 额 { set ; get ; }
public decimal 差 异 总 金 额 { set ; get ; }
[ExporterHeader(DisplayName = "工厂")]
public string 工 厂 { set ; get ; }
[ExporterHeader(DisplayName = "看板编号")]
[ExporterHeader(DisplayName = "看板编号")]
public string 看 板 编 号 { set ; get ; }
public string 看 板 编 号 { set ; get ; }
[ExporterHeader(DisplayName = "验收单日期")]
public string 验 收 单 日 期 { set ; get ; }
[ExporterHeader(DisplayName = "退货数量")]
public string 退 货 数 量 { set ; get ; }
}
}
@ -1530,8 +1517,8 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
[ExporterHeader(DisplayName = "结算验收单号",IsIgnore =true)]
[ExporterHeader(DisplayName = "结算验收单号",IsIgnore =true)]
public string 结 算 验 收 单 号 { set ; get ; }
public string 结 算 验 收 单 号 { set ; get ; }
[ExporterHeader(DisplayName = "外部验收 单号")]
[ExporterHeader(DisplayName = "外部单号")]
public string 外 部 验 收 单 号 { set ; get ; }
public string 外 部 单 号 { set ; get ; }
[ExporterHeader(DisplayName = "发货数量")]
[ExporterHeader(DisplayName = "发货数量")]
public decimal 发 货 数 量 { set ; get ; }
public decimal 发 货 数 量 { set ; get ; }
@ -1602,12 +1589,18 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
[ExporterHeader(DisplayName = "发货数量")]
[ExporterHeader(DisplayName = "发货数量")]
public decimal 发 货 数 量 { set ; get ; }
public decimal 发 货 数 量 { set ; get ; }
[ExporterHeader(DisplayName = "结算数量")]
public decimal 结 算 数 量 { set ; get ; }
[ExporterHeader(DisplayName = "退货数量")]
[ExporterHeader(DisplayName = "退货数量")]
public decimal 退 货 数 量 { set ; get ; }
public decimal 退 货 数 量 { set ; get ; }
[ExporterHeader(DisplayName = "实际发货数量")]
[ExporterHeader(DisplayName = "实际发货数量")]
public decimal 实 际 发 货 数 量 { set ; get ; }
public decimal 实 际 发 货 数 量 { set ; get ; }
[ExporterHeader(DisplayName = "未结数量")]
public decimal 未 结 数 量 { set ; get ; }
[ExporterHeader(DisplayName = "发货定价")]
[ExporterHeader(DisplayName = "发货定价")]
public decimal 发 货 定 价 { set ; get ; }
public decimal 发 货 定 价 { set ; get ; }