WP Manifestindependent plugin directory
manifest / integrations / tektone-acumatica-order-status

TekTone Acumatica Order Status Prototype

Wordpress plugin to fetch order status

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/dnickelstek/tektone-acumatica-order-status/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

This prototype creates:

  • A shortcode: [tektone_order_status]
  • A public WordPress REST endpoint: /wp-json/tektone/v1/order-status
  • Server-side Acumatica username/password login
  • A PUT call to /entity/TekTone/24.200.001/OrderStatusPackageData?$expand=Result
  • A sanitized response rendered on the page

Install

  1. Upload the tektone-acumatica-order-status folder to wp-content/plugins/.
  2. Add the constants below to wp-config.php.
  3. Activate the plugin in WordPress.
  4. Create a WordPress page and add this shortcode:
[tektone_order_status]

wp-config.php constants

Put these above the "That's all, stop editing" line.

define('TEKTONE_ACU_BASE_URL', 'https://tektone.acumatica.com');
define('TEKTONE_ACU_ORDER_STATUS_PATH', '/entity/TekTone/24.200.001/OrderStatusPackageData?$expand=Result');

define('TEKTONE_ACU_USERNAME', 'YOUR_API_USER');
define('TEKTONE_ACU_PASSWORD', 'YOUR_API_PASSWORD');
define('TEKTONE_ACU_COMPANY', 'YOUR_TENANT_NAME');
define('TEKTONE_ACU_BRANCH', '');
define('TEKTONE_ACU_LOCALE', 'en-US');

define('TEKTONE_ACU_CACHE_TTL', 60);
define('TEKTONE_ACU_RATE_LIMIT_COUNT', 20);
define('TEKTONE_ACU_RATE_LIMIT_WINDOW', 600);

Add fields later

Most changes should be made in these two PHP methods:

  • summary_fields()
  • result_columns()

Example:

'newField' => array(
    'label' => 'New Field',
    'source' => 'AcumaticaFieldName',
),

The JavaScript renders the table dynamically from the columns returned by PHP.