svn commit: r559684 - in /ofbiz/trunk/specialpurpose/oagis: entitydef/entitymodel.xml src/org/ofbiz/oagis/OagisInventoryServices.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r559684 - in /ofbiz/trunk/specialpurpose/oagis: entitydef/entitymodel.xml src/org/ofbiz/oagis/OagisInventoryServices.java

apatel-2
Author: apatel
Date: Wed Jul 25 21:05:31 2007
New Revision: 559684

URL: http://svn.apache.org/viewvc?view=rev&rev=559684
Log:
put some notes for future reference.

Modified:
    ofbiz/trunk/specialpurpose/oagis/entitydef/entitymodel.xml
    ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java

Modified: ofbiz/trunk/specialpurpose/oagis/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/entitydef/entitymodel.xml?view=diff&rev=559684&r1=559683&r2=559684
==============================================================================
--- ofbiz/trunk/specialpurpose/oagis/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/specialpurpose/oagis/entitydef/entitymodel.xml Wed Jul 25 21:05:31 2007
@@ -43,7 +43,7 @@
     <entity entity-name="OagisMessageInfo" package-name="org.ofbiz.specialpurpose.oagis" title="OAGIS Message Info Entity">
         <field name="logicalId" type="very-short"><!-- CNTROLAREA -> SENDER -> LOGICALID; max 10 chars --></field>
         <field name="component" type="very-short"><!-- CNTROLAREA -> SENDER -> COMPONENT; max 10 chars --></field>
-        <field name="task" type="short-varchar"><!-- CNTROLAREA -> SENDER -> TASK; --></field>
+        <field name="task" type="short-varchar"><!-- CNTROLAREA -> SENDER -> TASK; max 10 chars --></field>
         <field name="referenceId" type="id-long-ne">
             <!-- CNTROLAREA -> SENDER -> REFERENCEID; max 40 chars in spec; for messages sent from OFBiz this will be a
                 sequenced ID and be unique on its own; for messages from other systems this may only be unique relative

Modified: ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java?view=diff&rev=559684&r1=559683&r2=559684
==============================================================================
--- ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java (original)
+++ ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java Wed Jul 25 21:05:31 2007
@@ -346,7 +346,7 @@
         
         String logicalId = UtilXml.childElementValue(docSenderElement, "of:LOGICALID");
         String component = UtilXml.childElementValue(docSenderElement, "of:COMPONENT");
-        String task = UtilXml.childElementValue(docSenderElement, "of:TASK");
+        String task = UtilXml.childElementValue(docSenderElement, "of:TASK"); // This field should be Not more then 10 char long
         String referenceId = UtilXml.childElementValue(docSenderElement, "of:REFERENCEID");
         String confirmation = UtilXml.childElementValue(docSenderElement, "of:CONFIRMATION");
         String authId = UtilXml.childElementValue(docSenderElement, "of:AUTHID");