Skip to content

Instantly share code, notes, and snippets.

<apex:page controller="viewController" title="Forecast" sidebar="false" showHeader="false" standardStylesheets="true">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<style>
div.Bottom [hidden], .slds template
{
display: block;
}
</style>
<apex:page StandardController="SBQQ__Quote__c" extensions="GenerateNDA" action="{!createNDA}"></apex:page>
trigger TemplateQuoteBefore on SBQQ__Quote__c (before update, before insert) {
// INSERT STUFF
if(trigger.isInsert){
for(SBQQ__Quote__c quote : trigger.new){
//Do Stuff
}
}
public class GenerateNDA {
public GenerateNDA(ApexPages.StandardController stdcontroller){
}
public PageReference createNDA()
{
string quoteID = ApexPages.currentPage().getParameters().get('id');
global class PluginDemoProductSearchPlugin implements SBQQ.ProductSearchPlugin{
public String type1 {get; set;}
global PluginDemoProductSearchPlugin(){
System.debug('METHOD CALLED: customSearchFilter Constructor');
}
global String getAdditionalSearchFilters(SObject so, Map<String,Object> ma){
System.debug('METHOD CALLED: getAdditionalSearchFilters');
//System.debug('Sobject Passed: ' + so.getSObjectType().getDescribe().getName());
<apex:page showHeader="false" sidebar="false" cache="false" contentType="text/xml" controller="DiscountSchedulePrintController">
<block>
<apex:repeat var="line" value="{!linesWithTiers}">
<block>{!line.name}</block>
<block>
<table table-layout="fixed" width="100%" border-color="#000000" border-width="1px">
<!--<table-column column-width="{!dataColumnWidth}%"/>-->
<table-column column-width="{!dataColumnWidth}%"/>
<table-column column-width="{!dataColumnWidth}%"/>