\section{Protos models}

\subsection{Workflow process WarehouseWarehouse}

\subsubsection{Process perspective}

\begin {center}
  \includegraphics[width=\textwidth]{Workflow_WarehouseWarehouse_Left.png} \\
  Figure 5: Workflow process WarehouseWarehouse (Left Half) \\
\end {center}

\begin {center}
  \includegraphics[width=\textwidth]{Workflow_WarehouseWarehouse_Right.png} \\
  Figure 6: Workflow process WarehouseWarehouse (Right Half)\\
\end {center}

\subsubsection{Resource perspective}

\begin {center}
  \includegraphics[width=\textwidth]{Resource_Perspective_WarehouseWarehouse.png} \\
  Figure 7: Resource Perspective WarehouseWarehouse \\
\end {center}

\begin{tabular}{|p{4cm}|p{8cm}|}
  \hline
  \textbf{Role}             & \textbf{Manager} \\ \hline
  Number of Persons         & 1 \\ \hline
  Cost                      & 0 \\ \hline
\end{tabular} \\

\begin{tabular}{|p{4cm}|p{8cm}|}
  \hline
  \textbf{Role}             & \textbf{Warehouse Manager} \\ \hline
  Number of Persons         & 2 \\ \hline
  Cost                      & 0 \\ \hline
\end{tabular} \\

\begin{tabular}{|p{4cm}|p{8cm}|}
  \hline
  \textbf{Role}             & \textbf{Administration Manager} \\ \hline
  Number of Persons         & 3 \\ \hline
  Cost                      & 0 \\ \hline
\end{tabular} \\

\begin{tabular}{|p{4cm}|p{8cm}|}
  \hline
  \textbf{Role}             & \textbf{Warehouse Employee} \\ \hline
  Number of Persons         & 10 \\ \hline
  Cost                      & 0 \\ \hline
\end{tabular} \\

\begin{tabular}{|p{4cm}|p{8cm}|}
  \hline
  \textbf{Role}             & \textbf{Store Employee} \\ \hline
  Number of Persons         & 10 \\ \hline
  Cost                      & 0 \\ \hline
\end{tabular} \\

\begin{tabular}{|p{4cm}|p{8cm}|}
  \hline
  \textbf{Role}             & \textbf{Logistics Employee} \\ \hline
  Number of Persons         & 3 \\ \hline
  Cost                      & 0 \\ \hline
\end{tabular} \\

\begin{tabular}{|p{4cm}|p{8cm}|}
  \hline
  \textbf{Role}             & \textbf{Chauffeur} \\ \hline
  Number of Persons         & 2 \\ \hline
  Cost                      & 0 \\ \hline
\end{tabular} \\

\begin{tabular}{|p{4cm}|p{8cm}|}
  \hline
  \textbf{Role}             & \textbf{Administration Employee} \\ \hline
  Number of Persons         & 5 \\ \hline
  Cost                      & 0 \\ \hline
\end{tabular} \\

\vspace{10 mm}

\begin{tabular}{|p{4cm}|p{8cm}|}
  \hline
  \textbf{Team}             & \textbf{Warehouse} \\ \hline
\end{tabular} \\

\begin{tabular}{|p{4cm}|p{8cm}|}
  \hline
  \textbf{Team}             & \textbf{Store} \\ \hline
\end{tabular} \\

\begin{tabular}{|p{4cm}|p{8cm}|}
  \hline
  \textbf{Team}             & \textbf{Administration} \\ \hline
\end{tabular} \\

\begin{tabular}{|p{4cm}|p{8cm}|}
  \hline
  \textbf{Team}             & \textbf{Logistics} \\ \hline
\end{tabular} \\

