---
id: change/bcapps/12139
type: change
title: "#12139 [Shopify] Disable Create Sales Documents for empty order views"
summary: The Create Sales Documents action on the Shopify Orders page is now disabled when the current filtered view contains no orders, preventing users from attempting to create documents with no data.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - page shpfy orders
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:02:06.528Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: ecfa968295f83ae4de06ef6591be8d7a35f9d5db
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12139
    title: "microsoft/BCApps#12139: [Shopify] Disable Create Sales Documents for empty order views"
    date: "2026-10-06"
    commit: ecfa968295f83ae4de06ef6591be8d7a35f9d5db
    t: null
    quote: Disable Create Sales Documents on the Shopify Orders page when the current filtered view contains no orders.
links:
  learn: []
  objects:
    - object/page/30115
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 12139
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12139
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-06T12:12:22Z"
author: onbuyuka
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Integrations"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 49
  deletions: 0
  al: 1
apps:
  - Shopify
objects_touched:
  - key: page/30115
    page: page/30115
    type: page
    id: 30115
    name: Shpfy Orders
    app: Shopify
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 652250
systems:
  - integration
quote: Disable Create Sales Documents on the Shopify Orders page when the current filtered view contains no orders.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #12139 [Shopify] Disable Create Sales Documents for empty order views

> The Create Sales Documents action on the Shopify Orders page is now disabled when the current filtered view contains no orders, preventing users from attempting to create documents with no data.

[Pull request](https://github.com/microsoft/BCApps/pull/12139) · merged into `main` (BC30) on 2026-10-06 by onbuyuka · 2 files (+49 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Action state updates dynamically based on active record filters
- Disabled when filtered view is empty, enabled when orders are present
- Standard list lookup behavior is preserved
- Test coverage added for filtered views with orders, no orders, and orders again
- No breaking changes or new analyzer warnings
- Behaviour changes for users or extensions.

## AL objects touched

- [Page 30115 "Shpfy Orders"](../../objects/page/30115.md), Shopify: modified

## Context

- Work items: AB#652250
- Labels: AL: Apps (W1), Team: Integrations
- Systems: integration
- From the description: "Disable Create Sales Documents on the Shopify Orders page when the current filtered view contains no orders."

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
