DBA Data[Home] [Help]

APPS.XDP_ERRORS_PKG dependencies on WF_ENGINE

Line 144: l_ObjectKey := WF_ENGINE.GETITEMATTRNUMBER(itemtype => LogWFError.itemtype,

140: l_fa_count := instr(itemkey,'FA') ;
141:
142: IF l_order_count > 0 THEN
143: l_ObjectType := 'ORDER';
144: l_ObjectKey := WF_ENGINE.GETITEMATTRNUMBER(itemtype => LogWFError.itemtype,
145: itemkey => LogWFError.itemkey,
146: aname => 'ORDER_ID');
147:
148: ELSIF (l_line_count > 0 OR l_pkg_count > 0 ) THEN

Line 150: l_ObjectKey := WF_ENGINE.GETITEMATTRNUMBER(itemtype => LogWFError.itemtype,

146: aname => 'ORDER_ID');
147:
148: ELSIF (l_line_count > 0 OR l_pkg_count > 0 ) THEN
149: l_ObjectType := 'LINE';
150: l_ObjectKey := WF_ENGINE.GETITEMATTRNUMBER(itemtype => LogWFError.itemtype,
151: itemkey => LogWFError.itemkey,
152: aname => 'LINE_ITEM_ID');
153:
154: ELSIF (l_workitem_count > 0 AND l_fa_count = 0) THEN

Line 156: l_ObjectKey := wf_engine.GetItemAttrNumber(itemtype => LogWFError.itemtype,

152: aname => 'LINE_ITEM_ID');
153:
154: ELSIF (l_workitem_count > 0 AND l_fa_count = 0) THEN
155: l_ObjectType := 'WI';
156: l_ObjectKey := wf_engine.GetItemAttrNumber(itemtype => LogWFError.itemtype,
157: itemkey => LogWFError.itemkey,
158: aname => 'WORKITEM_INSTANCE_ID');
159:
160: ELSIF l_fa_count > 0 THEN

Line 162: l_ObjectKey := wf_engine.GetItemAttrNumber(itemtype => LogWFError.itemtype,

158: aname => 'WORKITEM_INSTANCE_ID');
159:
160: ELSIF l_fa_count > 0 THEN
161: l_ObjectType := 'FA';
162: l_ObjectKey := wf_engine.GetItemAttrNumber(itemtype => LogWFError.itemtype,
163: itemkey => LogWFError.itemkey,
164: aname => 'FA_INSTANCE_ID');
165: END IF;
166:

Line 173: l_ObjectKey := WF_ENGINE.GETITEMATTRNUMBER(itemtype => LogWFError.itemtype,

169: --So lets log for what order ID this thing went wrong..
170: --ideally we should never get into this kind of a situation..
171: IF l_ObjectKey IS NULL THEN
172: l_ObjectType := 'ORDER';
173: l_ObjectKey := WF_ENGINE.GETITEMATTRNUMBER(itemtype => LogWFError.itemtype,
174: itemkey => LogWFError.itemkey,
175: aname => 'ORDER_ID');
176: END IF;
177:

Line 183: l_message := WF_ENGINE.GetActivityattrtext(itemtype =>LogWFError.itemtype,

179: l_ObjectKey_Char := TO_CHAR( l_ObjectKey );
180:
181: --Who ever uses this activity in workflow have to pass what they want to log
182: --and whether its a BUSINESS or SYSTEM error.
183: l_message := WF_ENGINE.GetActivityattrtext(itemtype =>LogWFError.itemtype,
184: itemkey =>LogWFError.itemkey,
185: actid =>LogWFError.actid,
186: aname =>'MESSAGE');
187:

Line 188: l_error_type := WF_ENGINE.GetActivityattrtext(itemtype =>LogWFError.itemtype,

184: itemkey =>LogWFError.itemkey,
185: actid =>LogWFError.actid,
186: aname =>'MESSAGE');
187:
188: l_error_type := WF_ENGINE.GetActivityattrtext(itemtype =>LogWFError.itemtype,
189: itemkey =>LogWFError.itemkey,
190: actid =>LogWFError.actid,
191: aname =>'ERROR_TYPE');
192: