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