|
|

楼主 |
发表于 2008/9/2 10:05:27
|
显示全部楼层
请看下面的信息
*** 2008-09-02 10:11:02.906 Compiere Log (CLogConsole) ***
10:11:02.906 Compiere.startup: Compiere(r) Release 3.0.2_2008-04-07 - Smart ERP
& CRM - (c) 1999-2008 Compiere (r); Implementation: 3.0.2 20080407-1758 - Compie
re China
10:11:02.906 Compiere.startup: Client zanmei/: G:\Compiere2 - Java
HotSpot(TM) Client VM 1.5.0_15-b04 - Windows 2003 5.2 Service Pack 2
10:11:04.281 Ini.loadProperties: C:\Documents and Settings\Administrator\Compier
e.properties #27
-----------> CConnection.getStatusEjbStub: jnp://zanmei:1099
- javax.naming.CommunicationException: Receive timed out [Root exception is jav
a.net.SocketTimeoutException: Receive timed out]
- {java.naming.provider.url=jnp://zanmei:1099, java.naming.factory.initial=org.
jnp.interfaces.NamingContextFactory, jnp.discoveryTimeout=2000, jnp.timeout=2000
, java.naming.factory.url.pkgs=org.jboss.naming.client, jnp.sotimeout=2000}
===========> DB.executeUpdate: INSERT INTO C_Order (AD_Client_ID,AD_Org_ID,AD_Us
er_ID,Bill_BPartner_ID,Bill_Location_ID,Bill_User_ID,C_BPartner_ID,C_BPartner_Lo
cation_ID,C_Currency_ID,C_DocTypeTarget_ID,C_DocType_ID,C_Order_ID,C_PaymentTerm
_ID,ChargeAmt,Created,CreatedBy,DateAcct,DateOrdered,DatePromised,DeliveryRule,D
eliveryViaRule,Description,DocAction,DocStatus,DocumentNo,FreightAmt,FreightCost
Rule,GrandTotal,InvoiceRule,IsActive,IsApproved,IsCreditApproved,IsDelivered,IsD
iscountPrinted,IsDropShip,IsInvoiced,IsPrinted,IsReturnTrx,IsSOTrx,IsSelected,Is
SelfService,IsTaxIncluded,IsTransferred,M_PriceList_ID,M_Warehouse_ID,PaymentRul
e,Posted,PriorityRule,Processed,Processing,SendEMail,TotalLines,Updated,UpdatedB
y) VALUES (11,11,103,114,109,103,114,109,100,126,0,1000007,106,0,TO_DATE('2008-0
9-02 10:11:51','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2008-09-02','YYYY-MM-DD'),T
O_DATE('2008-09-02','YYYY-MM-DD'),TO_DATE('2008-09-02','YYYY-MM-DD'),'A','P','Re
quisition: 900001','PR','DR','800005',0,'I',0,'I','Y','N','N','N','N','N','N','N
','N','N','N','N','N','N',101,103,'P','N','5','N','N','N',0,TO_DATE('2008-09-02
10:11:51','YYYY-MM-DD HH24:MI:SS'),100) [SvrProcess_1220321511750] [11]
java.sql.SQLException: ORA-01400: cannot insert NULL into ("COMPIERE"."C_ORDER".
"SALESREP_ID")
; State=23000; ErrorCode=1400
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
:125)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:305)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:623)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.
java:181)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedS
tatement.java:543)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
nt.java:1028)
at oracle.jdbc.driver.OracleStatement.doScrollExecuteCommon(OracleStatem
ent.java:3753)
at oracle.jdbc.driver.OraclePreparedStatement.doScrollPstmtExecuteUpdate
(OraclePreparedStatement.java:8829)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePrep
aredStatement.java:2886)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePrepar
edStatement.java:2960)
at org.compiere.util.CPreparedStatement.executeUpdate(CPreparedStatement
.java:215)
at org.compiere.util.DB.executeUpdate(DB.java:840)
at org.compiere.util.DB.executeUpdate(DB.java:747)
at org.compiere.framework.PO.saveNewInsertSQL(PO.java:2770)
at org.compiere.framework.PO.saveNew(PO.java:2619)
at org.compiere.framework.PO.save(PO.java:2216)
at org.compiere.process.RequisitionPOCreate.newOrder(RequisitionPOCreate
.java:297)
at org.compiere.process.RequisitionPOCreate.newLine(RequisitionPOCreate.
java:368)
at org.compiere.process.RequisitionPOCreate.process(RequisitionPOCreate.
java:261)
at org.compiere.process.RequisitionPOCreate.doIt(RequisitionPOCreate.jav
a:121)
at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:91)
at org.compiere.apps.ProcessCtl.startProcess(ProcessCtl.java:483)
at org.compiere.apps.ProcessCtl.run(ProcessCtl.java:251)
-----------> DB.saveError: DBExecuteError - ORA-01400: cannot insert NULL into (
"COMPIERE"."C_ORDER"."SALESREP_ID")
[11]
-----------> MOrder.saveNewInsertSQL: [SvrProcess_1220321511750]Not inserted - C
_Order [11]
-----------> RequisitionPOCreate.startProcess: Cannot save Order [11]
[ 本帖最后由 zanmei2046 于 2008-9-2 10:13 编辑 ] |
|