/[papo]/papo/forms/creditNote.neb
ViewVC logotype

Diff of /papo/forms/creditNote.neb

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by apronotti, Mon May 26 14:56:56 2003 UTC revision 1.9 by apronotti, Tue May 27 22:47:33 2003 UTC
# Line 1  Line 1 
1  <?xml version="1.0" encoding="ISO-8859-1"?>  <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE form SYSTEM "gnue-forms.dtd">  
2    
3  <form width="107" height="24" title="Notas de Crédito a Clientes">  <form width="107" height="24" title="Notas de Crédito a Clientes">
4    <datasource name="tmpValuesDataSource" cache="1"/>    <datasource name="tmpValuesDataSource" cache="1"/>
# Line 307  Line 306 
306       if len(ownDocumentBlock.dateEntry) == 0:       if len(ownDocumentBlock.dateEntry) == 0:
307           ownDocumentBlock.dateEntry = ownDocumentDataSource.getTimeStamp()           ownDocumentBlock.dateEntry = ownDocumentDataSource.getTimeStamp()
308    
      proceedingBlock.clear()  
      proceedingBlock.idEntry.autofillBySequence('proceeding_id_seq')  
      proceedingBlock.dateEntry = proceedingDataSource.getTimeStamp()  
   
      ownDocumentBlock.idEntry.autofillBySequence('own_document_id_seq')  
   
      ownDocumentProceedingBlock.clear()  
      ownDocumentProceedingBlock.proceedingEntry = str(proceedingBlock.idEntry)  
      ownDocumentProceedingBlock.ownDocumentEntry = str(ownDocumentBlock.idEntry)  
      ownDocumentProceedingBlock.amountEntry = 0  
   
309       from gnue.common.GDataObjects import ConnectionError as DBError       from gnue.common.GDataObjects import ConnectionError as DBError
310       try:       try:
311         postChangeAdvance = 0         postChangeAdvance = 0
# Line 326  Line 314 
314         ownPosDocumentBlock.documentNumberEntry.postAtomicModify (lambda x: int(x)+1)         ownPosDocumentBlock.documentNumberEntry.postAtomicModify (lambda x: int(x)+1)
315         postChangeAdvance = 2         postChangeAdvance = 2
316         proceedingBlock.postChanges()         proceedingBlock.postChanges()
317    
318           proceedingBlock.clear()
319    
320           proceedingBlock.dateEntry = proceedingDataSource.getTimeStamp()
321      
322           ownDocumentProceedingBlock.clear()
323           ownDocumentProceedingBlock.proceedingEntry = str(proceedingBlock.idEntry)
324           ownDocumentProceedingBlock.ownDocumentEntry = str(ownDocumentBlock.idEntry)
325           ownDocumentProceedingBlock.amountEntry = 0
326    
327         postChangeAdvance = 3         postChangeAdvance = 3
328         ownDocumentProceedingBlock.postChanges()         ownDocumentProceedingBlock.postChanges()
329         postChangeAdvance = 4         postChangeAdvance = 4

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26