You can have about 500 cases against any one animal at one time.
At present the 'transaction' can be in two states:
| Open | The case is active, the animal is under treatment and the case is 'on-going' |
| Closed | You are not expecting to see this animal regarding this case again. |
The [Transaction XXX tag can be used to add, list the status, XXX can be:
| XXXX | Description |
|---|---|
| NEW or ADD | Allocate a new transaction to the animal. Add an entry to the transaction list for the animal. |
| END or SHUT | Change the Open to Closed - that is in your opinion you will not see the animal for this case/treatment again. |
| LIST | Pop-up a box with ALL cases |
| OPEN | Pop-up a box with all 'OPEN' cases. |
| CLOSED | Pop-up a box with all 'CLOSED' cases |
| SHOW | Print on the screen (Top right) the case description. |
| ALTER | Changes the name of the transaction (See sample tranalt.pro) |
| RESET or CLEAR | Set the transaction number to Zero e.g. no current transaction/case in force. |
| OK | Works in a similar manner to MOBILEOK, INSUOK, MAILOK will exit if there is a current transaction. |
With OPEN, CLOSED and NEW the reserved word ANSWER will contain the transaction number.
See also HEADUP to stop the screen being cleared when not needed.
This example can be called from Automatic pricing and will basically 'Add' a new transaction: (in the samples as tranadd.pro)
Title: Add a new Transaction
[start] # Start here - don't want anything above esp Title
[headup] # Don't do any headings
[notitle] # No titles anywhere
[nosave] # Don't want to save anything
[] Why/What is this for? { [line 34] }
[NOANSWER Quit] # If no Answer goto Label
[Clinical 101 NT:ANSWER] # Need it here as next line mucks up ANSWER
[transaction add]
[setv transaction] # This sets the transaction number
[goto quit] # Ok that's us finished exit
[menu] # ESC on the Question will jump here
Note: When setting up the AP card, we recommend to also add ^33=1 to the extra's line. This avoids the system adding the
AP description every time it's called. So for the above transadd, set the extras line to:
Extras: ^37=tranadd ^33=1 |
For a detailed example, see Automatically asking transaction for a sample.