Differences between revisions 2 and 13 (spanning 11 versions)
Revision 2 as of 2010-07-20 04:37:19
Size: 1088
Editor: clifford
Comment:
Revision 13 as of 2013-09-18 06:09:34
Size: 1339
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
2,make upgrade program 2,make upgrade program--done
Line 10: Line 10:
 . need to design if use other type for refno need to make an inc file per transaction struct.
3,compile with #define SHTDEC to LNGDEC 4,do test on normal cash sales. 5,recompile trrein base reindex , 5,test try find old tran by refno , try out old tran to screen , try reprint old tran,
 1. cp tran.dat to tran.old
 1. cp daytrn.dat to daytrn.old
 1. fcreate tran.dat and daytrn.dat as 256 static
 1. run tranupda
 1. run daytranupda
 1. set first bucket for tran.dat and daytrn.dat to be 101
3, refno is decided to left as shtdec 4, test on cr trans
Line 13: Line 18:
 . thing may not work if when doing formating example converting string to SHTDEC , or converting SHTDEC to string or displaying SHTDEC , need to redefine SHORTD test case

 1. make manual po--need to fix print po//done --fix unposted
 1. make receive manual po--done
 1. created transfer po--done
 1. receive transfer po--done
 1. payment on invoices---done
 1. receive a docket---done
 1. receive invoice for docket---done
 1. adjustment -- dont
requirement

 1. all transaction , should be displayable on crenq
 1. all outstanding invoice should be displayable on crcrep

procedure to convert SHTDEC to LNGDEC for control rel 12 1,there are two method , 1, hash define SHTDEC to be LNGDEC pro, easier con, lost the ability to store SHTDEC, every thing turns into LNGDEC even the fields should store in SHTDEC, waste space, harder when writing upgrade programs,

2, go through each transaction type identify their structure, and identify the structure and the field needed to be made LNGDEC , then search through the source code and try to spot any place which use the field

3,approach 1,change transaction dec file

  • need to know tran type to struct match see tranck

2,make upgrade program--done

  1. cp tran.dat to tran.old
  2. cp daytrn.dat to daytrn.old
  3. fcreate tran.dat and daytrn.dat as 256 static
  4. run tranupda
  5. run daytranupda
  6. set first bucket for tran.dat and daytrn.dat to be 101

3, refno is decided to left as shtdec 4, test on cr trans

test case

  1. make manual po--need to fix print po//done --fix unposted
  2. make receive manual po--done
  3. created transfer po--done
  4. receive transfer po--done
  5. payment on invoices---done
  6. receive a docket---done
  7. receive invoice for docket---done
  8. adjustment -- dont

requirement

  1. all transaction , should be displayable on crenq
  2. all outstanding invoice should be displayable on crcrep

convertlongdec.html (last edited 2013-09-18 06:09:34 by localhost)