DBA Data[Home] [Help]

APPS.PO_XML_DELIVERY dependencies on WF_CORE

Line 114: wf_core.context('PO_XML_DELIVERY','call_txn_delivery',x_progress);

110: from po_headers_all
111: where po_header_id= l_doc_id;
112: else
113: x_progress := 'PO_XML_DELIVERY.: call_txn_delivery:02: POs of type ' || l_doc_type || 'is not supported for XML Delivery';
114: wf_core.context('PO_XML_DELIVERY','call_txn_delivery',x_progress);
115: return;
116:
117: end if;
118:

Line 122: wf_core.context('PO_XML_DELIVERY','call_txn_delivery',x_progress);

118:
119: exception
120: when others then
121: x_progress := 'PO_XML_DELIVERY.: call_txn_delivery:02';
122: wf_core.context('PO_XML_DELIVERY','call_txn_delivery',x_progress);
123: return; --do not raise the exception as that would end the wflow.
124: end ;
125:
126: if nvl(l_revision_num,0)=0 then

Line 143: wf_core.context('PO_XML_DELIVERY','call_txn_delivery',x_progress);

139: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);
140: END IF;
141: EXCEPTION
142: WHEN OTHERS THEN
143: wf_core.context('PO_XML_DELIVERY','call_txn_delivery',x_progress);
144: return;
145:
146: END call_txn_delivery;
147:

Line 302: wf_core.context('PO_XML_DELIVERY','initialize_wf_parameters',x_progress);

298:
299:
300: exception
301: when others then
302: wf_core.context('PO_XML_DELIVERY','initialize_wf_parameters',x_progress);
303: raise;
304: --return;
305:
306: end;

Line 448: wf_core.context('PO_XML_DELIVERY', 'set_delivery_data',x_progress);

444: from po_headers_all
445: where po_header_id= l_doc_id;
446: else
447: x_progress := 'PO_XML_DELIVERY.: set_delivery_data:02: POs of type ' || l_doc_type || 'is not supported for XML Delivery';
448: wf_core.context('PO_XML_DELIVERY', 'set_delivery_data',x_progress);
449: return;
450:
451: end if;
452:

Line 456: wf_core.context('PO_XML_DELIVERY','set_delivery_data',x_progress);

452:
453: exception
454: when others then
455: x_progress := 'PO_XML_DELIVERY.: set_delivery_data:02';
456: wf_core.context('PO_XML_DELIVERY','set_delivery_data',x_progress);
457: return; --do not raise the exception as that would end the wflow.
458: end ;
459:
460: select PO_WF_ITEMKEY_S.nextval

Line 579: wf_core.context('PO_XML_DELIVERY','set_delivery_data',x_progress);

575: END IF;
576:
577: EXCEPTION
578: WHEN OTHERS THEN
579: wf_core.context('PO_XML_DELIVERY','set_delivery_data',x_progress);
580: --return;
581: raise;
582:
583: END set_delivery_data;

Line 634: wf_core.token('ECX_TRANSACTION_TYPE','NULL');

630: --
631: transaction_type := Wf_Engine.GetActivityAttrText(itemtype, itemkey, actid, 'ECX_TRANSACTION_TYPE');
632:
633: if ( transaction_type is null ) then
634: wf_core.token('ECX_TRANSACTION_TYPE','NULL');
635: wf_core.raise('WFSQL_ARGS');
636: end if;
637: --
638: transaction_subtype := Wf_Engine.GetActivityAttrText(itemtype, itemkey, actid, 'ECX_TRANSACTION_SUBTYPE');

Line 635: wf_core.raise('WFSQL_ARGS');

631: transaction_type := Wf_Engine.GetActivityAttrText(itemtype, itemkey, actid, 'ECX_TRANSACTION_TYPE');
632:
633: if ( transaction_type is null ) then
634: wf_core.token('ECX_TRANSACTION_TYPE','NULL');
635: wf_core.raise('WFSQL_ARGS');
636: end if;
637: --
638: transaction_subtype := Wf_Engine.GetActivityAttrText(itemtype, itemkey, actid, 'ECX_TRANSACTION_SUBTYPE');
639:

Line 641: wf_core.token('ECX_TRANSACTION_SUBTYPE','NULL');

637: --
638: transaction_subtype := Wf_Engine.GetActivityAttrText(itemtype, itemkey, actid, 'ECX_TRANSACTION_SUBTYPE');
639:
640: if ( transaction_subtype is null ) then
641: wf_core.token('ECX_TRANSACTION_SUBTYPE','NULL');
642: wf_core.raise('WFSQL_ARGS');
643: end if;
644:
645: --

Line 642: wf_core.raise('WFSQL_ARGS');

638: transaction_subtype := Wf_Engine.GetActivityAttrText(itemtype, itemkey, actid, 'ECX_TRANSACTION_SUBTYPE');
639:
640: if ( transaction_subtype is null ) then
641: wf_core.token('ECX_TRANSACTION_SUBTYPE','NULL');
642: wf_core.raise('WFSQL_ARGS');
643: end if;
644:
645: --
646: party_site_id := Wf_Engine.GetActivityAttrText(itemtype, itemkey, actid, 'ECX_PARTY_SITE_ID');

Line 649: wf_core.token('ECX_PARTY_SITE_ID','NULL');

645: --
646: party_site_id := Wf_Engine.GetActivityAttrText(itemtype, itemkey, actid, 'ECX_PARTY_SITE_ID');
647:
648: if ( party_site_id is null ) then
649: wf_core.token('ECX_PARTY_SITE_ID','NULL');
650: wf_core.raise('WFSQL_ARGS');
651: end if;
652:
653: --

Line 650: wf_core.raise('WFSQL_ARGS');

646: party_site_id := Wf_Engine.GetActivityAttrText(itemtype, itemkey, actid, 'ECX_PARTY_SITE_ID');
647:
648: if ( party_site_id is null ) then
649: wf_core.token('ECX_PARTY_SITE_ID','NULL');
650: wf_core.raise('WFSQL_ARGS');
651: end if;
652:
653: --
654: -- party_id is optional. Only party_site_id is required

Line 1448: wf_core.context('PO_XML_DELIVERY','setwfUserKey','completed');

1444: userkey => l_user_key);
1445: x_progress := 'PO_XML_DELIVERY.setwfUserKey : 06';
1446:
1447: resultout := 'COMPLETE:T';
1448: wf_core.context('PO_XML_DELIVERY','setwfUserKey','completed');
1449:
1450: exception when others then
1451: wf_engine.SetItemUserKey(itemtype => itemtype,
1452: itemkey => itemkey,

Line 1454: wf_core.context('PO_XML_DELIVERY','setwfUserKey',x_progress || ':' || to_char(l_document_id));

1450: exception when others then
1451: wf_engine.SetItemUserKey(itemtype => itemtype,
1452: itemkey => itemkey,
1453: userkey => 'Cannot set item key');
1454: wf_core.context('PO_XML_DELIVERY','setwfUserKey',x_progress || ':' || to_char(l_document_id));
1455:
1456: resultout := 'COMPLETE:F';
1457: -- raise; if there is an exception can't do much; Do not raise - as it stops the workflow.
1458: end;

Line 1777: wf_core.context('PO_XML_DELIVERY','set_user_context',x_progress);

1773: END IF;
1774:
1775: EXCEPTION
1776: WHEN OTHERS THEN
1777: wf_core.context('PO_XML_DELIVERY','set_user_context',x_progress);
1778: resultout := wf_engine.eng_completed || ':' || 'SET CONTEXT ERROR';
1779: return;
1780: END set_user_context;
1781: