DirectFulfillmentOrders
Returns a list of purchase orders created during the specified time frame, along with essential order information such as order dates, shipping addresses, requested delivery dates, and order status.
View-Specific Information
Select
To retrieve all new direct fulfillment orders from the last 7 days:
SELECT
PurchaseOrderNumber,
OrderDate,
OrderStatus,
CustomerOrderNum,
ShipToName,
ShipToCity,
ShipToStateOrRegion,
ShipToPostalCode,
RequiredDate,
PromisedDate,
ShipMethod,
IsPriority
FROM VendorCentral.DirectFulfillmentOrders
WHERE OrderDate >= DATEADD(day, -7, GETDATE())
AND OrderStatus = 'NEW'
ORDER BY OrderDate DESC;
Use this query for a quick overview of pending orders that need fulfillment.
To filter orders by warehouse to view fulfillment workload for a specific location:
SELECT
PurchaseOrderNumber,
OrderDate,
ShipFromId,
ShippingPartyName,
ShippingPartyCity,
OrderStatus
FROM VendorCentral.DirectFulfillmentOrders
WHERE ShipFromId = 'WAREHOUSE-001'
AND OrderDate >= DATEADD(day, -30, GETDATE());
To retrieve priority shipments with approaching deadlines to support time-sensitive fulfillment:
SELECT
PurchaseOrderNumber,
OrderDate,
RequiredDate,
ShipToName,
ShipToCity,
ShipToStateOrRegion,
CustomerMessage
FROM VendorCentral.DirectFulfillmentOrders
WHERE IsPriority = 1
AND OrderStatus = 'NEW'
AND RequiredDate <= DATEADD(day, 2, GETDATE())
ORDER BY RequiredDate ASC;
To generate a daily warehouse summary showing order volume, item count, total units, and total value to support capacity planning and workload balancing across facilities:
SELECT
ShipFromId,
ShippingPartyName,
COUNT(DISTINCT PurchaseOrderNumber) AS TotalOrders,
COUNT(ItemSequenceNumber) AS TotalItems,
SUM(CAST(OrderedAmount AS INT)) AS TotalUnits,
SUM(CAST(TotalPrice AS DECIMAL(18,2))) AS TotalValue
FROM VendorCentral.DirectFulfillmentOrders
INNER JOIN VendorCentral.DirectFulfillmentOrderItems
ON PurchaseOrderNumber = PurchaseOrderNumber
WHERE OrderDate >= CAST(GETDATE() AS DATE)
AND OrderStatus = 'NEW'
GROUP BY ShipFromId, ShippingPartyName
ORDER BY TotalOrders DESC;
To identify orders with approaching required ship dates:
SELECT
PurchaseOrderNumber,
OrderDate,
RequiredDate,
DATEDIFF(hour, GETDATE(), RequiredDate) AS HoursUntilRequired,
ShipFromId,
IsPriority,
COUNT(ItemSequenceNumber) AS ItemCount,
ShipToCity,
ShipToStateOrRegion
FROM VendorCentral.DirectFulfillmentOrders
INNER JOIN VendorCentral.DirectFulfillmentOrderItems
ON PurchaseOrderNumber = PurchaseOrderNumber
WHERE OrderStatus = 'NEW'
AND RequiredDate BETWEEN GETDATE() AND DATEADD(day, 1, GETDATE())
GROUP BY
PurchaseOrderNumber,
OrderDate,
RequiredDate,
ShipFromId,
IsPriority,
ShipToCity,
ShipToStateOrRegion
ORDER BY RequiredDate ASC;
The HoursUntilRequired column shows the time remaining before the deadline.
Use this report to prioritize fulfillment activities and prevent late shipments.
Columns
| Name | Type | References | Description |
| PurchaseOrderNumber [KEY] | String | An alphanumeric identifier for this purchase order. | |
| BillToPartyAddressLine1 | String | The first line of the address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| BillToPartyAddressLine2 | String | Additional address information, if required. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| BillToPartyAddressLine3 | String | Additional address information, if required. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| BillToPartyAttention | String | The attention name of the person at that address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| BillToPartyCity | String | The city of the billing address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| BillToPartyCountryCode | String | The two-digit country code in ISO 3166-1 alpha-2 format. | |
| BillToPartyCounty | String | The county of the billing address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| BillToPartyDistrict | String | The district of the billing address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| BillToPartyId | String | The assigned identifier for the billing party (for example, a warehouse or vendor code). For more details, refer to the specific party. | |
| BillToPartyName | String | The name of the billing party. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| BillToPartyPhone | String | The phone number of the billing address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| BillToPartyPostalCode | String | The postal code of the billing address, which contains a series of letters or digits or both, sometimes including spaces or punctuation. | |
| BillToPartyStateOrRegion | String | The state or region of the billing address. | |
| BillToPartyTaxRegAddressLine1 | String | The first line of the tax registration address. For Amazon label-only vendors, this field includes the value 'xxxxx' within the shipToParty object. | |
| BillToPartyTaxRegAddressLine2 | String | Additional address information, if required. For Amazon label-only vendors, this field includes the value 'xxxxx' within the shipToParty object. | |
| BillToPartyTaxRegAddressLine3 | String | Additional address information, if required. For Amazon label-only vendors, this field includes the value 'xxxxx' within the shipToParty object. | |
| BillToPartyTaxRegAttention | String | The attention name of the person associated with the tax registration address. For Amazon label-only vendors, this field includes the value 'xxxxx' within the shipToParty object. | |
| BillToPartyTaxRegCity | String | The city of the tax registration address. For Amazon label-only vendors, this field includes the value 'xxxxx' within the shipToParty object. | |
| BillToPartyTaxRegCountryCode | String | The two-digit country code in ISO 3166-1 alpha-2 format. | |
| BillToPartyTaxRegCounty | String | The county of the tax registration address. For Amazon label-only vendors, this field includes the value 'xxxxx' within the shipToParty object. | |
| BillToPartyTaxRegDistrict | String | The district of the tax registration address. For Amazon label-only vendors, this field includes the value 'xxxxx' within the shipToParty object. | |
| BillToPartyTaxRegMessages | String | A tax registration message that can be used for additional tax-related details. | |
| BillToPartyTaxRegName | String | The name associated with the tax registration address. For Amazon label-only vendors, this field includes the value 'xxxxx' within the shipToParty object. | |
| BillToPartyTaxRegNumber | String | The tax registration number for the party, such as the Value Added Tax (VAT) ID. | |
| BillToPartyTaxRegPhone | String | The phone number of the tax registration address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| BillToPartyTaxRegPostalCode | String | The postal code of the tax registration address, which contains a series of letters or digits or both, sometimes including spaces or punctuation. | |
| BillToPartyTaxRegStateOrRegion | String | The state or region of the tax registration address. | |
| BillToPartyTaxRegType | String | The tax registration type for the entity. | |
| CustomerMessage | String | The message provided to the customer regarding order status. | |
| CustomerOrderNum | String | The customer order number. | |
| IsGift | Bool | When true, the order contains a gift and includes any associated gift message or gift wrap information. | |
| IsPriority | Bool | When true, this is a priority shipment. | |
| IsScheduledDelivery | Bool | When true, this order is part of a scheduled delivery program. | |
| IsSlipRequired | Bool | When true, a packing slip is required to be sent to the customer. | |
| OrderDate | Datetime | The date the order was placed. | |
| OrderStatus | String | The current status of the order. | |
| OrderItems | String | A JSON aggregate containing the line items included in this purchase order. | |
| OrderTaxDetails | String | The tax details for the order. | |
| PromisedDate | Datetime | The delivery date promised to the Amazon customer. | |
| RequiredDate | Datetime | The time by which the vendor is required to ship the order. | |
| SellingPartyAddressLine1 | String | The first line of the selling party's address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| SellingPartyAddressLine2 | String | Additional address information, if required. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| SellingPartyAddressLine3 | String | Additional address information, if required. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| SellingPartyAttention | String | The attention line of the selling party's address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| SellingPartyCity | String | The city of the selling party's address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| SellingPartyCountryCode | String | The two-digit country code in ISO 3166-1 alpha-2 format. | |
| SellingPartyCounty | String | The county of the selling party's address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| SellingPartyDistrict | String | The district of the selling party's address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| SellingPartyId | String | The assigned identifier for the selling party (for example, a warehouse or vendor code). For more details, refer to the specific party. | |
| SellingPartyName | String | The name of the selling party. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| SellingPartyPhone | String | The phone number of the selling party's address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| SellingPartyPostalCode | String | The postal code of the selling party's address, which contains a series of letters or digits or both, sometimes including spaces or punctuation. | |
| SellingPartyStateOrRegion | String | The state or region of the selling party's address. | |
| SellingPartyTaxRegMessages | String | The tax registration message that can be used for additional tax-related details. | |
| SellingPartyTaxRegNumber | String | The tax registration number for the party, such as the VAT ID. | |
| SellingPartyTaxRegType | String | The tax registration type for the entity. | |
| ShipFromId | String | The vendor warehouse identifier for the fulfillment warehouse. If not specified, the result contains orders for all warehouses. | |
| ShipMethod | String | The ship method to be used for shipping the order. Amazon defines ship method codes indicating the shipping carrier and shipment service level. | |
| ShippingPartyAddressLine1 | String | The first line of the shipping party's address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShippingPartyAddressLine2 | String | Additional address information, if required. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShippingPartyAddressLine3 | String | Additional address information, if required. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShippingPartyAttention | String | The attention line of the shipping party's address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShippingPartyCity | String | The city of the shipping party's address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShippingPartyCountryCode | String | The two-digit country code in ISO 3166-1 alpha-2 format. | |
| ShippingPartyCounty | String | The county of the shipping party's address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShippingPartyDistrict | String | The district of the shipping party's address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShippingPartyName | String | The name of the shipping party. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShippingPartyPhone | String | The phone number of the shipping party's address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShippingPartyPostalCode | String | The postal code of the shipping party's address, which contains a series of letters or digits or both, sometimes including spaces or punctuation. | |
| ShippingPartyStateOrRegion | String | The state or region of the shipping party's address. | |
| ShippingPartyTaxRegAddressLine1 | String | The first line of the tax registration address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShippingPartyTaxRegAddressLine2 | String | Additional address information, if required. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShippingPartyTaxRegAddressLine3 | String | Additional address information, if required. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShippingPartyTaxRegAttention | String | The attention line of the tax registration address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShippingPartyTaxRegCity | String | The city of the tax registration address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShippingPartyTaxRegCountryCode | String | The two-digit country code in ISO 3166-1 alpha-2 format. | |
| ShippingPartyTaxRegCounty | String | The county of the tax registration address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShippingPartyTaxRegDistrict | String | The district of the tax registration address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShippingPartyTaxRegMessages | String | The tax registration message that can be used for additional tax-related details. | |
| ShippingPartyTaxRegName | String | The name associated with the tax registration address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShippingPartyTaxRegNumber | String | The tax registration number of the party, such as the VAT ID. | |
| ShippingPartyTaxRegPhone | String | The phone number of the tax registration address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShippingPartyTaxRegPostalCode | String | The postal code of the tax registration address., which contains a series of letters or digits or both, sometimes including spaces or punctuation. | |
| ShippingPartyTaxRegStateOrRegion | String | The state or region of the tax registration address. | |
| ShippingPartyTaxRegType | String | The tax registration type for the entity. | |
| ShipToAddressLine1 | String | The first line of the delivery address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShipToAddressLine2 | String | Additional address information, if required. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShipToAddressLine3 | String | Additional address information, if required. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShipToAttention | String | The attention line for the delivery address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShipToCity | String | The city of the delivery address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShipToCountryCode | String | The two-digit country code in ISO 3166-1 alpha-2 format. | |
| ShipToCounty | String | The county of the delivery address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShipToDistrict | String | The district of the delivery address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShipToName | String | The name associated with the delivery address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShipToPhone | String | The phone number of the delivery address. For Amazon label-only vendors, this field contains the value 'xxxxx' within the shipToParty object. | |
| ShipToPostalCode | String | The postal code of the delivery address, which contains a series of letters or digits or both, sometimes including spaces or punctuation. | |
| ShipToStateOrRegion | String | The state or region of the delivery address. |