Hi,

We are using GIS 4.0. We have a logic in a map that is part of an inbound 
business process (eg., when an 850 is processed, this map is automatically 
called) Since I am still new to GIS and have absolutely no knowledge of Java 
calls, I have the following questions -
1) It is my understanding random number is generated r2 = ob.hashCode(). How 
does this code work? Can I see these codes in detail? If so, in which directory?
2) We have quiet a few BP's. How does GIS know which BP to use in this 
statement - /ProcessData/CurrentProcessID/text()?


string [16] RN, RNUM, NEWDOCNUM;                                                
                                                                                
                                      
  string [30] BPID;                                                             
                                                                                
                                        
  integer b, s;                                                                 
                                                                                
                                        
  real r2;                                                                      
                                                                                
                                        
  object ob;                                                                    
                                                                                
                                        
  ob = new("java.lang.Object");                                                 
                                                                                
                                        
                                                                                
                                                                                
                                        
  select xpathresult into BPID from processdata where 
xpath="/ProcessData/CurrentProcessID/text()";                                   
                                                                  
  NEWDOCNUM = trimright(BPID);                                                  
                                                                                
                                        
  b = len(NEWDOCNUM);                                                           
                                                                                
                                        
  r2 = ob.hashCode();                                                           
                                                                                
                                        
  ntoa(r2,RN);                                                                  
                                                                                
                                        
  s = 16 - b;                                                                   
                                                                                
                                        
  RNUM = right(RN,s);                                                           
                                                                                
                                        
  concat(NEWDOCNUM,RNUM,s);     


Any help regarding this code will be useful. Thanks - Miriam



CONFIDENTIALITY NOTICE: This message (including any attachments) may contain 
Molex confidential information, protected by law. If this message is 
confidential, forwarding it to individuals, other than those with a need to 
know, without the permission of the sender, is prohibited.

This message is also intended for a specific individual. If you are not the 
intended recipient, you should delete this message and are hereby notified that 
any disclosure, copying, or distribution of this message or taking of any 
action based upon it, is strictly prohibited. 

Chinese  Japanese

www.molex.com/confidentiality.html



[Non-text portions of this message have been removed]



...
Please use the following Message Identifiers as your subject prefix: <SALES>, 
<JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC>

Job postings are welcome, but for job postings or requests for work: <JOBS> IS 
REQUIRED in the subject line as a prefix. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/EDI-L/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/EDI-L/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to