Currently have table with following structure:
CY_DATE
PY_DATE
ACCOUNT
ACCT_UNIT
SUB_ACCT
DESCR
CY_AMT
CY_UNITS
PY_AMT
PY_UNITS
I am looking for a way to insert the PY_AMT and PY_UNITS. It is going to read in the CY_DATE, ACCOUNT, ACCT_UNIT, SUB_ACCT, DESCR, CY_AMT, and CY_UNITS from a file. The PY_DATE will be inserted from a cross reference table. I am going to have to take the PY_DATE and find where it matches a CY_DATE entry with all of the other fields matching each other. Is there an easy way to do this?
Any help is greatly appreciated.
CY_DATE
PY_DATE
ACCOUNT
ACCT_UNIT
SUB_ACCT
DESCR
CY_AMT
CY_UNITS
PY_AMT
PY_UNITS
I am looking for a way to insert the PY_AMT and PY_UNITS. It is going to read in the CY_DATE, ACCOUNT, ACCT_UNIT, SUB_ACCT, DESCR, CY_AMT, and CY_UNITS from a file. The PY_DATE will be inserted from a cross reference table. I am going to have to take the PY_DATE and find where it matches a CY_DATE entry with all of the other fields matching each other. Is there an easy way to do this?
Any help is greatly appreciated.