- Edit the Prep Ticket to be used (Reports > Receipts)
- If it is a factory report, accept the message to create a duplicate
- Click the ‘Calc’ tab in the Report designer
- Click the ‘View’ menu and select ‘Events’
- In the top-left pane below the ‘Report Objects’ heading, Click ‘Report’
- In the top-right pane below the ‘Events’ heading, click ‘OnGetAutoSearchValues’
- In the bottom pane, click. The Procedure will appear with ‘begin’ and ‘end;’
- Replace ‘begin’ and ‘end;’ with the following code:
var
aField : TppAutoSearchField;
begin
aField := Report.AutoSearchCriteriaByName('PrepData', 'Prep Printed');
aField.Free;
end;
- Click the Design tab
- Click File, Close and answer Yes to save
Assign this newly saved template to the prep location where you want to be able print the entire prep ticket again when an item is added to the order.