Skip to content

Commit 72423ad

Browse files
authored
Update transactions.markdown
1 parent 91b1968 commit 72423ad

1 file changed

Lines changed: 102 additions & 4 deletions

File tree

_documentation/transactions.markdown

Lines changed: 102 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ Items, and parts thereof. There are three primary types of transactions.
1515
3. [Borrows](/documentation/borrow.html) record items from other collections lent, and in your collection’s temporary custody. Note that borrows have no link to catalog records.
1616

1717

18-
These three types of transactions share several fields in common, and those fields are treated on this page.
18+
Data in table trans and related tables may be used by all three types of transactions.
19+
20+
# table trans
21+
22+
Table trans is the primary/central transaction table.
1923

2024
## transaction_id
2125

@@ -54,7 +58,7 @@ Trans date is an ISO8601 date field describing the date the transaction took pla
5458

5559
---------------------------------
5660

57-
# trans_agent
61+
# table trans_agent
5862

5963
Transaction Agents are Agents who participate in transactions in some way.
6064

@@ -80,9 +84,103 @@ Transaction Agent Role describes the various roles Agents have in Transactions.
8084

8185

8286

83-
## Next Number
8487

85-
Arctos can by request suggest the "next" transaction identifier (eg, loan number) if the existing data support such a calculation. File an Issue to request this functionality. Minimum requirements are the transaction type, format of the suggestion, and collection(s) to which the suggestion applies.
88+
# table shipment
89+
90+
Shipments record movement of material and correspondence.
91+
92+
93+
## shipment_id
94+
95+
primary key
96+
97+
## transaction_id
98+
99+
Foreign key ---> transaction
100+
101+
102+
103+
## container_id
104+
105+
106+
Foreign key ---> container
107+
108+
109+
## packed_by_agent_id
110+
111+
112+
Foreign key ---> agent
113+
114+
The agent handling the material.
115+
116+
117+
## shipped_carrier_method
118+
119+
Foreign key ---> [ctshipped_carrier_method](https://arctos.database.museum/info/ctDocumentation.cfm?table=ctshipped_carrier_method)
120+
121+
## carriers_tracking_number
122+
123+
Identifier (ideally URL) provided by the carrier.
124+
125+
## shipped_date
126+
127+
Date
128+
129+
130+
## package_weight
131+
132+
text; include units as necessary
133+
134+
## hazmat_fg
135+
136+
yes/no
137+
138+
## insured_for_insured_value
139+
140+
Numeric, assume USD
141+
142+
## shipment_remarks
143+
144+
Elaborate here
145+
146+
## contents
147+
148+
Describe
149+
150+
## foreign_shipment_fg
151+
152+
yes/no
153+
154+
155+
## shipped_to_addr_id
156+
157+
Foreign key ---> agent_attribute
158+
159+
## shipped_from_addr_id
160+
161+
162+
Foreign key ---> agent_attribute
163+
164+
165+
## shipment_type
166+
167+
Foreign key ---> [ctshipment_type](https://arctos.database.museum/info/ctDocumentation.cfm?table=ctshipment_type)
168+
169+
170+
# table permit_trans
171+
172+
Table Permit-Trans links [permits](/documentation/permits.html) and transactions.
173+
174+
# table project_trans
175+
176+
177+
Table Project-Trans links [projects](/documentation/projects.html) and transactions.
178+
179+
# table trans_container
180+
181+
Table Trans-Container provides a mechanism to link transations and [containers](/documentation/container.html) .
182+
183+
86184

87185
## Edit this Documentation
88186

0 commit comments

Comments
 (0)