Вы находитесь на странице: 1из 7

47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.

Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi
t 1] ;
47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi
t 1] ;
47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi
t 1] ;
47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi

t 1] ;
47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi
t 1] ;
47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi
t 1] ;
47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi
t 1] ;
47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi

t 1] ;
47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi
t 1] ;
47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi
t 1] ;
47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi
t 1] ;
47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi

t 1] ;
47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi
t 1] ;
47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi
t 1] ;
47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi
t 1] ;
47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi

t 1] ;
47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi
t 1] ;
47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi
t 1] ;
47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi
t 1] ;
47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi

t 1] ;
47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi
t 1] ;
47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi
t 1] ;
47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi
t 1] ;
47 stopLists = [Select id,Type_App__c,Notes_App__c,Dispatch_Stop_App__r.Name,App
t_Date_App__c,Shipper_Stop_App__r.Name,Stop_Numbers__c,Stop_Address_App__c,Stop_
City_App__c ,
Stop_Province_State_App__c,Stop_Postal_Zip_App__c,Stop_Countr
y_App__c,Stop_Telephone_App__c,Stop_Fax_App__c,Stop_Contact_App__c from Stop_app
__c where Dispatch_Stop_App__c =: id limit 1000];
179 for( contact con : [select Id,name,accountid from contact where AccountId=:d
ispatch.To_Account_App__c limit 1000] ) {
259 freightLists = [Select id,Name,Dispatchs_App__r.Name,Packaging_App__c, Quant
ity_App__c,
305 freightPickUpLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
311 freightDeliverLists =[Select id,Name,Dispatchs_App__r.Name,Packaging_App__c,
Quantity_App__c,
329 u =[SELECT Id, name,Mobilephone, fax,Email FROM User where Id=:ownerid limi

t 1] ;

Вам также может понравиться