优化SAP清账
This commit is contained in:
		
							parent
							
								
									1bd418efc0
								
							
						
					
					
						commit
						0249425822
					
				|  | @ -284,17 +284,15 @@ public class ASParbillFormPlugin extends AbstractFormPlugin { | |||
|             this.getModel().setValue("shjh_e_fph", detail.getString("AWKEY"), i);//发票号 | ||||
| //            this.getModel().setValue("shjh_e_fpdate",detail.getDate(""), i);//发票日期 | ||||
|             this.getModel().setValue("shjh_e_account", detail.getString("HKONT"), i);// 总账科目 | ||||
| //            this.getModel().setValue("shjh_e_fenpei",detail.getString(""), i);// 分配 | ||||
|             this.getModel().setValue("shjh_e_fenpei",detail.getString("ZUONR"), i);// 分配 | ||||
|             this.getModel().setValue("shjh_e_canzhao", detail.getString("XBLNR"), i);// 参照 | ||||
|             //20250707 原参考代码1 XREF1 按照要求取sap新增的字段 凭证标题的内部参考码 XREF1_HD | ||||
|             this.getModel().setValue("shjh_e_ckdm1", detail.getString("XREF1_HD"), i);//参考代码1 | ||||
|             this.getModel().setValue("shjh_e_ckdm2", detail.getString("XREF2"), i);// 参考代码2 | ||||
| //            this.getModel().setValue("shjh_e_text",detail.getString(""), i);// 文本 | ||||
|             this.getModel().setValue("shjh_e_text",detail.getString("SGTXT"), i);// 文本 | ||||
|             this.getModel().setValue("shjh_e_gzdate", detail.getDate("BUDAT"), i);// 过账日期 | ||||
|             this.getModel().setValue("shjh_e_unsettle", detail.getBigDecimal("DMBTR"), i);//未核销金额 | ||||
|             this.getModel().setValue("shjh_e_year", detail.getString("GJAHR"), i);//会计年度 | ||||
|             this.getModel().setValue("shjh_e_text", detail.getString("SGTXT"), i);//项目文本 | ||||
|             this.getModel().setValue("shjh_e_fpbh", detail.getString("ZUONR"), i);//分配编号 | ||||
|         } catch (Exception e) { | ||||
|             logger.error("分录赋值异常: " + e.getMessage()); | ||||
|             this.getView().showMessage("分录赋值异常!" + e.getMessage()); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue