Differences between revisions 1 and 9 (spanning 8 versions)
Revision 1 as of 2010-07-19 22:36:16
Size: 1103
Editor: clifford
Comment:
Revision 9 as of 2010-07-29 05:27:48
Size: 1289
Editor: clifford
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
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,  
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,
Line 8: Line 3:
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
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
Line 11: Line 5:
3,approach
1,change transaction dec file
   need to know tran type to struct match see tranck
2,make upgrade program
   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,
   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
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
 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

test case

 1. make manual po--need to fix print po//done --fix unposted
 1. make receive manual po--done
 1. created transfer po
 1. receive transfer po
 1. payment on invoices---done
 1. receive a docket
 1. receive invoice for docket
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
  4. receive transfer po
  5. payment on invoices---done
  6. receive a docket
  7. receive invoice for docket

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)