\subsubsection{Explanation}

  \newcounter{LcountB}
  \begin{list}{\Roman{LcountB}.}
    {\usecounter{LcountB}
    \setlength{\rightmargin}{\leftmargin}}
  \item A warehouse employee starts his day with either checking the quantity or the date of a product. After this a Warehouse manager orders the missing goods. Once the items are received a Warehouse manager accepts the order and a Warehouse employee needs to check both the quantity aswell as the quality of the received goods. A warehouse employee finally checks wether there is actually room in the Warehouse. If so then the goods are placed and inventory updated. If not a new warehouse will be found and sent there.
  \end{list}


\subsubsection{Task description}

\begin{tabular}{|p{1.5cm}|p{2.5cm}|p{8cm}|}
  \hline
  \textbf{Name}             & \textbf{Executor}       & \textbf{Description} \\ \hline
  Inspect goods             & Warehouse employee      & The employee inspects the goods inside the warehouse for both freshness date and quantity. \\ \hline
  Check date                & Warehouse employee      & The employee checks the freshness date of a particular item. \\ \hline
  Throw away                & Warehouse employee      & The employee discards of the item if it expired it's date. \\ \hline
  Update inventory          & Warehouse manager       & The manager updates the inventory after an item is discarded. \\ \hline
  Check quantity            & Warehouse employee      & The employee checks the quantity of a particular item. \\ \hline
  Add to order              & Warehouse employee      & The employee adds the out of stock item to the ordering list. \\ \hline
  AND-join                  & System                  & \\ \hline
  Order goods               & Warehouse manager       & The manager orders the goods that are on the ordering list. \\ \hline
  Check goods               & Warehouse employee      & The employee checks the goods after an order arrives if it's complete. \\ \hline
  Check quality             & Warehouse employee      & The employee checks the quality of the incoming goods. \\ \hline
  Return goods              & Warehouse employee      & The employee returns the goods which were lacking quality. \\ \hline
  Check quantity            & Warehouse employee      & The employee checks if the quantity of the goods is correct. \\ \hline
  Order extra goods         & Warehouse manager       & The manager re-orders the missing items. \\ \hline
  AND-Join                  & System       &  \\ \hline
  Put in warehouse          & Warehouse employee      & The employee puts the incoming goods inside the warehouse. \\ \hline
  Update inventory          & Warehouse manager       & The manager updates the inventory after the new items arrived. \\ \hline
  Search new warehouse      & Manager                 & The manager searches for a suitable new warehouse. \\ \hline
  Plan \& confirm logistics & Logistics employee      & The manager plans and confirms the logistics for the reshipment of the goods. \\ \hline
  Pay logistics             & Logistics employee      & The manager pays the logistics for the reshipment of the goods. \\ \hline
  Deliver at warehouse      & Chauffeur               & The chauffeur delivers the goods to the new warehouse. \\ \hline
\end{tabular} \\

\subsubsection{Data perspective}

\textbf{Inspect Date List:} \\
\begin{tabular}{|l|p{1.5cm}|c|c|c|c|}
  \hline
  \textbf{Subprocess} & \textbf{Object}           & \textbf{Mandatory} & \textbf{Created} & \textbf{Deleted} & \textbf{Changed} \\ \hline
  Main process        & Inspect goods             & $\checkmark$                   & $\checkmark$     &                  &                  \\ \hline
  Main process        & Check date                & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Throw away                & $\checkmark$                   &                  &                  & $\checkmark$     \\ \hline
  Main process        & Update inventory 1        & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & And-join                  & $\checkmark$                   &                  &                  &                  \\ \hline
\end{tabular} \\


\textbf{Throw Away Documents:} \\
\begin{tabular}{|l|p{1.5cm}|c|c|c|c|}
  \hline
  \textbf{Subprocess} & \textbf{Object}           & \textbf{Mandatory} & \textbf{Created} & \textbf{Deleted} & \textbf{Changed}             \\ \hline
  Main process        & Inspect goods             & $\checkmark$                   & $\checkmark$     &                  &                  \\ \hline
  Main process        & Check date                & $\checkmark$                   &                  &                  & $\checkmark$     \\ \hline
  Main process        & Throw away                & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & And-join                  & $\checkmark$                   &                  & $\checkmark$     &                  \\ \hline
