Timecard api in OTL not executing successfully
I am executing the create_timecard_bb api in order to upload time card information to building block table. I am using the below code but the parameter value for l_time_building_block_id is returning -2 and the timecard is not uploaded. Please can you guide me here as to what is missing that I have to do.
HXC_TIMESTORE_DEPOSIT.create_timecard_bb(
p_start_time => ld_period_start,
p_stop_time => ld_period_end,
p_resource_id => 27958,--to_number(nvl(v_person_id,123456789)),
p_resource_type => 'PERSON',
-- p_approval_style_id => 41,
p_app_blocks => l_tbl_timecard_info,