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
- 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
