| | |
| | | |
| | | |
| | | PromotionSalesProducts__c psp = new PromotionSalesProducts__c(); |
| | | psp.QuantityId__c = quo.id; |
| | | psp.QuantityId__c = quo.ID; |
| | | // psp.PromotionSales__r.PromotionHead__r.SpoId__c |
| | | // psp.PromotionSales__r.Category__c |
| | | psp.PromotionSales__c = ps.id; |
| | |
| | | insert psp; |
| | | |
| | | QuoteLineItem qli = new QuoteLineItem(); |
| | | qli.QuoteId = quo.Id; |
| | | qli.QuoteId = quo.ID; |
| | | qli.Id__c = '210'; |
| | | qli.SFDA_Status__c = '有効'; |
| | | qli.Name__c = '211'; |
| | |
| | | qli.PricebookEntryId = entry.Id; |
| | | //qli.PricebookEntry.Product2Id = product.ID; |
| | | insert qli; |
| | | |
| | | |
| | | OpportunityLineItem oppli = new OpportunityLineItem(); |
| | | oppli.OpportunityId = opp.Id; |
| | | oppli.Id__c = '110'; |
| | |
| | | opp.Gurantee_Period__c = '2'; |
| | | opp.oldData_flg__c = true; |
| | | opp.Estimation_Decision__c = true; |
| | | // opp.Estimation_Decision__c = true; |
| | | opp.Estimation_Id__c = quo.ID; |
| | | // update opp; |
| | | update opp; |
| | | //Test.stopTest(); |
| | | } |