EAS8.1应收单和应付单报表取数函数在集团个别报表模板报错,但是实体选择此函数时正常
在各公司的公共报表模板中选择应收单和应付单取数函数显示如下:
在集团个别报表模板选择应收单和应付单取数函数显示如下:
报错信息如下:
错误信息:java.lang.String cannot be cast to com.kingdee.eas.basedata.org.CompanyOrgUnitInfo
错误详细堆栈信息:java.lang.ClassCastException: java.lang.String cannot be cast to com.kingdee.eas.basedata.org.CompanyOrgUnitInfo
at: com.kingdee.eas.fi.arap.rptformula.client.ArApOtherBillFormulaWinzardUI.initMaterialF7(ArApOtherBillFormulaWinzardUI.java:182)
at: com.kingdee.eas.fi.arap.rptformula.client.ArApOtherBillFormulaWinzardUI.onOpen(ArApOtherBillFormulaWinzardUI.java:66)
at: com.kingdee.eas.fi.arap.rptformula.client.AcctReceivableFormulaWinzardUI.onOpen(AcctReceivableFormulaWinzardUI.java:60)
at: com.kingdee.eas.fi.rpt.client.FormulaWizardUI.open(FormulaWizardUI.java:217)
at: com.kingdee.eas.fi.rpt.client.FormulaWizardUI.open(FormulaWizardUI.java:198)
at: com.kingdee.eas.fi.rpt.client.FormulaPickerUI.callWizard(FormulaPickerUI.java:671)
at: com.kingdee.eas.fi.rpt.client.FormulaPickerUI.btnOk_actionPerformed(FormulaPickerUI.java:616)
at: com.kingdee.eas.fi.rpt.client.AbstractFormulaPickerUI$3.actionPerformed(AbstractFormulaPickerUI.java:188)
at: javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at: javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at: javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at: javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at: javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at: java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at: java.awt.Component.processMouseEvent(Component.java:6288)
at: javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at: com.kingdee.bos.ctrl.swing.KDButton.processMouseEvent(KDButton.java:131)
at: java.awt.Component.processEvent(Component.java:6053)
at: java.awt.Container.processEvent(Container.java:2041)
at: java.awt.Component.dispatchEventImpl(Component.java:4651)
at: java.awt.Container.dispatchEventImpl(Container.java:2099)
at: java.awt.Component.dispatchEvent(Component.java:4481)
at: java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at: java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at: java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at: java.awt.Container.dispatchEventImpl(Container.java:2085)
at: java.awt.Window.dispatchEventImpl(Window.java:2478)
at: java.awt.Component.dispatchEvent(Component.java:4481)
at: java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
at: java.awt.EventQueue.access$000(EventQueue.java:84)
at: java.awt.EventQueue$1.run(EventQueue.java:602)
at: java.awt.EventQueue$1.run(EventQueue.java:600)
at: java.security.AccessController.doPrivileged(Native Method)
at: java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at: java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at: java.awt.EventQueue$2.run(EventQueue.java:616)
at: java.awt.EventQueue$2.run(EventQueue.java:614)
at: java.security.AccessController.doPrivileged(Native Method)
at: java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at: java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
at: com.kingdee.bos.invokecounter.RPCLogEventQueue.dispatchEvent(RPCLogEventQueue.java:176)
at: sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at: java.lang.reflect.Method.invoke(Method.java:597)
at: com.kingdee.eas.client.recorder.UserInputEventQueue.myDispatchEvent(UserInputEventQueue.java:126)
at: com.kingdee.eas.client.recorder.UserInputEventQueue.dispatchEvent(UserInputEventQueue.java:59)
at: java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at: java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at: java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
at: java.awt.Dialog$1.run(Dialog.java:1046)
at: java.awt.Dialog$3.run(Dialog.java:1098)
at: java.security.AccessController.doPrivileged(Native Method)
at: java.awt.Dialog.show(Dialog.java:1096)
at: com.kingdee.bos.ctrl.swing.KDDialog.show(KDDialog.java:186)
at: com.kingdee.eas.base.uiframe.client.UIModelDialog.show(UIModelDialog.java:120)
at: com.kingdee.eas.fi.rpt.client.FormulaPickerUI.open(FormulaPickerUI.java:146)
at: com.kingdee.eas.fi.newrpt.client.designer.FormulaPicker.pick(FormulaPicker.java:199)
at: com.kingdee.eas.fi.newrpt.client.designer.FormulaPicker.show(FormulaPicker.java:242)
at: com.kingdee.bos.ctrl.excel.impl.action.WizzardAction.doAction(WizzardAction.java:64)
at: com.kingdee.bos.ctrl.excel.impl.action.SpreadAction.actionPerformed(SpreadAction.java:114)
at: com.kingdee.bos.ctrl.excel.impl.facade.PromptPanel$LeftPromptPanel$ActionWrapper.actionPerformed(PromptPanel.java:591)
at: javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at: javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at: javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at: javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at: javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at: java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at: java.awt.Component.processMouseEvent(Component.java:6288)
at: javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at: com.kingdee.bos.ctrl.swing.KDButton.processMouseEvent(KDButton.java:131)
at: java.awt.Component.processEvent(Component.java:6053)
at: java.awt.Container.processEvent(Container.java:2041)
at: java.awt.Component.dispatchEventImpl(Component.java:4651)
at: java.awt.Container.dispatchEventImpl(Container.java:2099)
at: java.awt.Component.dispatchEvent(Component.java:4481)
at: java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at: java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at: java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at: java.awt.Container.dispatchEventImpl(Container.java:2085)
at: java.awt.Window.dispatchEventImpl(Window.java:2478)
at: java.awt.Component.dispatchEvent(Component.java:4481)
at: java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
at: java.awt.EventQueue.access$000(EventQueue.java:84)
at: java.awt.EventQueue$1.run(EventQueue.java:602)
at: java.awt.EventQueue$1.run(EventQueue.java:600)
at: java.security.AccessController.doPrivileged(Native Method)
at: java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at: java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at: java.awt.EventQueue$2.run(EventQueue.java:616)
at: java.awt.EventQueue$2.run(EventQueue.java:614)
at: java.security.AccessController.doPrivileged(Native Method)
at: java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at: java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
at: com.kingdee.bos.invokecounter.RPCLogEventQueue.dispatchEvent(RPCLogEventQueue.java:176)
at: sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at: java.lang.reflect.Method.invoke(Method.java:597)
at: com.kingdee.eas.client.recorder.UserInputEventQueue.myDispatchEvent(UserInputEventQueue.java:126)
at: com.kingdee.eas.client.recorder.UserInputEventQueue.dispatchEvent(UserInputEventQueue.java:59)
at: java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at: java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at: java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at: java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at: java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at: java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
推荐阅读