Você está na página 1de 1

Auto Indent generation Procedure

Requirement:-
1. Auto-Indenting is required for a specified company.
2. Indent should be raised at the end of the day.
3. At the end of the day, a single indent should be raised for all those material for
which stock has fallen below the Minimum Level.
4. Auto Indenting is required for General Items & Packing Material only.
5. Indent should be raised for only those General Items & Packing Materials for
which Minimum Level Qty & Maximum Level Qty is defined.
6. Indent qty of the Item should be the difference of Current Stock Qty (if the current
stock qty<=Min Stock Level) and Max Stock Level.

Technical Specifications:-
1. Create a column in PURCHASE_SYSTEM_PARAMETERS table
(AUTO_INDENT VARCHAR2 (1)). If it is set as Y then auto indent will be
generated for that company at the end of the day.
2. CREATE a parent procedure which checks for companies where AUTO_INDENT
is set to Y. From this procedure call another procedure that will have an input
parameter Company and that will generate the single indent for that company at
the end of the day?
3. Check if for the Item, Indent has already been Auto-generated or not. If open
Indent is already there then skip this item while generating the indent.
4. User Id should be taken as AUTOINDENT.

Você também pode gostar