record of tables datatype used in API
I'm working on using an API described in Note.976328.1 - Data Hooks For Manipulating Data in Value Chain Planning.
I need to use the MSCATPCB.pls and Add code to modify information generated by the ATP engine.
For this I need to say
IF p_atp_rec.ship_date < p_atp_rec.requested_ship_date THEN x_atp_rec.Ship_Date:= apps.rsc_next_work_day(sysdate); END IF; x_return_status := fnd_api.g_ret_sts_success; x_modify_flag := 1;End;
Here apps.rsc_next_work_day returns the next working day date.
I cannot seem to complie this code.I get the error