科目接口优化控制级次对象
This commit is contained in:
		
							parent
							
								
									722c92918c
								
							
						
					
					
						commit
						b287b619e0
					
				|  | @ -175,7 +175,7 @@ public class AspAccountControler { | |||
|                 acctInfo.set("startdate", TypeUtils.castToDate("2024-01-01"));//版本化日期 | ||||
|                 acctInfo.set("enddate", TypeUtils.castToDate("2999-12-31"));//失效日期 | ||||
|                 acctInfo.set("accrualdirection", "nocontrol");//科目录入方向控制 不控制nocontrol 借方debit 贷方credit | ||||
|                 acctInfo.set("orgcontrollevel", 1);//控制级次 默认为1 | ||||
|                 acctInfo.set("orgcontrollevel", 2);//控制级次 默认为2 | ||||
|                 acctInfo.set("isallowca", false);//允许公司增加下级科目 由接口同步 为false时控制级次可以不设置 | ||||
|                 acctInfo.set("ismanual", true);//手工录入 由接口同步 | ||||
|                 acctInfo.set("iscash", false);//现金科目 默认false sap不区分 | ||||
|  | @ -401,7 +401,7 @@ public class AspAccountControler { | |||
|         newAcctInfo.set("startdate", TypeUtils.castToDate("2024-01-01"));//版本化日期 | ||||
|         newAcctInfo.set("enddate", TypeUtils.castToDate("2999-12-31"));//失效日期 | ||||
|         newAcctInfo.set("accrualdirection", "nocontrol");//科目录入方向控制 不控制nocontrol 借方debit 贷方credit | ||||
|         newAcctInfo.set("orgcontrollevel", 1);//控制级次 默认为1 | ||||
|         newAcctInfo.set("orgcontrollevel", olddo.getInt("orgcontrollevel"));//控制级次 根据源科目来设置 | ||||
|         newAcctInfo.set("isallowca", false);//允许公司增加下级科目 由接口同步 为false时控制级次可以不设置 | ||||
|         newAcctInfo.set("ismanual", true);//手工录入 由接口同步 | ||||
|         newAcctInfo.set("iscash", olddo.getBoolean("iscash"));//现金科目 默认false sap不区分 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue