Error test

Document Type

Scenario

Setup

Expected Result



1

Transaction Header




2

Base

Posting Date not allowed

Use posting date outside user allowed range

Error added: Posting Date not allowed



3

Header

Transaction already posted

Create a transaction with same ID as already existing in TILE.”WP Connection PK”

Error: Transaction already posted


4

Header

Created by User missing

Use non-existing user

Error: User does not exist


5

Header

Stock Center empty

Leave Stock Center blank

Error: Stock Center is empty

Pass

6

Header

Stock Center invalid

Use non-existing Stock Center

Error: Stock Center does not exist

Not applicable as user is not allowed to add some random value in stock center but if the stock center in lot and line does not match it displays the error.

7

Header

Location empty

Leave Location blank

Error: Location is empty

Pass

8

Header

Location invalid

Use non-existing Location

Error: Location does not exist

N/A

9

Header

Location not using Trade Items

Use Location with WiFi Use Trade Items = false

Error: Location does not Use Trade Items

Pass

10

Header

Activity Date empty

Leave Activity Date blank

Error: Activity Date is empty

Pass

11

Header

Transaction Type unknown

Type = unknown

Error: Transaction Type is missing

N/A Type field cannot be updated to blank

12

Header

No lines

Create header without lines

Error: Transaction has no lines

Pass

13

Receipt




14

Receipt

Lot missing (FishingTrip doc type)

Receipt with FishingTrip but no Lot

Error added

Pass

15

Receipt

Lot not found and creation not allowed

Non-existing lot + Terminal does not allow creation

Error: Lot does not exist


16

Receipt

Stage empty

Leave Stage blank

Error: Stage empty

Pass

17

Receipt

Stage invalid

Non-existing Stage

Error: Stage does not exist

Pass: Shows error in the line for stage field itself like “The field Stage of table MES Transaction contains a value (7754545) that cannot be found in the related table (Processing Stage).”

18

Receipt

Document No empty

Leave Document No blank

Error: Document No empty

pass

19

Receipt

Purchase Order not found

Invalid PO

Error added


20

Receipt

Purchase Order not Open

PO Status ≠ Open

Error: Not Open


21

Receipt

Purchase Agreement not found

Invalid agreement

Error added

Fail: When user type any random number in document no field instead of RA number, it does not show any error and process does not do anything . it just remain in ready state.

22

Receipt

Purchase Agreement not Open

Status ≠ Open

Error added

Pass

23

Receipt

Storage Agreement wrong type

Wrong Document Type

Error added

Fail: No message is displayed when wrong document type is selected for transaction

24

Production






25

Production

Credit = true

Set Credit = true

Error via TestField


26

Production

Lot missing

Leave Lot blank

Error: Lot empty

Pass

27

Production

Lot not found and creation not allowed

Non-existing lot

Error added

Pass: It shows error as Lines have different lots, when user manually add some random lot no in the lot no filed of the output line in MES transaction table.

28

Production

Lot Stock Center mismatch

Lot.StockCenter ≠ Trans.StockCenter

Error added

Pass

29

Production

Lot not active in production

StockCenter requires active + lot inactive

Error added


30

Production

Unique Production Day violation

Lot.UniqueProductionDay + date mismatch

Error added

I dont see any validation with the Lot start Date, it can also be Past date so I am not sure if this case is blocking it.

31

Production

Lot Production Type missing

Production Type < Production

Error added

Pass

32

Production

Production Agreement not found

Invalid agreement

Error added


33

Production

Production Agreement not Released

Status ≠ Released

Error added


34

Production

Sales Agreement not found

Linked Sales Agreement invalid

Error added

Fail: Even if the sales agreement is blank the record is processed.

35

Production

Sales Agreement not Released

Status ≠ Released

Error added

Fail: There is no error even if Sales Agreement is blank.

36

All lines






37

Line Basic

Header Lot ≠ Line Lot

Different lot on line

Error added

Pass

38

Line Basic

Item empty

Leave Item No blank

Error added

Pass but this is displayed in a pop up, I would like to display in Error column instead like any other errors and triggered in error check.

39

Line Basic

Item not found

Invalid Item

Error added

Pass: When user type something random in Item field the system validates as “The field Item No. of table MES Transaction Line contains a value (9999) that cannot be found in the related table (Item).”


40

Line Basic

UoM empty

Leave UoM blank

Error added

Pass

41

Line Basic

UoM invalid

UoM not on Item

Error added

Pass: Entering something random in UOM field displays message as “The field Unit of Measure Code of table MES Transaction Line contains a value (NGD) that cannot be found in the related table (Item Unit of Measure).

42

Line Basic

Size Grade invalid

Invalid size grade

Error added


43

Line Basic

Quality Grade invalid

Invalid quality grade

Error added


44

Line Basic

Wrong Tare sign

Qty>0 + Tare<0 OR reverse

Error: Wrong sign


45

Output






46

Output

Default Piece Count missing

Required packing method + DefaultPieceCount <=0

Error added

If piece count is weight it validates when weight is mi8ssing.

47

Output

Net Weight missing

Item.NetWeight <=0

Error added

Pass

48

Output

Pallet not found + creation not allowed

Invalid pallet

Error added

Fail: It does not validate when pallet is missing. The record is processed successfully.

49

Output

Pallet creation missing barcode

Creation allowed + no barcode

Error added

Fail: Output can be posted without pallet barcode.

50

Output

Pallet creation missing number

Creation allowed + no pallet no

Error added

Fail. Output can be processed when the pallet no is missing

51

Output

Pallet Stock Center mismatch

Pallet.StockCenter ≠ Trans.StockCenter

Error added

Pass

52

Output

Pallet status Full/Gone

Use Full or Gone pallet

Error added

Pass

53

Consumption




54

Consumption

No trade item reference

No barcode + no stage/line

Error added


55

Consumption

Trade item barcode not found

Invalid barcode

Error added


56

Consumption

Stage/Line not found

Invalid stage+line

Error added


57

Consumption

FIFO search fails

No matching trade item

Error: Trade Item not found


58

Consumption

Trade item unavailable

TradeItem.Unavailable_u = true

Error added


59

Consumption

Allowed Raw Material mismatch

Lot.AllowedRawMaterial ≠ consumed item

Error added


60

Consumption

Unique Raw Material violation

Lot.UniqueRawMaterial + mismatch

Error added


61

Allocation / Reservation




62

Allocation

Line not found (PO)

Invalid reserve line

Error added


63

Allocation

Agreementline not found

Invalid reserve line

Error added


64







65

Reservation

Sales Agreement not found

Invalid Doc No

Error added


66

Reservation

Agreement line not found

Invalid line

Error added


67

Reservation

Delivery line item mismatch

Line item ≠ transaction item

Error added


68