\end{tabular} \\

\textbf{Inspect Quantity List:} \\
\begin{tabular}{|l|p{1.5cm}|c|c|c|c|}
  \hline
  \textbf{Subprocess} & \textbf{Object}           & \textbf{Mandatory} & \textbf{Created} & \textbf{Deleted} & \textbf{Changed}             \\ \hline
  Main process        & Inspect goods             & $\checkmark$                   & $\checkmark$     &                  &                  \\ \hline
  Main process        & Check quantity            & $\checkmark$                   &                  &                  & $\checkmark$     \\ \hline
  Main process        & Add to order              & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & And-join                  & $\checkmark$                   &                  & $\checkmark$     &                  \\ \hline
\end{tabular} \\

\textbf{Ordering list:} \\
\begin{tabular}{|l|p{1.5cm}|c|c|c|c|}
  \hline
  \textbf{Subprocess} & \textbf{Object}           & \textbf{Mandatory} & \textbf{Created} & \textbf{Deleted} & \textbf{Changed} \\ \hline
  Main process        & Inspect goods             & $\checkmark$                   & $\checkmark$     &                  &                  \\ \hline
  Main process        & Check quantity            & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Add to order              & $\checkmark$                   &                  &                  & $\checkmark$     \\ \hline
  Main process        & And-join                  & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Order goods               & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Check goods               & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Check quality             &                                &                  &                  &                  \\ \hline
  Main process        & Return goods              &                                &                  &                  &                  \\ \hline
  Main process        & Check quantity            & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Order extra goods         & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & And-join                  & $\checkmark$                   &                  & $\checkmark$     &                  \\ \hline
\end{tabular} \\


\textbf{Complaint form:} \\
\begin{tabular}{|l|p{1.5cm}|c|c|c|c|}
  \hline
  \textbf{Subprocess} & \textbf{Object}           & \textbf{Mandatory} & \textbf{Created} & \textbf{Deleted} & \textbf{Changed}             \\ \hline
  Main process        & Check goods               & $\checkmark$                   & $\checkmark$     &                  &                  \\ \hline
  Main process        & Check quality             & $\checkmark$                   &                  &                  & $\checkmark$     \\ \hline
  Main process        & Return goods              & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & And-join                  & $\checkmark$                   &                  & $\checkmark$     &                  \\ \hline
\end{tabular} \\


\textbf{Item list:} \\
\begin{tabular}{|l|p{1.5cm}|c|c|c|c|}
  \hline
  \textbf{Subprocess} & \textbf{Object}           & \textbf{Mandatory} & \textbf{Created} & \textbf{Deleted} & \textbf{Changed}             \\ \hline
  Main process        & And-join                  & $\checkmark$                   & $\checkmark$     &                  &                  \\ \hline
  Main process        & Put in warehouse          & $\checkmark$                   &                  &                  & $\checkmark$     \\ \hline
  Main process        & Update inventory 2        & $\checkmark$                   &                  & $\checkmark$     &                  \\ \hline
  Main process        & Search new warehouse      & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Return to supplier        & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Plan \& confirm logistics & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Pay logistics             &                                &                  &                  &                  \\ \hline
  Main process        & Deliver goods             & $\checkmark$                   &                  &                  &                  \\ \hline
\end{tabular} \\

\textbf{Item checklist:} \\
\begin{tabular}{|l|p{1.5cm}|c|c|c|c|}
  \hline
  \textbf{Subprocess} & \textbf{Object}           & \textbf{Mandatory} & \textbf{Created} & \textbf{Deleted} & \textbf{Changed} \\ \hline
  Main process        & Put in warehouse          & $\checkmark$       & $\checkmark$     &                  &                  \\ \hline
  Main process        & Update inventory 2        & $\checkmark$       &                  & $\checkmark$     &                  \\ \hline
\end{tabular} \\

