We'll have many sales orders and each sales order will have multiple items. Each sales order may have one or several NonInventory Items of our principle make to order product, sand castings, from a tooling inventory of 1000's or as custom. Each principle Item or casting may require additional line items for special services or billable lines like Surcharge, Packaging, Freight, etc.
We'll drive a production schedule as a list of Sales Order Line Items for just the NonInventory type Items. The extra service items or billable add ons will only be visible in the Sales Order Detail. It is this list, Grid, or report which potentially might have open or closed line items.
I can see how Quickbooks maintains a FullyInvoiced status on the Sales Order based on dollar values, which closes the order header, but this does not blow down to the Sales Order Line Items.
In my Grids and Reports, I could compare the Order Quantity to the Invoiced Quantity to filter out completed line items, or mark them all as ManuallyClosed, or create another boolean field in Sales Order Line Items that would automaticaly toggle to close when the Invoiced Quantity meets or exceeds the order quantity.
The more I think about it, the more inclined I am to create this AutoClosed field in Sales Order Line items. In conjunction with isManuallyClosed it might give me full control. But, this would not be an indexed field and every grid and report would require a filter to avoid displaying all the closed orders, potentially 1000's in a short time.