DBA Data[Home] [Help]

APPS.ENG_ATTACHMENT_IMPLEMENTATION dependencies on DOM_ATTACHMENT_UTIL_PKG

Line 167: dom_attachment_util_pkg.Change_Status(

163: FETCH C INTO l_attachment_id, l_prev_status,
164: l_document_id, l_repository_id, l_created_by;
165: EXIT WHEN C%NOTFOUND;
166:
167: dom_attachment_util_pkg.Change_Status(
168: p_Attached_document_id => l_attachment_id
169: , p_Document_id => l_document_id
170: , p_Repository_id => l_repository_id
171: , p_Status => l_prev_status

Line 379: dom_attachment_util_pkg.Change_Status(

375: else
376: l_doc_id := l_source_document_id;
377: end if;
378:
379: dom_attachment_util_pkg.Change_Status(
380: p_Attached_document_id => l_attachment_id
381: , p_Document_id => l_doc_id
382: , p_Repository_id => l_repository_id
383: , p_Status => l_attach_status

Line 608: dom_attachment_util_pkg.Create_Attachment(

604:
605: -- First creating a record in fnd_attached_documents with the
606: -- task id
607:
608: dom_attachment_util_pkg.Create_Attachment(
609: x_Attached_document_id => l_new_attached_doc_id
610: , p_Document_id => p_document_id
611: , p_Entity_name => 'PA_TASKS'
612: , p_Pk1_value => l_task_id

Line 624: Dom_Attachment_util_pkg.Change_Status(

620: );
621:
622: -- Then changing the status of the attachment
623:
624: Dom_Attachment_util_pkg.Change_Status(
625: p_Attached_document_id => l_new_attached_doc_id
626: , p_Document_id => p_document_id
627: , p_Repository_id => p_repository_id
628: , p_Status => p_attach_status

Line 889: dom_attachment_util_pkg.Attach(

885:
886: -- insert into swarb values(2, 'inside attach ->', to_char(l_attachment_id));
887: -- commit;
888:
889: dom_attachment_util_pkg.Attach(
890: x_Attached_document_id => l_attachment_id
891: , p_Document_id => l_source_document_id
892: , p_Entity_name => l_entity_name
893: , p_Pk1_value => l_pk1_value

Line 906: dom_attachment_util_pkg.Detach(

902:
903: elsif l_action_type = 'DETACH' then
904:
905: -- Call DOM API to Detach attachments
906: dom_attachment_util_pkg.Detach(
907: p_Attached_document_id => l_attachment_id
908: );
909:
910: elsif l_action_type = 'CHANGE_VERSION_LABEL' then

Line 912: dom_attachment_util_pkg.Change_Version(

908: );
909:
910: elsif l_action_type = 'CHANGE_VERSION_LABEL' then
911:
912: dom_attachment_util_pkg.Change_Version(
913: p_Attached_document_id => l_attachment_id
914: , p_Document_id => l_source_document_id
915: , p_last_updated_by => l_created_by
916: , p_last_update_login => l_last_update_login

Line 923: dom_attachment_util_pkg.Update_Document(

919: -- In modify action, you can change values for file_name,
920: -- desc and category
921: elsif l_action_type = 'MODIFY' then
922:
923: dom_attachment_util_pkg.Update_Document(
924: p_Attached_document_id => l_attachment_id
925: , p_FileName => l_new_file_name
926: , p_Description => l_new_description
927: , p_Category => l_new_category_id

Line 950: dom_attachment_util_pkg.Change_Status(

946: if (l_protocol = 'WEBSERVICES') then
947: l_source_document_id := l_family_id;
948: end if;
949:
950: dom_attachment_util_pkg.Change_Status(
951: p_attached_document_id => l_attachment_id
952: , p_document_id => l_source_document_id
953: , p_repository_id => l_repository_id
954: , p_status => l_attach_status

Line 1014: -- This API is DEPRICATED. Please use DOM_ATTACHMENT_UTIL_PKG.copy_attachments

1010:
1011: END Implement_Attachment_Change;
1012:
1013:
1014: -- This API is DEPRICATED. Please use DOM_ATTACHMENT_UTIL_PKG.copy_attachments
1015: Procedure Copy_Attachment (
1016: p_api_version IN NUMBER --
1017: ,p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE --
1018: ,p_commit IN VARCHAR2 := FND_API.G_FALSE --

Line 1490: DOM_ATTACHMENT_UTIL_PKG.COPY_ATTACHMENTS(x_from_entity_name => 'MTL_ITEM_REVISIONS',

1486:
1487: if(l_status is NULL or l_status <> 'PENDING_CHANGE')
1488: then
1489: -- Step 3: Copying all attachments other than the pending ones
1490: DOM_ATTACHMENT_UTIL_PKG.COPY_ATTACHMENTS(x_from_entity_name => 'MTL_ITEM_REVISIONS',
1491: x_from_pk1_value => p_org_id,
1492: x_from_pk2_value => p_inv_item_id,
1493: x_from_pk3_value => p_curr_rev_id,
1494: x_from_pk4_value => '',