Connectors

/

WooCommerce

/

Trace a WooCommerce order into Dynamics GP
Report
Cross-Connector

Follow a WooCommerce order from cart to cash in Dynamics GP

For support and finance teams who want a WooCommerce order traced through Dynamics GP sales and receivables by their AI assistant.

Try PopdockAI free
Get a live demo
Trace a WooCommerce order into Dynamics GP
Where is WooCommerce order 1047 in Dynamics GP? The customer is asking.
Order 1047 is invoiced in Dynamics GP and half paid. - Documents: order ORD-1047 and invoice INV-1047, no duplicates - Lines: all match by SKU, quantity and price - Receivables: 52.00 still owed after a 52.00 payment - Refunds: none In short: invoiced, partly paid, nothing missing.
WooCommerce
Sample figures. Your results come from your own account.
woocommerce-get-order
woocommerce-get-order-line
woocommerce-get-refund
microsoft-dynamics-gp-get-rm-sales-trx
microsoft-dynamics-gp-get-rm-sales-line-item
microsoft-dynamics-gp-get-rm-trx
microsoft-dynamics-gp-get-rm-trx-apply

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

WooCommerce

WooCommerce
Run it on your own WooCommerce data.

Connect WooCommerce, pick your AI tool and paste the prompt.

Try PopdockAI free

The problem

Following one order from cart to cash takes five screens

When a customer asks where their order is, the answer runs from WooCommerce through Dynamics GP sales documents into receivables. Following it means matching lines by SKU, finding the invoice and checking applied payments across several screens.

Without PopdockAI

  • Read the order and refunds in WooCommerce
  • Find GP sales documents by PO number
  • Match lines and follow the invoice into receivables
  • Check which payments were applied

With PopdockAI

  • The order, lines and refunds are read
  • GP documents are found by customer PO and lines compared
  • The invoice is followed into receivables for balance and payments
  • Gaps are flagged with one sentence on where it stands

The prompt

Use this prompt

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

Prompt
**Objective:** Trace WooCommerce order {order-number} through Dynamics GP and report where it stands in each system: sales documents, lines, invoice balance and payments.

**Step 1: Read the store order (woocommerce)**

Call `woocommerce-get-order` with order-number set to {order-number}. If nothing comes back, say the order does not exist in the store and stop. Then call `woocommerce-get-order-line` and `woocommerce-get-refund`, both with order-number set to {order-number}.

**Step 2: Find the GP sales documents (dynamics-gp)**

Call `dynamics-gp-get-rm-sales-trx` with customer-po-number set to {order-number}. If nothing comes back, try once more with the store order-id. If there is still nothing, report the order as present in WooCommerce and absent from GP, show the store side from step 1, and stop.

**Step 3: Compare the lines (dynamics-gp)**

For each GP document call `dynamics-gp-get-rm-sales-line-item` with sop-number and sop-type. Match store lines to GP lines by line-sku and item-number, then compare quantity and unit price.

**Step 4: Follow the invoice into receivables (dynamics-gp)**

For each GP document that is an invoice, call `dynamics-gp-get-rm-trx` with customer-id and document-number set to the sop-number. current-transaction-amount is the amount still owed. Then call `dynamics-gp-get-rm-trx-apply` with applied-to-document-number set to the sop-number to list the payments and credits applied to it.

**Step 5: Report**

1. Store: order number, date, status, customer, total, refunds.
2. GP: each sales document with SOP number, type, date, posting status and amount.
3. Line differences: missing on either side, or a different quantity or price.
4. Receivables: invoice amount, amount still owed, due date, and each payment applied with its date and amount.
5. One sentence on where the order stands, such as invoiced and paid, invoiced and unpaid, or ordered but not invoiced.

**Rules & Guidelines:**

