8/14/2019 Creating a Custom Delete Statement_SPD
1/13
System Process DocumentCreating a Custom Delete Statement
Department
Responsibility/Role
File Name 27760387.docRevision
Document Generation Date 18/01/2010 09:34:00
Date Modified 1/18/2010 09:34:00 AM
Last Changed by
Status
Creating a Custom Delete Statement
Trigger:
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.
In this topic, you will create a custom deletion statement.
Required Field(s) Comments
Output - Result(s) Comments
Additional Information
Last changed on: 1/18/2010 09:34:00 AM Page 1
8/14/2019 Creating a Custom Delete Statement_SPD
2/13
System Process DocumentCreating a Custom Delete Statement
Procedure
Step Action
1. Begin by navigating to the Deletion Statements page.
Click the vertical scrollbar.
Page 2 Last changed on: 1/18/2010 09:34:00 AM
8/14/2019 Creating a Custom Delete Statement_SPD
3/13
System Process DocumentCreating a Custom Delete Statement
Step Action
2. Click the Manufacturing and Distribution Manager link.
Last changed on: 1/18/2010 09:34:00 AM Page 3
8/14/2019 Creating a Custom Delete Statement_SPD
4/13
System Process DocumentCreating a Custom Delete Statement
Step Action
3. Click the vertical scrollbar.
Step Action
4. Click the Delete Statements link.
Page 4 Last changed on: 1/18/2010 09:34:00 AM
8/14/2019 Creating a Custom Delete Statement_SPD
5/13
System Process DocumentCreating a Custom Delete Statement
Step Action
5. Use the Deletion Statements page to create a custom delete statement.
Last changed on: 1/18/2010 09:34:00 AM Page 5
8/14/2019 Creating a Custom Delete Statement_SPD
6/13
System Process DocumentCreating 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".
Page 6 Last changed on: 1/18/2010 09:34:00 AM
8/14/2019 Creating a Custom Delete Statement_SPD
7/13
System Process DocumentCreating a Custom Delete Statement
Step Action
8. Click in the Archive Table field.
Last changed on: 1/18/2010 09:34:00 AM Page 7
8/14/2019 Creating a Custom Delete Statement_SPD
8/13
System Process DocumentCreating a Custom Delete Statement
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.
Page 8 Last changed on: 1/18/2010 09:34:00 AM
8/14/2019 Creating a Custom Delete Statement_SPD
9/13
System Process DocumentCreating a Custom Delete Statement
Step Action
11. Click in the Description field.
Last changed on: 1/18/2010 09:34:00 AM Page 9
8/14/2019 Creating a Custom Delete Statement_SPD
10/13
System Process DocumentCreating a Custom Delete Statement
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.
Page 10 Last changed on: 1/18/2010 09:34:00 AM
8/14/2019 Creating a Custom Delete Statement_SPD
11/13
System Process DocumentCreating a Custom Delete Statement
Step Action
14. Click in the SQL Statement Multiline field.
Last changed on: 1/18/2010 09:34:00 AM Page 11
8/14/2019 Creating a Custom Delete Statement_SPD
12/13
System Process DocumentCreating a Custom Delete Statement
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.
Page 12 Last changed on: 1/18/2010 09:34:00 AM
8/14/2019 Creating a Custom Delete Statement_SPD
13/13
System Process DocumentCreating a Custom Delete Statement
Step Action
17. You have completed the Creating a Custom Delete Statement procedure.
End of Procedure.
Last changed on: 1/18/2010 09:34:00 AM Page 13