| | |
| | | |
| | | public List<OrderItem> oiList {get; set;} |
| | | |
| | | public String staticResourceContact { get; private set; }// PI改造 By Bright 20220422 |
| | | public String staticResourceOrder { get; private set; }// PI改造 By Bright 20220422 |
| | | public String staticResourceFile { get; private set; }// PI改造 By Bright 20220422 |
| | | |
| | | // The extension constructor initializes the private member |
| | | // variable mysObject by using the getRecord method from the standard |
| | | // controller. |
| | |
| | | } else if (path.indexOf('production/') > 0) { |
| | | baseUrl += '/production'; |
| | | } |
| | | |
| | | staticResourceContact = JSON.serialize(PIHelper.getPIIntegrationInfo('Contact'));// PI改造 By Bright 20220422 |
| | | staticResourceOrder = JSON.serialize(PIHelper.getPIIntegrationInfo('Order'));// PI改造 By Bright 20220422 |
| | | staticResourceFile = JSON.serialize(PIHelper.getPIIntegrationInfo('Document'));// PI改造 By Bright 20220422 |
| | | } |
| | | public PageReference init() { |
| | | od = new Order(); |
| | |
| | | } |
| | | specialDeliveryContact = new Contact(); |
| | | if (od.SpecialDeliveryContact2_D__c != null) { |
| | | specialDeliveryContact = [select Id, Name, |
| | | AWS_Data_Id__c,// 20220222 PI改造 by Bright |
| | | Email from Contact where Id = :od.SpecialDeliveryContact2_D__c]; |
| | | specialDeliveryContact = [select Id, Name, Email from Contact where Id = :od.SpecialDeliveryContact2_D__c]; |
| | | } |
| | | } |
| | | |
| | |
| | | PDF_C_Address__c, PDF_C_TEL__c, PDF_C_FAX__c, PDF_C_CONTACT__c , PDF_G_TrAndPre__c , PDF_G_SpecNo__c, PDF_F_Add__c, PDF_F_ContactPerson__c, |
| | | Opportunity.SpecialDeliveryAddress__c, Opportunity.SpecialDeliveryContact__c, Shipment_Term__c, Shipment_Term_D__c, Shipment_Term2__c, Shipment_Term2_D__c, |
| | | SpecialDeliveryAccount__c, SpecialDeliveryAccount_D__c, SpecialDeliveryContact2__c, SpecialDeliveryContact2_D__c, PDF_Order_No__c, DeliveryTimeText__c, DeliveryTimeTextEn__c, Total_price_E__c, ContractPriceTotal__c, |
| | | AWS_Data_Id__c,// 20220222 PI改造 by Bright |
| | | PDF_Shipment_Term2_Text__c, PDF_PaymentTerms__c, PDF_PaymentTerms_E__c, PDF_Sign_Name__c, PDF_Sign_Title__c,PDF_Sp_LOADING__c,PDF_Sp_LOADING_E__c |
| | | from Order |
| | | where id = :Id]; |
| | |
| | | } |
| | | specialDeliveryContact = new Contact(); |
| | | if (odpdf.SpecialDeliveryContact2_D__c != null) { |
| | | specialDeliveryContact = [select Id, Name, |
| | | AWS_Data_Id__c,// 20220222 PI改造 by Bright |
| | | Email from Contact where Id = :odpdf.SpecialDeliveryContact2_D__c]; |
| | | specialDeliveryContact = [select Id, Name, Email from Contact where Id = :odpdf.SpecialDeliveryContact2_D__c]; |
| | | } |
| | | |
| | | List<Quote> quoList = [select Id, Name, CreatedDate, OpportunityId, Opportunity.Dealer__c, Opportunity.DealerSalesStaffName__c, AccountId, PrintPrice__c, TotalPrice, |