---
# System prepended metadata

title: Cart/Orders/Financial Training

---

Cart/Orders/Financial Training


```mermaid
flowchart LR

Dam--->Cart--->Checkout--->Payment--->Finalized

```
# Calculators (Admin => Financial => Calculators)
## Questions
## Answers
- Authorization
- Sale Types
- Target permission/Download
- Available download formats
### ItemTypes
   ItemTypes_BO.Data.DefaultItemTypes
   ItemTypeImageRM_BO
### Available Download Format
Admin => Reference Table => On order media format
## Pricing

##  User Usage Agreement (POU)
Financial => User Usage Agreement

# Database flows

General flows:

```mermaid
graph LR
A(Assets) ---> |Add to cart| B(OD_ORDERS) --->|Transfer|I(II_INVOICEITEMS)
User --->|OrderForm/OrderProject|H(IH_INVOICEHEADERS)
I-->H

```

Legacy flows:
```mermaid
graph LR
A(Assets) ---> |Add to cart| B(OD_ORDERS) 

```

# Order Project
OrderInvoice_DbBO.Data.Behavior.ProjectBasedOrderFlow
# Backend Transactions
Financial => Transactions

# Finalize + approval flow
IH_INVOICEHEADER status

```mermaid
graph TD
A(OPEN) ---> B{Requires Authorization?}
B --->|No| P{Has Price > 0 ?} ---> |Yes + Payment| F(FINALIZED)
B --->|Yes+Admin Approved| K{Has Price > 0 ?}
P ---> |No| F(FINALIZED)
K ---> |No| F(FINALIZED)
K ---> |Yes| C(COMPLETED) ---> |Yes + Payment| F(FINALIZED)
```

# Payments
## Pay by account
   - Cost center
## Online Payment
### Pay by creditcard
- Stripe
- Moneris
- Adyen
### Pay by Paypal

# Fulfillment method
- Tecsys
- Taylor
- Fedex

# Code entries
## OD_ORDERS and II_INVOICEITEMS have same schema
```mermaid  
classDiagram
    OrderInvoice_DbBO <|-- OD_ORDER_DbBO
    OrderInvoice_DbBO <|-- II_INVOICEITEMS_DbBO
    OrderInvoice_DbBO : OrderInvoice_TBO
    class OD_ORDER_DbBO{
        OD_ORDERS_TBO
    }
    class II_INVOICEITEMS_DbBO{
        II_INVOICEITEMS_TBO
    }

```

## Invoice DbBO
```mermaid  
classDiagram
   class Invoice_DbBO{
       poIH_INVOICEHEADER_DbBO
       moInvoiceItemValueList
   }
   Invoice_DbBO <|-- Credit_DbBO
   Invoice_DbBO <|-- Payment_DbBO

```

## Investigation guide
### Defects related to items in cart
- OD_ORDERS_DbVForm
- OrdersSummary_VForm
- OrdersSummaryLine_VForm

### Defects related to Admin/Financial/Transactions
- IH_INVOICEHEADER_DbVForm
- II_INVOICEITEMS_DbVForm

### Defects in checkout flow
 - Invoice_DbBO