Purpose |
Review the options to re-architect ZJEDI to be significantly more efficient. |
Requested By |
Dan Brennan |
Spec Created By |
Surya Basa |
Spec Created Date |
05/31/2016 |
Spec QA by |
Surya Basa |
Objects |
ZCALL_OFF ZJEDI |
Document Status |
WIP |
Sl.No |
Activity |
Estimation in Hours |
1 |
Research |
08 |
2 |
Documentation |
08 |
3 |
Development/ Config |
60+02 |
4 |
Unit test in DEV |
100 |
5 |
Unit test in QUA |
60 |
6 |
Other activity |
|
TOTAL |
238 |
Sl. |
Change Details |
Requested By |
Requested On |
Notes if any |
1 |
Rejection reason ZJ should not occur, the user specifically stated contract they would like to be referenced |
Daniel Brennan |
08-02-2016 |
|
2 |
ZJ rejection reason should be removed altogether from the program, The Japan and Mexico teams want to either (a) specify the contract to be referenced, or if they don't then (b) simply let the sales order choose the first contract it finds. |
Daniel Brennan |
08-02-2016 |
|
3 |
Performance tuning to the program to take lesser time while running over 1000 lines. |
Daniel Brennan |
10-03-2016 |
|
Test ID |
Test Scenario |
Expected Results |
NE001 |
Spreadsheet is loaded with contract reference populated for all items |
Sales order should be generated with reference to contract(s) specified |
NE002 |
Spreadsheet is loaded with contract reference populated for some items |
Sales order should be generated with reference to contract(s) specified, and other items follow existing logic (search for contracts…if none found, link to free-available) |
NE003 |
Spreadsheet is loaded with “Mark-for-Store” populated |
JM partner should be added to sales order |
NE004 |
Spreadsheet is loaded without “Mark-for-Store” populated |
No JM partner should be added to sales order |
NE005 |
Spreadsheet is loaded for non-Japan customer |
All functionality should work for non-Japan sales org |
NE006 |
Confirm IDOC is generated directly in SAP |
IDOC should be generated without middleware (IBM) |
Test ID |
Scenario Description |
ATP Check Z2=with Lead Time Z3= w/o Lead Time |
Contract |
Inventory |
Expected Results |
1 |
Multiple call-offs in input file, but each material has only 1 open valid contract; inventory is available |
Call offs should be created referencing the ref. contract |
|||
Z2 |
Single Contract |
Available |
Order line should be loaded with contract reference |
||
Z2 |
Single Contract |
Available |
Order line should be loaded with contract reference |
||
Z3 |
Single Contract |
Available |
Order line should be loaded with contract reference |
||
Z3 |
Single Contract |
Available |
Order line should be loaded with contract reference |
||
Z2 |
Single Contract |
Available |
Order line should be loaded with contract reference |
||
Z2 |
Single Contract |
Available |
Order line should be loaded with contract reference |
||
2 |
Multiple call-offs in input file, each material can have either 1 open valid contract or no Contract; Inventory may or may not be available |
Call offs should be created with reference where available; otherwise create standalone SO line. |
|||
Z2 |
Single Contract |
Available |
Order line should be loaded with contract reference |
||
Z3 |
Single Contract |
Available |
Order line should be loaded with contract reference |
||
Z3 |
Single Contract |
Not available |
Order line should be loaded with J0 rejection reason |
||
Z3 |
No contract |
Not available |
Order line should be loaded w/o contract reference with J0 |
||
Z2 |
No contract |
Not available |
Order line should be loaded w/o contract reference |
||
Z2 |
No contract |
Available |
Order line should be loaded w/o contract reference |
||
3 |
Multiple call-offs in input file, each material has multiple open valid Contracts or no contract; Inventory available |
Call offs should be created referencing earliest RDD contract with ZJ delivery block and ZJ rejection |
|||
Z2 |
Multiple Contract |
Available |
Order line should be loaded with first valid Contract & with delivery block and reject reason |
||
Z2 |
Multiple Contract |
Available |
Order line should be loaded with first valid Contract & with delivery block and reject reason |
||
Z3 |
Multiple Contract |
Available |
Order line should be loaded with first valid Contract & with delivery block and reject reason |
||
4 |
Some materials have valid open contracts but RDD is outside the contract validity dates; Inventory may or may not be available |
Materials with valid open contracts loaded with ref. Z2 materials w/o valid open contracts loaded w/o ref. Z3 materials w/o valid open contracts loaded w/J0 rej. Code |
|||
Z2 |
Single Contract |
Available |
Order line should be loaded with contract reference. |
||
Z2 |
Multiple Contract |
Available |
Order line should be loaded with reference to 1st valid contract & with delivery block and reject reason |
||
Z3 |
No contract |
Not available |
Order line should be loaded with J0 rejection reason because of no inventory and w/o contract reference. |
||
Z3 |
No contract |
Available |
Order line should be loaded without contract reference. |
||
Z2 |
Single Contract |
Available |
Order line should be loaded with contract reference. |
||
Z2 |
Exists but not in Req Del Dt |
Available |
Order line should be loaded without any contract reference |
||
5 |
DUPLICATE ORDERS: If sales order already in system with (Sold-To+Ship-To+PO ); then load this order but put on delivery block on Order |
Call offs should be created with reference where available and w/o if not and with delivery block |
|||
Z2 |
Single Contract |
Available |
Order line should be loaded with reference to contract and with delivery block |
||
Z2 |
Single Contract |
Available |
Order line should be loaded with reference to contract and with delivery block |
||
Z3 |
No contract |
Available |
Order line should be loaded w/o reference to contract and with delivery block |
||
Z3 |
No contract |
Available |
Order line should be loaded w/o reference to contract and with delivery block |
||
Z2 |
Single Contract |
Available |
Order line should be loaded with reference to contract and with delivery block |
||
Z2 |
Single Contract |
Available |
Order line should be loaded with reference to contract and with delivery block |
||
Z2 |
Multiple Contract |
Available |
Order line should be loaded with reference to 1st valid contract & with delivery block and reject reason |
||
6 |
Multiple call-offs exist in the input file for a contract line with SINGLE size. The first call-off consumes the entire contract quantity. Subsequent call-offs should be loaded in sales order w/o ref. |
Call offs should be created with reference for available and w/o reference where not available |
|||
Z2 |
Single Contract |
Available |
Call off should be loaded with contract reference |
||
Z2 |
No contract |
Available |
Sales order should be loaded w/o reference and inventory from free available should be consumed |
||
7 |
Multiple call-offs exist in the input file for a contract line with MULTIPLE sizes. The first call-off consumes ONE size fully but the contract line is still open due to other sizes. Subsequent call-offs for the consumed size should be loaded in sales order w/o ref. |
Call offs should be created with reference for open lines and w/o reference if no-open quantity on contract |
|||
Z2 |
Single Contract |
Available |
1st call off should be created with contract reference and open contract quantity should be consumed for size 738 |
||
Z2 |
Single Contract |
Available |
2nd call off should NOT be created with contract reference consuming inventory from free available w/o delivery block |
||
8 |
Requested Qty is greater than open contract quantity; inventory available |
Order is loaded w/reference and open contact Excess quantity should be loaded w/o reference |
|||
Z2 |
Single Contract |
Available |
Entire order should be loaded with reference to the contract with the total quantity |
||
Do not reference contracts with PO Type =JPC |
Load order w/o reference to PO |
||||
Z2 |
Single Contract |
Available |
Order line should be loaded w/o reference to contract. |
||
9 |
Multiple contracts for same material - one PO Type = JPC and the other non-JPC. Call-offs will be created w/ref to non-JPC contract. |
Call-offs will be created w/ref to non-JPC contract. |
|||
Z2 |
Multiple Contract |
Available |
Order line should be loaded with reference to Contract with PO type non-JPC. |
||
10 |
Several (at least 4) open contracts for the same material. Call-offs will be created w/ref to earliest non-JPC contract. |
||||
Z2 |
Multiple Contract |
Available |
Order line should be loaded with reference to earliest Contract w/o PO type JPC and with ZJ block at header & rejection at item level. |
||
11 |
Requested Qty is greater than open contract quantity; inventory not available |
Order should load w/ref for open qty and w/o ref for excess. ATP should use Lead time |
|||
Z2 |
Single |
Not Available |
Order line should be loaded with reference to contract |
||
12 |
Input Validation: BLANK PO - Do not load records with blank PO; log errors |
Call offs should not be loaded; log error |
|||
Z2 |
Single Contract |
Available |
Entire order should not be loaded and error message should be logged into Zerror table - ZJPN_CALL_OFF |
||
Z2 |
Single Contract |
Available |
|||
Z3 |
No contract |
Available |
|||
Z3 |
No contract |
Available |
|||
13 |
Input Validation: BLANK SOLD TO - Do not load records with blank Sold-To; log errors |
Call offs should not be loaded; log error |
|||
Z2 |
Single Contract |
Available |
Entire order should not be loaded and error message should be logged into Zerror table - ZJPN_CALL_OFF |
||
Z2 |
Single Contract |
Available |
|||
Z3 |
No contract |
Available |
|||
Z3 |
No contract |
Available |
|||
14 |
Input Validation: BLANK SHIP TO - Do not load records with blank Ship-To; log errors |
Call offs should not be loaded; log error |
|||
Z2 |
Single Contract |
Available |
Entire order should not be loaded and error message should be logged into Zerror table - ZJPN_CALL_OFF |
||
Z2 |
Single Contract |
Available |
|||
Z3 |
No contract |
Available |
|||
Z3 |
No contract |
Available |
|||
15 |
Input Validation: Do not load if RDD blank or invalid; log errors |
Call offs should not be loaded; log error |
|||
Z2 |
Single Contract |
Available |
Entire order should not be loaded and error message should be logged into Zerror table - ZJPN_CALL_OFF |
||
Z2 |
Single Contract |
Available |
|||
Z3 |
No contract |
Available |
|||
Z3 |
No contract |
Available |
|||
16 |
Input Validation: Do not load if Cancel date blank or invalid; log errors |
Call offs should not be loaded; log error |
|||
Z2 |
Single Contract |
Available |
Entire order should not be loaded and error message should be logged into Zerror table - ZJPN_CALL_OFF |
||
Z2 |
Single Contract |
Available |
|||
Z3 |
No contract |
Available |
|||
Z3 |
No contract |
Available |
|||
17 |
Input Validation: Do not load if Quantity value ZERO or blank; log errors |
Call offs should not be loaded; log error |
|||
Z2 |
Single Contract |
Available |
Entire order should not be loaded and error message should be logged into Zerror table - ZJPN_CALL_OFF |
||
Z2 |
Single Contract |
Available |
|||
Z3 |
No contract |
Available |
|||
Z3 |
No contract |
Available |
|||
18 |
Input Validation: Do not load if Invalid JAN ID/ Blank; log errors |
Call offs should not be loaded; log error |
|||
Z3 |
No contract |
Available |
Entire order should not be loaded and error message should be logged into Zerror table - ZJPN_CALL_OFF |
||
Z3 |
No contract |
Available |
|||
19 |
Repeat scenario 1 with materials not used above and w/o a valid season |
Call offs should be loaded with ZS rejection |
|||
20 |
Repeat scenario 1 with cancel and RDD in the past |
Call offs should be loaded with ZD rejection and cancel and RDD pushed out (180 days for RDD and 210 days for cancel date) |
Test ID |
Test Scenario |
ATP Check |
Contract Input |
Inventory |
Expected Results |
SD001 |
Input Validation: Invalid contract number |
Call offs should not be loaded; log error |
|||
SD002 |
Input Validation: Invalid JM partner |
Call offs should not be loaded; log error |
|||
SD003 |
Input Validation: Invalid sales area-customer combination |
Call offs should not be loaded; log error |
|||
SD004 |
Input Validation: JCO PO type not maintained |
Call offs should not be loaded; log error |
|||
SD005 |
Multiple call-offs exist in the file with multiple lines; input contract number references only one call off |
||||
Z2 |
Yes/Multiple |
Available |
Order line should be loaded with contract reference from the input; Order line should be loaded with open contract/s other than that of input if found and ZS delivery block and ZS rejection should be applied; Order line should be loaded w/o contract reference and consume inventory from free available |
||
Z3 |
Yes/Multiple |
Not Available |
Order line should be loaded with contract reference from the input; Order line should be loaded with open contract/s other than that of input if found and ZJ delivery block and ZJ rejection should be applied; Order line should be loaded w/o contract reference and J0 rejection should be applied |
||
SD006 |
Multiple call-offs exist in the file with multiple lines; input contract number references only one call off |
||||
Z2 |
Yes/Single |
Available |
Order line should be loaded with contract reference from the input; Order line should be loaded w/o contract reference and consume inventory from free available |
||
Z3 |
Yes/Single |
Not Available |
Order line should be loaded with contract reference from the input; Order line should be loaded w/o contract reference J0 rejection should be applied |