HI Everyone,
Please find the below use case and provide the best understandable solution for this:
Case1:
- Buying Start Date = Begin DT
- if above 1 fails, then check "Buying Start Date” of Trade report = Any date between “Begin DT” and “Due DT” of Invoice Excel.
- if above 2 fails , throw a error
Case2:
- Buying End Date = End DT
- if above 1 fails, then check "Buying End Date” of Trade report = equal to “Due DT” value or any date in range of +21 days to the “END DT” of Invoice.
- if above 2 fails, throw a error