553: l_credit_rec.p_batch_name := g_null;
554: l_credit_rec.p_deposit_date := g_null;
555: l_credit_rec.p_invoice_id := p_n_source_invoice_id;
556:
557: --Create a credit by calling the Private Credits API with p_validation_level as fnd_api.g_valid_level_none.
558: igs_fi_credit_pvt.create_credit( p_api_version => 2.1,
559: p_init_msg_list => fnd_api.g_true,
560: p_commit => fnd_api.g_false,
561: p_validation_level => fnd_api.g_valid_level_none,
555: l_credit_rec.p_invoice_id := p_n_source_invoice_id;
556:
557: --Create a credit by calling the Private Credits API with p_validation_level as fnd_api.g_valid_level_none.
558: igs_fi_credit_pvt.create_credit( p_api_version => 2.1,
559: p_init_msg_list => fnd_api.g_true,
560: p_commit => fnd_api.g_false,
561: p_validation_level => fnd_api.g_valid_level_none,
562: x_return_status => p_status,
563: x_msg_count => l_msg_count,
556:
557: --Create a credit by calling the Private Credits API with p_validation_level as fnd_api.g_valid_level_none.
558: igs_fi_credit_pvt.create_credit( p_api_version => 2.1,
559: p_init_msg_list => fnd_api.g_true,
560: p_commit => fnd_api.g_false,
561: p_validation_level => fnd_api.g_valid_level_none,
562: x_return_status => p_status,
563: x_msg_count => l_msg_count,
564: x_msg_data => l_msg_data,
557: --Create a credit by calling the Private Credits API with p_validation_level as fnd_api.g_valid_level_none.
558: igs_fi_credit_pvt.create_credit( p_api_version => 2.1,
559: p_init_msg_list => fnd_api.g_true,
560: p_commit => fnd_api.g_false,
561: p_validation_level => fnd_api.g_valid_level_none,
562: x_return_status => p_status,
563: x_msg_count => l_msg_count,
564: x_msg_data => l_msg_data,
565: p_credit_rec => l_credit_rec,