DBA Data[Home] [Help]

APPS.ECX_STANDARD dependencies on ECX_DOCUMENT

Line 383: ecx_document.sendDirect

379: errmsg varchar2(2000);
380: g_instlmode varchar2(100);
381: begin
382:
383: ecx_document.sendDirect
384: (
385: transaction_type => transaction_type,
386: transaction_subtype => transaction_subtype,
387: party_id => party_id,

Line 558: document_id := wf_event.getValueForParameter('ECX_DOCUMENT_ID',p_parameter_list);

554: transaction_type := wf_event.getValueForParameter('ECX_TRANSACTION_TYPE',p_parameter_list);
555: transaction_subtype := wf_event.getValueForParameter('ECX_TRANSACTION_SUBTYPE',p_parameter_list);
556: party_id := wf_event.getValueForParameter('ECX_PARTY_ID',p_parameter_list);
557: party_site_id := wf_event.getValueForParameter('ECX_PARTY_SITE_ID',p_parameter_list);
558: document_id := wf_event.getValueForParameter('ECX_DOCUMENT_ID',p_parameter_list);
559:
560: if ecx_utils.g_event is null
561: then
562: wf_event_t.initialize(ecx_utils.g_event);

Line 845: ecx_document.getConfirmationStatus(

841: -- Get confirmation status of the trading partner.
842: aname := wf_engine.GetActivityAttrText(itemtype, itemkey, actid,
843: 'ECX_CONFIRMATION_FLAG', ignore_notfound => true);
844: if (aname is not null) then
845: ecx_document.getConfirmationStatus(
846: i_transaction_type => transaction_type,
847: i_transaction_subtype => transaction_subtype,
848: i_party_id => party_id,
849: i_party_site_id => party_site_id,

Line 861: ecx_document.isDeliveryRequired

857: end if;
858: /* End of changes for Bug #2215677*/
859:
860:
861: ecx_document.isDeliveryRequired
862: (
863: transaction_type => transaction_type,
864: transaction_subtype => transaction_subtype,
865: party_id => party_id,

Line 880: when ecx_document.ecx_transaction_not_defined then

876: else
877: resultout := 'COMPLETE:F';
878: end if;
879: exception
880: when ecx_document.ecx_transaction_not_defined then
881: wf_core.context('ECX_STANDARD','isDeliveryRequiredCover',transaction_type,transaction_subtype, party_id,party_site_id);
882: wf_core.token('ECX_TRANSACTION_TYPE', transaction_type);
883: wf_core.token('ECX_TRANSACTION_SUBTYPE', transaction_subtype);
884: wf_core.raise('ECX_TRANSACTION_NOT_DEFINED');

Line 885: when ecx_document.ecx_delivery_setup_error then

881: wf_core.context('ECX_STANDARD','isDeliveryRequiredCover',transaction_type,transaction_subtype, party_id,party_site_id);
882: wf_core.token('ECX_TRANSACTION_TYPE', transaction_type);
883: wf_core.token('ECX_TRANSACTION_SUBTYPE', transaction_subtype);
884: wf_core.raise('ECX_TRANSACTION_NOT_DEFINED');
885: when ecx_document.ecx_delivery_setup_error then
886: wf_core.context('ECX_STANDARD','isDeliveryRequiredCover',transaction_type,transaction_subtype, party_id,party_site_id);
887: wf_core.token('ECX_PARTY_ID', party_id);
888: wf_core.token('ECX_PARTY_SITE_ID', party_site_id);
889: wf_core.token('ECX_TRANSACTION_TYPE', transaction_type);

Line 1005: document_id := Wf_Engine.GetActivityAttrText(itemtype, itemkey, actid, 'ECX_DOCUMENT_ID');

1001:
1002: /* End of bug #2183619 */
1003:
1004: -- It is an optional Field
1005: document_id := Wf_Engine.GetActivityAttrText(itemtype, itemkey, actid, 'ECX_DOCUMENT_ID');
1006: /**
1007: if ( document_id is null ) then
1008: wf_core.token('ECX_DOCUMENT_ID','NULL');
1009: wf_core.raise('WFSQL_ARGS');

Line 1008: wf_core.token('ECX_DOCUMENT_ID','NULL');

1004: -- It is an optional Field
1005: document_id := Wf_Engine.GetActivityAttrText(itemtype, itemkey, actid, 'ECX_DOCUMENT_ID');
1006: /**
1007: if ( document_id is null ) then
1008: wf_core.token('ECX_DOCUMENT_ID','NULL');
1009: wf_core.raise('WFSQL_ARGS');
1010: end if;
1011: **/
1012:

Line 1246: document_id := Wf_Engine.GetActivityAttrTEXT(itemtype, itemkey, actid, 'ECX_DOCUMENT_ID');

1242: p_party_type := Wf_Engine.GetActivityAttrText(itemtype, itemkey,actid, 'ECX_PARTY_TYPE', true);
1243:
1244: /* End of bug #2183619*/
1245:
1246: document_id := Wf_Engine.GetActivityAttrTEXT(itemtype, itemkey, actid, 'ECX_DOCUMENT_ID');
1247:
1248:
1249: -- Verify that the attr type = EVENT
1250:

Line 1302: ecx_document.trigger_outbound(transaction_type, transaction_subtype,

1298:
1299: -- invoke trigger_outbound which will invoke outbound_trigger, getConfirmation and
1300: -- get_delivery_attribs
1301: ecx_debug.setErrorInfo(10,10,'ECX_TRIGGER_OUTBOUND');
1302: ecx_document.trigger_outbound(transaction_type, transaction_subtype,
1303: party_id, party_site_id,
1304: document_id, ecx_utils.i_ret_code,
1305: ecx_utils.i_errbuf, trigger_id,
1306: p_party_type, p_party_id, p_party_site_id,

Line 1432: when ecx_document.ecx_transaction_not_defined then

1428:
1429: resultout := 'COMPLETE:';
1430:
1431: exception
1432: when ecx_document.ecx_transaction_not_defined then
1433: ecx_errorlog.outbound_trigger
1434: (
1435: trigger_id, transaction_type, transaction_subtype,
1436: p_party_id, p_party_site_id, p_party_type,

Line 1444: when ecx_document.ecx_no_delivery_required then

1440: wf_core.context('ECX_STANDARD','getXMLTP',transaction_type,transaction_subtype,party_id,party_site_id);
1441: wf_core.token('ECX_TRANSACTION_TYPE', transaction_type);
1442: wf_core.token('ECX_TRANSACTION_SUBTYPE', transaction_subtype);
1443: wf_core.raise('ECX_TRANSACTION_NOT_DEFINED');
1444: when ecx_document.ecx_no_delivery_required then
1445: ecx_errorlog.outbound_trigger
1446: (
1447: trigger_id, transaction_type, transaction_subtype,
1448: p_party_id, p_party_site_id, p_party_type,

Line 1466: when ecx_document.ecx_no_party_setup then

1462: ecx_utils.i_errparams));
1463: wf_core.token('ECX_LOGFILE',ecx_utils.g_logfile);
1464: wf_core.raise('ECX_PROGRAM_EXIT');
1465: END IF;
1466: when ecx_document.ecx_no_party_setup then
1467: ecx_errorlog.outbound_trigger
1468: (
1469: trigger_id, transaction_type, transaction_subtype,
1470: p_party_id, p_party_site_id, p_party_type,

Line 1480: when ecx_document.ecx_delivery_setup_error then

1476: wf_core.token('ECX_PARTY_SITE_ID', party_site_id);
1477: wf_core.token('ECX_TRANSACTION_TYPE', transaction_type);
1478: wf_core.token('ECX_TRANSACTION_SUBTYPE', transaction_subtype);
1479: wf_core.raise('ECX_NO_PARTY_SETUP');
1480: when ecx_document.ecx_delivery_setup_error then
1481: ecx_errorlog.outbound_trigger
1482: (
1483: trigger_id, transaction_type, transaction_subtype,
1484: p_party_id, p_party_site_id, p_party_type,

Line 1616: document_id := Wf_Engine.GetActivityAttrTEXT(itemtype, itemkey, actid, 'ECX_DOCUMENT_ID');

1612: wf_core.raise('WFSQL_ARGS');
1613: end if;
1614:
1615:
1616: document_id := Wf_Engine.GetActivityAttrTEXT(itemtype, itemkey, actid, 'ECX_DOCUMENT_ID');
1617: i_debug_level := nvl(Wf_Engine.GetItemAttrText(itemtype, itemkey, 'ECX_DEBUG_LEVEL',true),0);
1618: event_name := Wf_Engine.GetActivityAttrText(itemtype, itemkey,actid, 'ECX_EVENT_NAME');
1619: event_key := Wf_Engine.GetActivityAttrText(itemtype, itemkey,actid, 'ECX_EVENT_KEY');
1620:

Line 1861: ecx_document.resend

1857: if (funcmode = 'RUN') then
1858:
1859: message_id := wf_engine.GetActivityAttrText(itemtype, itemkey, actid, 'ECX_MSGID');
1860:
1861: ecx_document.resend
1862: (
1863: i_msgid => message_id,
1864: i_flag => 'Y',
1865: retcode => retcode,