public PurchaseOrder() { ClientHeaderRecord = new R10_ClientHeader(); FixedHandlingInstructionsRecord = new R20_FixedSpecialHandlingInstructions(); PurchaseOrderOptionsRecord = new R21_PurchaseOrderOptions(); CustomerCostRecord = new R24_CustomerCost(); CustomerBillToNameRecord = new R25_CustomerBillToName(); CustomerBillToPhoneNumberRecord = new R26_CustomerBillToPhoneNumber(); CustomerBillToAddressLine = new List <R27_CustomerBillToAddressLine>(); CustomerBillToCityStateZipRecord = new R29_CustomerBillToCityStateZip(); RecipientShipToNameRecord = new R30_RecipientShipToName(); RecipientShipToPhoneRecord = new R31_RecipientShipToPhone(); ShipRecordRecipientAddressLine = new List <R32_ShippingRecordRecipientAddressLine>(); RecipShippingRecordCityStateZipRecord = new R34_RecipientShippingRecordCityStateZip(); DropShipDetailRecord = new R35_DropShipDetail(); SpecialDeliveryInstructions = new List <R36_SpecialDeliveryInstructions>(); MarketingMessage = new List <R37_MarketingMessage>(); GiftMessage = new List <R38_GiftMessage>(); PurchaseOrderControlRecord = new R50_PurchaseOrderControl(); Initialized = true; }
public void Dispose() { ClientHeaderRecord = null; FixedHandlingInstructionsRecord = null; PurchaseOrderOptionsRecord = null; CustomerCostRecord = null; CustomerBillToNameRecord = null; CustomerBillToPhoneNumberRecord = null; CustomerBillToAddressLine = null; CustomerBillToCityStateZipRecord = null; RecipientShipToNameRecord = null; RecipientShipToPhoneRecord = null; ShipRecordRecipientAddressLine = null; RecipShippingRecordCityStateZipRecord = null; DropShipDetailRecord = null; SpecialDeliveryInstructions = null; MarketingMessage = null; GiftMessage = null; Items = null; PurchaseOrderControlRecord = null; Initialized = false; }