Professional Documents
Culture Documents
Creating A Custom Delete Statement - SPD
Creating A Custom Delete Statement - SPD
Department
Responsibility/Role
File Name 27760387.doc
Revision
Document Generation Date 18/01/2010 09:34:00
Date Modified 1/18/2010 09:34:00 AM
Last Changed by
Status
Concept
You can create custom deletion statements to specify from which database table to delete data
that meets the deletion constraint criteria. Use the Deletion Statements page to view the seeded
deletion statements. You cannot modify the seeded deletion statements.
Additional Information
Procedure
Step Action
1. Begin by navigating to the Deletion Statements page.
Step Action
2. Click the Manufacturing and Distribution Manager link.
Step Action
3. Click the vertical scrollbar.
Step Action
4. Click the Delete Statements link.
Step Action
5. Use the Deletion Statements page to create a custom delete statement.
Step Action
6. Click in the Statement field.
Step Action
7. Enter the desired information into the Statement field. Enter "DEL_BIL".
Step Action
8. Click in the Archive Table field.
Step Action
9. Enter the desired information into the Archive Table field. Enter
"BOM_BIL_OF_MATERIAL".
Step Action
10. Indicate whether the statement is enabled. An enabled deletion statement means
that it is in effect when the delete concurrent program runs.
Step Action
11. Click in the Description field.
Step Action
12. Enter the desired information into the Description field. Enter "Delete bill of
material".
Step Action
13. You can indicate the delete entity the constraint applies to. It can be item, bill,
routing, component, or operation.
Step Action
14. Click in the SQL Statement Multiline field.
Step Action
15. Enter the desired information into the SQL Statement Multiline field. Enter
"DELETE FROM BOM_BILL_OF_MATERIALS WHERE
BILL_SEQUENCE_ID = &BILL_SEQUENCE_ID".
Step Action
16. Click the Save button.
Step Action
17. You have completed the Creating a Custom Delete Statement procedure.
End of Procedure.