USE gringlobal
--===============================================================================
-- code_value_lang
--===============================================================================
UPDATE code_value_lang SET description = '1 (or more) order items have been cancelled. This action is automatically added when order item status is switched to "Cancel or abort order item" via the order wizard right click menu.' WHERE code_value_lang_id=2244
UPDATE code_value_lang SET description = 'A curator (Cooperator) reviewed an order and cleared the order for distribution.' WHERE code_value_lang_id=5245
UPDATE code_value_lang SET description = 'Order is held while the curator waits for intellectual property rights (IPR) to expire' WHERE code_value_lang_id=5246
UPDATE code_value_lang SET description = 'Order is held while the curator waits for accession(s) to be regenerated' WHERE code_value_lang_id=5247
UPDATE code_value_lang SET description = 'Document Attached to order' WHERE code_value_lang_id=13158
UPDATE code_value_lang SET description = 'Completed order' WHERE code_value_lang_id=12976
UPDATE code_value_lang SET description = '1 (or more) order items are on the U.S. Fish and Wildlife Service''s Threatened or Endangered species list. Germplasm distributed according to permit restrictions. Requestor needs to provide a signed statement on their organization''s letterhead indicating they agree to abide by the permit restrictions. Restrictions often require samples be exclusively used for scientific research under controlled conditions and seed or progeny not be sold or otherwise enter into commercial commerce.' WHERE code_value_lang_id=5248
UPDATE code_value_lang SET description = 'Historical action used when one site created an order that contained germplasm maintained at a different site. Order was forwarded to appropriate distribution site for review and processing.' WHERE code_value_lang_id=2246
UPDATE code_value_lang SET description = 'Hold order pending action - Use action information column to record reason' WHERE code_value_lang_id=12917
UPDATE code_value_lang SET description = 'The order has been transferred to APHIS quarantine facilites in Beltsville, MD for issuance of a phytosanitary certificate and final export from the U.S.A. This action is automatically added when order item status is switched to "APHIS" via the order wizard right click menu.' WHERE code_value_lang_id=2243
UPDATE code_value_lang SET description = 'Review applicable export restrictions in phytosanitary Export Database (PExD). PExD contains phytosanitary import requirements of U.S.-origin commodities to foreign countries. This information may be retrieved by users with access to the Phytosanitary Certificate Issuance & Tracking (PCIT) system. Use the Completed Date to note when export restrictions were received. ' WHERE code_value_lang_id=5243
UPDATE code_value_lang SET description = 'Distribution of one (or more) order items requires the issuance of a phytosanitary certificate. The phytosantiary certificate will be issued on site by a qualifed regulatory agency instead of being sent to APHIS for issuance of a phytosantiary certificate. This is more common with vegetative germplasm.' WHERE code_value_lang_id=5252
UPDATE code_value_lang SET description = 'New Order' WHERE code_value_lang_id=12918
UPDATE code_value_lang SET description = 'Order items have been picked & filled and are ready for packaging and shipping.' WHERE code_value_lang_id=2249
UPDATE code_value_lang SET description = 'Order is under review. This action is automatically added when order item status is switched to "Pending" via the order wizard right click menu.' WHERE code_value_lang_id=2250
UPDATE code_value_lang SET description = 'One (or more) of the order items has been shipped but at least one order item is waiting to be distributed in a future shipment.' WHERE code_value_lang_id=2251
UPDATE code_value_lang SET description = 'Order was received by recipient' WHERE code_value_lang_id=12919
UPDATE code_value_lang SET description = 'NPGS staff contacted the requestor for additional information about an order. The order will be held while we wait for the requestor’s response.  ' WHERE code_value_lang_id=5255
UPDATE code_value_lang SET description = 'Order was returned to the NPGS - use action information column to document reason.' WHERE code_value_lang_id=12920
UPDATE code_value_lang SET description = 'Order was shipped. This action is automatically added via the order wizard''s "Ship All Remaining Items" button.' WHERE code_value_lang_id=2252
UPDATE code_value_lang SET description = 'SMTA acceptance via the public web site during the ordering process. Includes web order item numbers of the accessions that are included in that order that have a SMTA. ' WHERE code_value_lang_id=5256
UPDATE code_value_lang SET description = 'Order requestor solicited for e-mail/letter acceptance of the SMTA associated with the accessions requested. Use start and completed dates to document receiving of SMTA. Add "Documentation available, SMTA accepted" action for order wizard processing trigger. ' WHERE code_value_lang_id=5257
UPDATE code_value_lang SET description = 'Order was divided into two or more separate sub-orders. A list of sub-orders may be recorded in the "Action Information" field. Orders may be split for convenience of order fulfillment or delays in processing due to different export restrictions for different species.' WHERE code_value_lang_id=2253




UPDATE code_value_lang SET title = 'Import Permit requested', description = 'Requestor was asked to provide an import permit for the order. Distribution of one (or more) order items is prohibited or restricted without an import permit.' WHERE code_value_lang_id = 5250
UPDATE code_value_lang SET description = 'Additional "Phytosanitary Testing" is needed in order to satisfy export restrictions. After the phytosantiary order has been created the order number can be documented in the "Action Information Field". The cooperator field can note the person conducting the quality test. The "completed date" should refer to when testing has been completed. This action is automatically added when order item status is switched to "Quality Testing" via the order wizard right click menu.' WHERE code_value_lang_id=5254

--===============================================================================
-- code_value
--===============================================================================
UPDATE code_value SET value = 'CUR_CLEARED' WHERE code_value_id = 3882
UPDATE code_value SET value = 'HOLD_IPR' WHERE code_value_id = 3883
UPDATE code_value SET value = 'HOLD_REGEN' WHERE code_value_id = 3884
UPDATE code_value SET value = 'SMTA_REQUESTED' WHERE code_value_id = 3894