114: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
115: END IF;
116:
117: -------------------------------------------------------------------------
118: -- Call the common API CST_PerEndAccruals_PVT.Create_PerEndAccruals()
119: -- This API creates period end accrual entries in the temporary table
120: -- CST_PER_END_ACCRUALS_TEMP.
121: -------------------------------------------------------------------------
122: l_stmt_num := 40;
119: -- This API creates period end accrual entries in the temporary table
120: -- CST_PER_END_ACCRUALS_TEMP.
121: -------------------------------------------------------------------------
122: l_stmt_num := 40;
123: CST_PerEndAccruals_PVT.Create_PerEndAccruals (
124: p_api_version => 1.0,
125: p_init_msg_list => FND_API.G_FALSE,
126: p_commit => FND_API.G_FALSE,
127: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
134: p_end_date => l_sys_setup_rec.period_end_date,
135: p_accrued_receipt => 'N',
136: p_online_accruals => 'N',
137: p_closed_pos => 'N',
138: p_calling_api => CST_PerEndAccruals_PVT.G_RECEIPT_ACCRUAL_PER_END
139: );
140: -- If return status is not success, add message to the log
141: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS ) THEN
142: l_msg_data := 'Failed generating Period End Accrual information';