create or replace PACKAGE XXJML_ASN_DOLLARS_20170724 AS
CUST_NO VARCHAR2(10);
SHIPPING_DATE DATE;
function AfterReport(p_request_id number) return boolean;
END XXJML_ASN_DOLLARS_20170724;
PACKAGE BODY
==============
create or replace PACKAGE BODY XXJML_ASN_DOLLARS_20170724 AS
function AfterReport(p_request_id number) return boolean
is
l_req_id number;
begin
l_req_id := fnd_request.submit_request('XDO', 'XDOBURSTREP', '','', FALSE, 'Y', p_request_id, 'Y', CHR(0));
commit;
if l_req_id =0
then
return false;
else
return true;
end if ;
exception
when others
then
return FALSE;
end AfterReport;
END XXJML_ASN_DOLLARS_20170724;
CUST_NO VARCHAR2(10);
SHIPPING_DATE DATE;
function AfterReport(p_request_id number) return boolean;
END XXJML_ASN_DOLLARS_20170724;
PACKAGE BODY
==============
create or replace PACKAGE BODY XXJML_ASN_DOLLARS_20170724 AS
function AfterReport(p_request_id number) return boolean
is
l_req_id number;
begin
l_req_id := fnd_request.submit_request('XDO', 'XDOBURSTREP', '','', FALSE, 'Y', p_request_id, 'Y', CHR(0));
commit;
if l_req_id =0
then
return false;
else
return true;
end if ;
exception
when others
then
return FALSE;
end AfterReport;
END XXJML_ASN_DOLLARS_20170724;
No comments:
Post a Comment