\textbf{Warehouses list:} \\
\begin{tabular}{|l|p{1.5cm}|c|c|c|c|}
  \hline
  \textbf{Subprocess} & \textbf{Object}           & \textbf{Mandatory} & \textbf{Created} & \textbf{Deleted} & \textbf{Changed} \\ \hline
  Main process        & Search new warehouse      & $\checkmark$                   & $\checkmark$     &                  &      \\ \hline
  Main process        & Return to supplier        & $\checkmark$                   &                  & $\checkmark$     &      \\ \hline
  Main process        & Plan \& confirm logistics & $\checkmark$                   &                  &                  &      \\ \hline
  Main process        & Deliver goods             & $\checkmark$                   &                  & $\checkmark$     &      \\ \hline
\end{tabular} \\

\textbf{Logistics documents:} \\
\begin{tabular}{|l|p{1.5cm}|c|c|c|c|}
  \hline
  \textbf{Subprocess} & \textbf{Object}           & \textbf{Mandatory} & \textbf{Created} & \textbf{Deleted} & \textbf{Changed}             \\ \hline
  Main process        & Return to supplier        & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Plan \& confirm logistics & $\checkmark$                   & $\checkmark$     &                  &                  \\ \hline
  Main process        & Pay logistics             & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Deliver goods             & $\checkmark$                   &                  & $\checkmark$     &                  \\ \hline
\end{tabular} \\

\textbf{Supplier documents:} \\
\begin{tabular}{|l|p{1.5cm}|c|c|c|c|}
  \hline
  \textbf{Subprocess} & \textbf{Object}           & \textbf{Mandatory} & \textbf{Created} & \textbf{Deleted} & \textbf{Changed}             \\ \hline
  Main process        & Add to order              & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Order goods               & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Check goods               & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Check quality             &                                &                  &                  &                  \\ \hline
  Main process        & Return goods              & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Check quantity            &                                &                  &                  &                  \\ \hline
  Main process        & Order extra goods         & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Return to supplier        & $\checkmark$                   &                  &                  &                  \\ \hline
\end{tabular} \\

\textbf{Warehouse inventory:} \\
\begin{tabular}{|l|p{1.5cm}|c|c|c|c|}
  \hline
  \textbf{Subprocess} & \textbf{Object}           & \textbf{Mandatory} & \textbf{Created} & \textbf{Deleted} & \textbf{Changed}             \\ \hline
  Main process        & Inspect goods             & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Update inventory 1        & $\checkmark$                   &                  &                  & $\checkmark$     \\ \hline
  Main process        & Put in warehouse          & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Update inventory 2        & $\checkmark$                   &                  &                  & $\checkmark$     \\ \hline
  Main process        & Return to supplier        & $\checkmark$                   &                  &                  & $\checkmark$     \\ \hline
  Main process        & Search new warehouse      & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Deliver goods             & $\checkmark$                   &                  &                  &                  \\ \hline
\end{tabular} \\

\textbf{Financial register:} \\
\begin{tabular}{|l|p{1.5cm}|c|c|c|c|}
  \hline
  \textbf{Subprocess} & \textbf{Object}           & \textbf{Mandatory} & \textbf{Created} & \textbf{Deleted} & \textbf{Changed}             \\ \hline
  Main process        & Order goods               & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Order extra goods         & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Return to supplier        & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Search new warehouse      & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Plan \& confirm logistics & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Pay logistics             & $\checkmark$                   &                  &                  & $\checkmark$     \\ \hline
\end{tabular} \\

\textbf{Employee ID:} \\
\begin{tabular}{|l|p{1.5cm}|c|c|c|c|}
  \hline
  \textbf{Subprocess} & \textbf{Object}           & \textbf{Mandatory} & \textbf{Created} & \textbf{Deleted} & \textbf{Changed}             \\ \hline
  Main process        & Check date                & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Check quantity            & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Check quality             & $\checkmark$                   &                  &                  &                  \\ \hline
  Main process        & Check quantity            & $\checkmark$                   &                  &                  &                  \\ \hline
\end{tabular} \\
