According to this, Yorkies are prone to pancreatitis:
"Multiple factors can contribute to the development of pancreatitis. Certain medications, infections; metabolic disorders including hyperlipidemia (high amounts of lipid in the blood) and hypercalcemia (high amounts of calcium in the blood); and trauma and shock can be associated with the development of pancreatitis. Middle-aged dogs appear to be at increased risk of developing pancreatitis; as a breed, Schnauzers and Yorkshire Terriers appear to be more prone to pancreatitis. Nutrition also plays a role. Dogs with diets high in fat, or dogs who 'steal' or are fed greasy 'people food' seem to have a high incidence of the disease." Pancreatitis (Inflammation) in Dogs
This is the first time Ted has had pancreatitis, right? If he has another attack, you may want to consider switching him to special diet. Repeated bouts of pancreatitis can cause other problems including diabetes like Lady has.