The  Purchasing module is the main module for managing requisitions and purchase orders.

## General Process

```mermaid 
graph TD;
    A[Requisition] --> B[Request for Quotation]
    B --> C
    A -->|direct order| C[Purchase Order]
    C --> D{Awaiting Delivery}
    D -->|not/partially received| C
    D -->|all received/<br>no further items expected| E[Close Purchase Order]
```

## Transaction Numbers (TAN), Transaction Elements and Transaction Stages
Transaction number for each document is built by using a combination of abbreviations, identifiers and running numbers.
In most cases the following structure will be used:<br>
[stage]-[vessel]-[costdepartment]-[year]-[runningnumber]<br>
[stage] can have the following values:<br>

Abbr.|Description
---|---
RQ|Requesition
SQ|service requisition
RfQ|request for quotation
SfQ|request for quotation (services)
PO|purchase order
SO|purchase order for services

|||
---|---
[vessel]|uses the three-letter abbreviation assigned to a vessel
[costdepartment]|uses the abbreviation assigned to a cost department
[year]|uses the last two digits of the current year
[runningnumber]|The running number is automatically created when a new document is created.<br>Transactions created in office own running numbers with a fixed offset (vessel starts at ‘1’ - office startes at ‘701’).<br>If a vessel creates more than 700 transactions per year, a higher offset needs to be defined. 

If a purchase order needs to be split for sending some order items to one supplier and remaining order items to another, usually the running number of the resulting purchase order TANs will be extended with A, B, C etc..
Examples<br>

TAN|Description
---|---
RQ-KOR-D-25-108|108th requisition created on ferry Kornatiy for deck department
PO-KRK-E-25-213|213th PO created for ferry KRK for engine department
PO-GAR-25-001-D|1st requisition for vessel Garitan for `Department`

Abbreviation (last place)|Description
---|---
D|Department Deck on board created
E|Department Engine on board created
O|Department Office on board created
OD|Department Deck in Office created
OE|Department Engine in Office created
OO| Department Office in Office created

*[PO]: Purchase Order  
*[AZA]: local folder
*[(PO]: Purchase Order  
*[RQ]: Requisition  
*[(RQ]: Requisition  
*[RfQ]: Request for Quotation  
*[(RfQ]: Request for Quotation  
*[SO]: Service Order  
*[(SO]: Service Order  
*[SQ]: Service Requisition  
*[(SQ]: Service Requisition  
*[SRfQ]: Service Request for Quotation  
*[OoB]: Open on Board  
*[(OoB]: Open on Board 
*[ART]: Average Running Time (operation hours per day) 
*[MC]: Master Contract
*[ADS]: Advantage Database Server (database engine used in previous versions of the ZeeBORN software)
*[.replic]: file extension for replication files (aka data transfer files)
