azizrasul
Well-known Member
- Joined
- Jul 7, 2003
- Messages
- 1,304
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
I have never used or run a stored procedure before so hence I'm really stuck. All I have is an ORACLE expert who has given me the following cryptic clue
Can anyone give a simple step by step guide what to do? Thanks in advance.
The call will be pm1_prices. get_cost_prices, and below is the list of parameters.
PROCEDURE get_cost_prices
(p_sp_id IN cost_items.fk_sp_id%TYPE,
p_effective_date IN DATE,
p_list_price OUT cost_items.monetary_value%TYPE,
p_lp_changed_on_this_date OUT BOOLEAN,
p_drop_discount_money OUT cost_items.monetary_value%TYPE,
p_drop_discount_pc OUT cost_items.percentage_value%TYPE,
p_dd_changed_on_this_date OUT BOOLEAN,
p_off_invoice_1_money OUT cost_items.monetary_value%TYPE,
p_off_invoice_1_pc OUT cost_items.percentage_value%TYPE,
p_oi1_changed_on_this_date OUT BOOLEAN,
p_off_invoice_2_money OUT cost_items.monetary_value%TYPE,
p_off_invoice_2_pc OUT cost_items.percentage_value%TYPE,
p_oi2_changed_on_this_date OUT BOOLEAN,
p_promo_off_invoice_money OUT cost_items.monetary_value%TYPE,
p_promo_off_invoice_pc OUT cost_items.percentage_value%TYPE,
p_poi_changed_on_this_date OUT BOOLEAN,
p_settlement_discount_money OUT NUMBER,
p_settlement_discount_pc OUT best_supp_discounts.discount%TYPE,
p_net_price OUT NUMBER,
p_cost_element_1_money OUT cost_items.monetary_value%TYPE,
p_cost_element_1_pc OUT cost_items.percentage_value%TYPE,
p_ce1_changed_on_this_date OUT BOOLEAN,
p_cost_element_2_money OUT cost_items.monetary_value%TYPE,
p_cost_element_2_pc OUT cost_items.percentage_value%TYPE,
p_ce2_changed_on_this_date OUT BOOLEAN,
p_retro_money OUT cost_items.monetary_value%TYPE,
p_retro_pc OUT cost_items.percentage_value%TYPE,
p_r_changed_on_this_date OUT BOOLEAN,
p_promo_retro_money OUT cost_items.monetary_value%TYPE,
p_promo_retro_pc OUT cost_items.percentage_value%TYPE,
p_pr_changed_on_this_date OUT BOOLEAN,
p_net_net_price OUT NUMBER,
p_bill_price OUT cost_items.monetary_value%TYPE,
p_bp_changed_on_this_date OUT BOOLEAN);
Can anyone give a simple step by step guide what to do? Thanks in advance.