Receipts: What java class(es) give .bpt files their id="XXXXXXXXX" dependsOnPresenceOf="XXXXXXXXX"
Where are receipts assigned their "id" and "dependsOnPresenceOf" numbers in the Java code?
Where in the java code are these numbers used?
Background:
I'm looking to better understand how the code (I'm guessing a technician?) makes the decision on which receipt.bpt is actually printing. I've been able to make some modifications to receipts based on existing receipts. I'm looking to change which receipt .bpt atually prints and creating my own receipt to print. For instance where one receipt .bpt prints now for two different transaction types I would like to create the functionality to print two different receipts based on two different transaction types/flows. I believe this would need to be accomplished in the java code, but if it can be done right