41: -- p_calling_program : a. when called during the PO Match case : PO-MATCH b. When called from Invoice form : APXINWKB
42: -- c. When called from supplier cost xface for discounts : DISCOUNT d. When called from supplier cost xface for Payment: PAYMENT
43: -- e. When called from supplier cost xface for Receipts : RECEIPT
44: -- ==========================================================================================================================================
45: FUNCTION Get_si_cost_exp_item_date ( p_transaction_date IN pa_expenditure_items_all.expenditure_item_date%TYPE,
46: p_gl_date IN pa_cost_distribution_lines_all.gl_date%TYPE,
47: p_po_exp_item_date IN pa_expenditure_items_all.expenditure_item_date%TYPE,
48: p_creation_date IN pa_expenditure_items_all.creation_date%TYPE,
49: p_po_distribution_id IN pa_expenditure_items_all.document_distribution_id%TYPE,
43: -- e. When called from supplier cost xface for Receipts : RECEIPT
44: -- ==========================================================================================================================================
45: FUNCTION Get_si_cost_exp_item_date ( p_transaction_date IN pa_expenditure_items_all.expenditure_item_date%TYPE,
46: p_gl_date IN pa_cost_distribution_lines_all.gl_date%TYPE,
47: p_po_exp_item_date IN pa_expenditure_items_all.expenditure_item_date%TYPE,
48: p_creation_date IN pa_expenditure_items_all.creation_date%TYPE,
49: p_po_distribution_id IN pa_expenditure_items_all.document_distribution_id%TYPE,
50: p_calling_program IN varchar2 )
51: RETURN date ;
44: -- ==========================================================================================================================================
45: FUNCTION Get_si_cost_exp_item_date ( p_transaction_date IN pa_expenditure_items_all.expenditure_item_date%TYPE,
46: p_gl_date IN pa_cost_distribution_lines_all.gl_date%TYPE,
47: p_po_exp_item_date IN pa_expenditure_items_all.expenditure_item_date%TYPE,
48: p_creation_date IN pa_expenditure_items_all.creation_date%TYPE,
49: p_po_distribution_id IN pa_expenditure_items_all.document_distribution_id%TYPE,
50: p_calling_program IN varchar2 )
51: RETURN date ;
52:
45: FUNCTION Get_si_cost_exp_item_date ( p_transaction_date IN pa_expenditure_items_all.expenditure_item_date%TYPE,
46: p_gl_date IN pa_cost_distribution_lines_all.gl_date%TYPE,
47: p_po_exp_item_date IN pa_expenditure_items_all.expenditure_item_date%TYPE,
48: p_creation_date IN pa_expenditure_items_all.creation_date%TYPE,
49: p_po_distribution_id IN pa_expenditure_items_all.document_distribution_id%TYPE,
50: p_calling_program IN varchar2 )
51: RETURN date ;
52:
53: FUNCTION Get_si_default_exp_org RETURN varchar2 ;