DBA Data[Home] [Help]

APPS.ECX_STANDARD dependencies on ECX_DOCUMENT

Line 381: ecx_document.sendDirect

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

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

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

Line 839: ecx_document.getConfirmationStatus(

835: -- Get confirmation status of the trading partner.
836: aname := wf_engine.GetActivityAttrText(itemtype, itemkey, actid,
837: 'ECX_CONFIRMATION_FLAG', ignore_notfound => true);
838: if (aname is not null) then
839: ecx_document.getConfirmationStatus(
840: i_transaction_type => transaction_type,
841: i_transaction_subtype => transaction_subtype,
842: i_party_id => party_id,
843: i_party_site_id => party_site_id,

Line 855: ecx_document.isDeliveryRequired

851: end if;
852: /* End of changes for Bug #2215677*/
853:
854:
855: ecx_document.isDeliveryRequired
856: (
857: transaction_type => transaction_type,
858: transaction_subtype => transaction_subtype,
859: party_id => party_id,

Line 874: when ecx_document.ecx_transaction_not_defined then

870: else
871: resultout := 'COMPLETE:F';
872: end if;
873: exception
874: when ecx_document.ecx_transaction_not_defined then
875: wf_core.context('ECX_STANDARD','isDeliveryRequiredCover',transaction_type,transaction_subtype, party_id,party_site_id);
876: wf_core.token('ECX_TRANSACTION_TYPE', transaction_type);
877: wf_core.token('ECX_TRANSACTION_SUBTYPE', transaction_subtype);
878: wf_core.raise('ECX_TRANSACTION_NOT_DEFINED');

Line 879: when ecx_document.ecx_delivery_setup_error then

875: wf_core.context('ECX_STANDARD','isDeliveryRequiredCover',transaction_type,transaction_subtype, party_id,party_site_id);
876: wf_core.token('ECX_TRANSACTION_TYPE', transaction_type);
877: wf_core.token('ECX_TRANSACTION_SUBTYPE', transaction_subtype);
878: wf_core.raise('ECX_TRANSACTION_NOT_DEFINED');
879: when ecx_document.ecx_delivery_setup_error then
880: wf_core.context('ECX_STANDARD','isDeliveryRequiredCover',transaction_type,transaction_subtype, party_id,party_site_id);
881: wf_core.token('ECX_PARTY_ID', party_id);
882: wf_core.token('ECX_PARTY_SITE_ID', party_site_id);
883: wf_core.token('ECX_TRANSACTION_TYPE', transaction_type);

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

995:
996: /* End of bug #2183619 */
997:
998: -- It is an optional Field
999: document_id := Wf_Engine.GetActivityAttrText(itemtype, itemkey, actid, 'ECX_DOCUMENT_ID');
1000: /**
1001: if ( document_id is null ) then
1002: wf_core.token('ECX_DOCUMENT_ID','NULL');
1003: wf_core.raise('WFSQL_ARGS');

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

998: -- It is an optional Field
999: document_id := Wf_Engine.GetActivityAttrText(itemtype, itemkey, actid, 'ECX_DOCUMENT_ID');
1000: /**
1001: if ( document_id is null ) then
1002: wf_core.token('ECX_DOCUMENT_ID','NULL');
1003: wf_core.raise('WFSQL_ARGS');
1004: end if;
1005: **/
1006:

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

1236: p_party_type := Wf_Engine.GetActivityAttrText(itemtype, itemkey,actid, 'ECX_PARTY_TYPE', true);
1237:
1238: /* End of bug #2183619*/
1239:
1240: document_id := Wf_Engine.GetActivityAttrTEXT(itemtype, itemkey, actid, 'ECX_DOCUMENT_ID');
1241:
1242:
1243: -- Verify that the attr type = EVENT
1244:

Line 1296: ecx_document.trigger_outbound(transaction_type, transaction_subtype,

1292:
1293: -- invoke trigger_outbound which will invoke outbound_trigger, getConfirmation and
1294: -- get_delivery_attribs
1295: ecx_debug.setErrorInfo(10,10,'ECX_TRIGGER_OUTBOUND');
1296: ecx_document.trigger_outbound(transaction_type, transaction_subtype,
1297: party_id, party_site_id,
1298: document_id, ecx_utils.i_ret_code,
1299: ecx_utils.i_errbuf, trigger_id,
1300: p_party_type, p_party_id, p_party_site_id,

Line 1426: when ecx_document.ecx_transaction_not_defined then

1422:
1423: resultout := 'COMPLETE:';
1424:
1425: exception
1426: when ecx_document.ecx_transaction_not_defined then
1427: ecx_errorlog.outbound_trigger
1428: (
1429: trigger_id, transaction_type, transaction_subtype,
1430: p_party_id, p_party_site_id, p_party_type,

Line 1438: when ecx_document.ecx_no_delivery_required then

1434: wf_core.context('ECX_STANDARD','getXMLTP',transaction_type,transaction_subtype,party_id,party_site_id);
1435: wf_core.token('ECX_TRANSACTION_TYPE', transaction_type);
1436: wf_core.token('ECX_TRANSACTION_SUBTYPE', transaction_subtype);
1437: wf_core.raise('ECX_TRANSACTION_NOT_DEFINED');
1438: when ecx_document.ecx_no_delivery_required then
1439: ecx_errorlog.outbound_trigger
1440: (
1441: trigger_id, transaction_type, transaction_subtype,
1442: p_party_id, p_party_site_id, p_party_type,

Line 1460: when ecx_document.ecx_no_party_setup then

1456: ecx_utils.i_errparams));
1457: wf_core.token('ECX_LOGFILE',ecx_utils.g_logfile);
1458: wf_core.raise('ECX_PROGRAM_EXIT');
1459: END IF;
1460: when ecx_document.ecx_no_party_setup then
1461: ecx_errorlog.outbound_trigger
1462: (
1463: trigger_id, transaction_type, transaction_subtype,
1464: p_party_id, p_party_site_id, p_party_type,

Line 1474: when ecx_document.ecx_delivery_setup_error then

1470: wf_core.token('ECX_PARTY_SITE_ID', party_site_id);
1471: wf_core.token('ECX_TRANSACTION_TYPE', transaction_type);
1472: wf_core.token('ECX_TRANSACTION_SUBTYPE', transaction_subtype);
1473: wf_core.raise('ECX_NO_PARTY_SETUP');
1474: when ecx_document.ecx_delivery_setup_error then
1475: ecx_errorlog.outbound_trigger
1476: (
1477: trigger_id, transaction_type, transaction_subtype,
1478: p_party_id, p_party_site_id, p_party_type,

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

1606: wf_core.raise('WFSQL_ARGS');
1607: end if;
1608:
1609:
1610: document_id := Wf_Engine.GetActivityAttrTEXT(itemtype, itemkey, actid, 'ECX_DOCUMENT_ID');
1611: i_debug_level := nvl(Wf_Engine.GetItemAttrText(itemtype, itemkey, 'ECX_DEBUG_LEVEL',true),0);
1612: event_name := Wf_Engine.GetActivityAttrText(itemtype, itemkey,actid, 'ECX_EVENT_NAME');
1613: event_key := Wf_Engine.GetActivityAttrText(itemtype, itemkey,actid, 'ECX_EVENT_KEY');
1614:

Line 1855: ecx_document.resend

1851: if (funcmode = 'RUN') then
1852:
1853: message_id := wf_engine.GetActivityAttrText(itemtype, itemkey, actid, 'ECX_MSGID');
1854:
1855: ecx_document.resend
1856: (
1857: i_msgid => message_id,
1858: i_flag => 'Y',
1859: retcode => retcode,