* Tools whose names start with woocommerce- are on the woocommerce MCP server; tools whose names start with dynamics-gp- are on the dynamics-gp MCP server. If a tool from either server is not available, stop and say which server is not connected.
* If the user names a Dynamics GP company, pass it as company on every dynamics-gp call.
* Match a store SKU to a GP item number exactly, after trimming spaces. If that fails, try the SKU in upper case once. Never match on descriptions or partial codes.
* This prompt is read-only. Do not call `woocommerce-update-order`, `woocommerce-add-order-note`, `woocommerce-add-refund`, `dynamics-gp-rm-sales-trx-update`, `dynamics-gp-rm-sales-trx-note` or `dynamics-gp-rm-trx-add`.

**Validation:**

* If GP has an invoice but receivables returns nothing for it, report the invoice as not yet posted to receivables.
* If the store shows refunds and GP shows no return or credit applied, say so.
* If GP returns more than one document of the same type for this PO number, list them all and flag it as a possible duplicate.

Who it's for

One answer, three teams that use it

Operations managers

Answer order status questions

Tell a customer exactly where their order is, from sales document to payment.

Where is WooCommerce order 2510 in Dynamics GP?

Accounts receivable

See what is still owed

The invoice is followed into receivables with the balance and payments applied.

How much is still owed on WooCommerce order 1890 in Dynamics GP?

Customer service agents

Spot problems before replying

Invoices not in receivables, missing credits and duplicate documents are flagged.

Trace WooCommerce order 3022 into GP and tell me if anything looks wrong.

How it works

What PopdockAI does when you ask

You give the order number, and your AI assistant follows it from the store into Dynamics GP receivables. Both systems stay exactly as they were.

01

Ask

You give the WooCommerce order number.

Your AI tool

02

Read

It reads the store order, lines and refunds.

woocommerce-get-order
woocommerce-get-order-line
woocommerce-get-refund

03

Trace

It finds GP sales documents by PO, compares lines and follows the invoice into receivables.

microsoft-dynamics-gp-get-rm-sales-trx
microsoft-dynamics-gp-get-rm-sales-line-item
microsoft-dynamics-gp-get-rm-trx
microsoft-dynamics-gp-get-rm-trx-apply

04

Report

You get flags and one sentence on where it stands.

Your AI tool

What PopdockAI provides

The tools behind the answer

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

get-data

woocommerce-get-order

Returns WooCommerce orders with status, totals, discounts, shipping, payment method and paid date. Filter by status, customer email or id, order number, created date range, total range or billing last name.
get-data

woocommerce-get-order-line

Returns the product lines on WooCommerce orders: product, SKU, quantity, price, line total and tax. Filter by order, customer, SKU or product id, order status and date range.
get-data

woocommerce-get-refund

Returns WooCommerce refunds with amount, reason, who made them and whether the gateway returned the money. Filter by order, customer, amount range and date range.
get-data

microsoft-dynamics-gp-get-rm-sales-trx

Returns Sales Order Processing documents such as quotes, orders and invoices from Dynamics GP Sales, with the customer, dates, salesperson and document totals. Filter by batch number, customer ID, SOP type, SOP number, salesperson ID, document amount, customer name and document date, and pick the company and the maximum number of records.
get-data

microsoft-dynamics-gp-get-rm-sales-line-item

Returns sales document lines from Dynamics GP Sales Order Processing, with the customer, item, quantity, prices and costs of each line. Filter by location code, SOP type, item number, SOP number, customer name, customer ID, item description and extended price, and pick the company and the maximum number of records.
get-data

microsoft-dynamics-gp-get-rm-trx

Returns receivables transactions such as invoices, payments and credit memos from Dynamics GP Receivables Management, including customer, dates, amounts and outstanding balances. Filter by customer ID, document type, customer name, document date, document amount, document number, batch number and void status, and pick the company and the maximum number of records.
get-data

microsoft-dynamics-gp-get-rm-trx-apply

Returns receivables apply records from Dynamics GP Receivables/Sales, showing which payments and credits were applied to which invoices and for how much. Filter by customer name, document date, amount applied, document number, document type, applied to document type, customer ID and applied to document number, and pick the company and the maximum number of records.
Read only.Nothing in WooCommerce 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

Where an order stands, from cart to cash

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