Connectors

/

PowerGP Online

/

Compare PowerGP Online and Shopify stock by SKU
Report
Cross-Connector

Catch Shopify oversells by comparing stock to GP

For operations teams who want GP quantities compared with Shopify available stock by asking their AI assistant.

Try PopdockAI free
Get a live demo
Compare PowerGP Online and Shopify stock by SKU
Compare stock for SKU WIDGET-100 between our Contoso GP company and Shopify.
WIDGET-100 shows an oversell risk: Shopify has more stock than GP. - GP on hand: 120 across 2 locations - GP on order: 200 - Shopify available: 155 - Difference: Shopify higher by 35 Want me to run this for a sample of 50 items and rank the differences?
PowerGP Online
Sample figures. Your results come from your own account.
powergp-online-get-itemsitequantities
shopify-get-inventory-level
shopify-get-product-variant

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

PowerGP Online

PowerGP Online
Run it on your own PowerGP Online data.

Connect PowerGP Online, pick your AI tool and paste the prompt.

Try PopdockAI free

The problem

Oversells surface only when an order cannot be filled

Stock counts are compared by hand between Dynamics GP and the Shopify admin. Oversells and stale quantities go unnoticed until a customer order cannot be filled, and the two systems rarely write a SKU the same way.

Without PopdockAI

  • Look up on hand and on order in Dynamics GP
  • Find the same SKU in the Shopify admin
  • Work out the difference item by item
  • Guess at SKUs written differently in each system

With PopdockAI

  • GP on hand and on order read across locations
  • Shopify available stock read for the same SKU
  • A table sorted by difference, oversell risk first
  • Exact SKU matching only, with unmatched formats listed

The prompt

Use this prompt

Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.

Prompt
**Objective:** Compare stock for `{sku}` between Dynamics GP and Shopify, in GP company `{company}` (default company if empty), and report where the two disagree.

**Step 1: GP quantities**

Call `powergp-online-get-itemsitequantities` (powergp-online-ai) with `item-number` = `{sku}` and `company` = `{company}` if given. Sum `quantity-on-hand` across locations and note `quantity-on-order` and `location-id`. If `{sku}` is empty, call it with `max-records` 50 and `quantity-on-hand.min` 0 and use the item numbers returned.

**Step 2: Shopify quantities**

For each item number, call `shopify-get-inventory-level` (shopify) with `sku` = the GP `item-number`. Sum `available` across locations. If nothing returns, call `shopify-get-product-variant` (shopify) with `sku` to see whether the SKU exists at all.

**Step 3: Report**

A table: SKU, GP on hand, GP on order, Shopify available, difference, and a verdict (matches, Shopify higher, GP higher, missing in Shopify, missing in GP). Sort by largest absolute difference. Put any oversell risk (Shopify higher than GP on hand) first.

**Rules & Guidelines:**

* `powergp-online-*` tools belong to the powergp-online-ai server; `shopify-*` tools belong to the shopify server. Both servers must be connected; if a tool is missing, name the missing server and stop.
* This prompt is read-only. Never call any `shopify-add-*` or `shopify-update-*` tool, and do not change anything in either system.
* Match on exact SKU equal to item number, ignoring case and surrounding spaces.

**Validation:**

* If a SKU has no GP record, report it as Shopify only and continue.
* If Shopify does not track the item (`tracked` false), say so instead of reporting a difference.
* Do not guess a mapping when SKU and item number formats differ; list the unmatched ones.

Who it's for

One answer, three teams that use it

E-commerce managers

Stop selling stock you do not have

SKUs where Shopify shows more than GP holds are listed first, so you can fix them before the next order.

Compare a sample of 50 SKUs between GP and Shopify and show me oversell risks first.

Inventory controllers

Find stale quantities in one table

See GP on hand, on order and Shopify available side by side, with the difference for each SKU.

How does stock for SKU BOTTLE-750 in GP compare with what Shopify shows available?

Operations managers

Check stock alignment before a busy week

A ranked list of the biggest differences tells you where the two systems disagree most.

Which SKUs have the largest stock difference between our Fabrikam GP company and Shopify?

How it works

What PopdockAI does when you ask

You give a SKU, or ask for a sample, and your AI assistant reads stock from PowerGP Online and Shopify. It matches on exact SKU and changes nothing.

01

Ask

You give a SKU, or leave it empty for a sample, and the GP company.

Your AI tool

02

GP

It reads quantity on hand and on order across locations.

powergp-online-get-itemsitequantities

03

Shopify

It reads available stock for the same SKU.

shopify-get-inventory-level
shopify-get-product-variant

04

Report

You get a ranked table with a verdict per SKU.

Your AI tool

What PopdockAI provides

The tools behind the answer

Ready made tools for PowerGP Online and one secure connection to your AI tool. No code, no exports.

get-data

powergp-online-get-itemsitequantities

Returns item site quantities from the PowerGP Online connector (Microsoft Dynamics GP). Read-only; can be filtered by company and the record fields it offers.
get-data

shopify-get-inventory-level

Returns the stock of each Shopify inventory item at each location. Filter by location, SKU, inventory item, available quantity, tracked and updated date.
get-data

shopify-get-product-variant

Returns Shopify product variants with their SKU, barcode, price, inventory quantity and inventory policy. Filter by product, variant, SKU, barcode, title, price and inventory quantity.
Read only.Nothing in PowerGP Online Changes

This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.

How Popdock AI secures your data

The outcome

Oversell risk found before a customer finds it

Try PopdockAI free
Get a live demo

Related use cases

More ways to put this data to work

All Ramp use cases

One prompt template with infinite possibilities.

‍

Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.

Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

Try PopdockAI Free
See Documentation