# FBA Inventory Reports

## Overview

The Daasity transformation code maps data from the Amazon Seller Central schema into the Unified Order Schema (UOS) for inventory data

## Feature Dependencies

You must have enabled our [Code Repository](https://help.daasity.com/technical-docs/transform-code/code-repository) feature in order to both access the Daasity transformation code as well as modify a Script Manifest File enabling this code to execute

We recommend you review the [Transformation Configuration](https://help.daasity.com/technical-docs/workflows-and-scheduling/script-manifest-yaml-files) section of our Help documentation to familiarize yourself with our workflow engine and script manifest files.

## Script Manifest File (YML)

### Upstream Transformation Dependencies

{% hint style="danger" %}
This code is dependent on the following integration being installed:

* Amazon FBA Manage Inventory Report

This code block is dependent on the following upstream code blocks being implemented:

* Initialization
  {% endhint %}

### Transformation Code Requirements

To enable the data transformation from the Amazon Seller Central schema into UOS, the following code must be run in a workflow:

```
  uos_amazon_selling_partner:
    integrations:
      - amazon_selling_partner
    scripts:
      - "github://platform-sql-shared/scripts/base/0500_uos/amazon_selling_partner/0555_UOS_BAS_AMAZON_current_inventory_levels.sql"
```

### Unified Order Schema

Code to populate the UOS tables and for both AFN (Amazon Fulfillment Network) and MFN (Manufacturer Fulfillment Network) inventory

* <https://github.com/Daasity/platform-sql-shared/blob/master/scripts/base/0500_uos/amazon_selling_partner/0555_UOS_BAS_AMAZON_current_inventory_levels.sql>
