I have a procedure where the same SAP_ID
is inserted thrice. But their BILL_START_DATE
and BILL_END_DATE
is different for all the sap id.
Below is the updated information
So I want to calculate for each sap id with respect to different start and end date. So is there any way on how to make it differentiate for calculation purpose.
Below is table details
Table: IPFEE_MST_INSRT_BIL
Name Null? Type
----------------------------- ----- --------------
SAP_ID NVARCHAR2(100)
R4GSTATE VARCHAR2(100)
BILL_START_DATE DATE
BILL_END_DATE DATE
UPLOADED_MONTH VARCHAR2(9)
UPLOADED_YEAR VARCHAR2(9)
Also where I want to calculate is the procedure link below