Skip to content

proposal: which source rows become lines - #72

Open
delchev wants to merge 1 commit into
mainfrom
propose/generates-items-rule
Open

proposal: which source rows become lines#72
delchev wants to merge 1 commit into
mainfrom
propose/generates-items-rule

Conversation

@delchev

@delchev delchev commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

A create-from's mirror items: block clones EVERY row of the source document into a target line, and there is no way to say which rows qualify. So an invoice generated from a project month bills every member timesheet it holds — a DRAFT or REJECTED one at the same footing as an APPROVED one, and one with no hours at all is a line the target refuses outright, so a single unfinished row stops the whole month from being invoiced.

The proposal adds where: (the rule that selects the qualifying rows, in the shape a scheduled query already uses) and refuse: (the reading where an unqualified row stops the generation with an authored message naming the rows, instead of being left out of the document). A rule that qualifies no row refuses either way, rather than committing a document with no lines.

proposals/0037-which-source-rows-become-lines.md. Reference implementation: eclipse-dirigible/dirigible#7164 (issue eclipse-dirigible/dirigible#7091). Site page: IntentFile/intentfile.github.io#51.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant