Progress - 4GL, show the qty of difference for same item from two different excel in to single excel.
/* program take input from two excel sheets and show the same item with same rate and their corresponding value in same row ,*/ /* if not found same item with same rate , then fetch the first record for the item from second sheet and show this record with not matched record */ /* item found in one sheet but not in another sheet will show with the zero value for the sheet for which it is not found */ DEFINE TEMP-TABLE ttinv_st NO-UNDO FIELD st_part AS CHARACTER FIELD st_qty AS DECIMAL FORMAT "->>>,999,999.999" FIELD st_rate AS DECIMAL FORMAT "->>>,999,999.999". DEFINE TEMP-TABLE ttinv_st2 NO-UNDO FIELD st2_part AS CHARACTER FIELD st2_qty AS DECIMAL FORMAT "->>>,999,999.999" FIELD st2_rate AS DECIMAL FORMAT "->>>,999,999.999". DEFINE TEMP-TABLE ttinv_cs NO-UNDO FIELD cs_part AS CHARACTER FIELD cs_qty AS DECIMAL FORMAT "->>>,999,999.999" F