• ckahl
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 8
    Replies

I have limited apex knowledge and I'm trying to adapt this code to fit my custom objects.  It worked fine until I started plugging in my custom objects.  The original code is- http://visualforcemadeeasy.blogspot.com/2009/03/how-to-add-and-delete-row-in-datatable.html?showComment=1360345388003#c2926072741019740563

 

Here's what I have so far, but I keep getting "Save error: Variable does not exist: acct.id"  I tried a couple different things to fix this, but it doesn't seem to work.  Any ideas?

 

public class TimeOffAccountController {

/* I set the Time Off Account and Time Off Request Objects
here for use through out the code*/
public Time_Off_Account__c TOA { get; private set;}
public time_off_request__c[] requestItems { get; private set; }
private ApexPages.StandardController controller;

// constructor, loads the Time Off Account and
// any Requests associated with it

void requestItems(id id) {
TOA = [SELECT Id, Name, Account_type__c, Account_Balance__c, Accrual_Start__c, Accrued_Hours__c, Adjusted_Hours__c,
       Annual_Accrual_Rate__c, Annual_Maximum__c, Available_Balance__c, Daily_Accrual_Rate__c, Employee__c, First_Date_Current_Year__c,
       Hours_Pending__c, Hours_Used__c, Last_Date_Current_Year__c, Maximum_Deficit__c, Maximum_Hours__c,
       Number_of_Days_YTD__c, Other_Accrual_Start_Date__c, Rollover_Hours__c,
      (SELECT Id, Name, Status__c, Begin_Date__c, End_Date__c, Number_of_Days__c, Pending__c, Pending_Check__c,
      Pending_Text__c, Projected_Eligible_Days__c, Projected_Hours_Accrued__c, Total_Hours__c
      FROM pto_requests__r) FROM time_off_account__c
      where id = :id limit 1];
//Hook requestItems to the query above
 requestItems = TOA.time_off_request__c;
}

//Define the id
id accountid;

/* A List Method to delete the Requests assigned*/
public list<time_off_request__c> todelete = new list<time_off_request__c>();

public TimeOffAccountController (ApexPages.StandardController c)
{
/* this will kickoff you main page */
controller = c;
/* to get this current Time Off Account Id*/
accountid = c.getRecord().id;
/*kick off the init() function*/
init();
}
public TimeOffAccountController () {
accountid =
ApexPages.CurrentPage().getParameters().get('id');

init();

}

void init() {
/* load up Requests
basically we defined requestitems up on top, so
when the page loads then requestItems(accountId)
will go through the query and list out the
Requests assoicated with it */
requestItems(accountid);  
}

public PageReference save() {
try {
upsert requestItems;
if ( todelete.size() > 0 ) {           
delete todelete;   
}
requestItems(acct.id);
}
catch ( DmlException exc) {
      ApexPages.addMessages(exc);
      return null;
}
return null;
}


/* your Delete functionality*/
public PageReference del() {

string delname = ApexPages.CurrentPage().getParameters().get('delname');
system.assert( delname != null );
integer gone = -1;
integer i = 0; 

for ( i=0; i< requestItems.size(); i++ ) { 
if (requestItems[i].RequestNumber== delname) { 
gone = i;
} 
}
if ( gone >= 0) { 
todelete.add(requestItems.remove(gone) ); 
}
  
return null;
}

public PageReference add() {
// insert a new line, after user clicks Add
time_off_request__c tor =  new time_off_request__c(
AccountId = acct.id

);
requestItems.add ( tor );
return null;
 }
}

 

  • February 11, 2013
  • Like
  • 0

I've never created test methods before and I'm having difficulties understanding the workbooks.  Can anyone help me out here?  I successfully (or so I think) created one test that works, but I'm stuck on the others....

 

public class TimeOffRequestFlow {

public Flow.Interview.Time_Off_request myFlow { get; set; }

public String getmyID() {
if (myFlow==null) return '';
else return myFlow.TimeOffRequestID;
}

public PageReference getOID(){
PageReference p = new PageReference('/' + getmyID());
p.setRedirect(true);
return p;
}
    //-------------------------  tests --------------------------
    @IsTest
    static void testMyClass(){
    	ApexPages.currentPage().getParameters().put('id','blablabla');
    	timeoffrequestflow obj = new timeoffrequestflow();
    }                          
                      
}

 

  • February 08, 2013
  • Like
  • 0

I'm trying to customize the controller I found here, but I keep geting the error message on Line 25-

 

Multiple markers at this line

- Save error: expecting a left angle bracket, found

'todelete'

- expecting a left angle bracket, found 'todelete'

 

" public list todelete = newlist();"

 

Here's the whole controller-

 

public class AccountsController {

/* I set the Account and Case Objects
here for use through out the code*/
public Account acct { get; private set;}
public Case[] caseItems { get; private set; }
private ApexPages.StandardController controller;

// constructor, loads the Account and
// any cases associated with it

void caseItems(id id) {
acct = [SELECT Id, Name, Type, AccountNumber, Site,
      (SELECT Id, CaseNumber, Status, Reason,Origin,
      Subject FROM Cases) FROM Account
      where id = :id limit 1];
//Hook caseItems to the query above
 caseItems = acct.Cases;
}

//Define the id
id accountid;

/* A List Method to delete the Cases assigned*/
public list todelete = new list();

public AccountsController (ApexPages.StandardController c)
{
/* this will kickoff you main page */
controller = c;
/* to get this current Account Id*/
accountid = c.getRecord().id;
/*kick off the init() function*/
init();
}
public AccountsController () {
accountid =
ApexPages.CurrentPage().getParameters().get('id');

init();

}

void init() {
/* load up Cases
basically we defined caseitems up on top, so
when the page loads then caseItems(accountId)
will go through the query and list out the
Items assoicated with it */
caseItems(accountid);  
}

public PageReference save() {
try {
upsert caseItems;
if ( todelete.size() > 0 ) {           
delete todelete;   
}
caseItems(acct.id);
}
catch ( DmlException exc) {
      ApexPages.addMessages(exc);
      return null;
}
return null;
}


/* your Delete functionality*/
public PageReference del() {

string delname = ApexPages.CurrentPage().getParameters().get('delname');
system.assert( delname != null );
integer gone = -1;
integer i = 0; 

for ( i=0; i< caseItems.size(); i++ ) { 
if (caseItems[i].CaseNumber== delname) { 
gone = i;
} 
}
if ( gone >= 0) { 
todelete.add(caseItems.remove(gone) ); 
}
return null;
}

public PageReference add() {
// insert a new line, after user clicks Add
Case cs =  new Case(
AccountId = acct.id,
Subject = 'hello', Status = 'Low',
Reason = 'Other',Origin='Low'
);
caseItems.add ( cs );
return null;
 }
}

 How do I fix this?  I have a limited understanding of APEX!

  • February 08, 2013
  • Like
  • 0

I used Ron's example from the this post to make an editable table that displays related records and it works perfectly! Now, I'm trying to find a way that I can use this same page, but have it add rows to create new records in addition to editing existing records.  

 

I have an object called time_off_request__c that is the parent of time_off_day__c.  Basically, I want the user to be able to create a new time off request and add as many days as they'd like all on one screen.  

 

Here is my code-

 

VF Page

 

<apex:page standardController="Time_Off_Request__c" extensions="timeoffdayController">
 <style>
.pbBody td {
 border-color: #E3DEB8;
 border-style: none none solid;
 border-width: medium medium 2px;
 padding-bottom: 4px;
 padding-top: 4px;
 width: 85px;
}
.pbBody input   { width: 105px;}
.pbBody .nameColumn { width: 125px;}
.hdr     {;}
</style>
<apex:form >
 <apex:messages />

 <apex:sectionHeader title="Days for" subtitle="{!Time_Off_Request__c.name}" />
 <apex:pageBlock title="Edit Days">
  <apex:pageBlockButtons >
   <apex:commandButton action="{!saveChanges}" value="Save"
    rerender="main" status="ajaxStatus" />
   <apex:commandButton action="{!cancel}" value="Cancel" />
  </apex:pageBlockButtons>
  <apex:actionStatus id="ajaxStatus" startText="Updating time off request...">
   <apex:facet name="stop">
   <apex:outputPanel id="main">
    <table>
    <tr>
     <apex:repeat value="{!headers}" var="h">
      <td class="hdr">{!h}</td>
     </apex:repeat>
    </tr>

    <apex:repeat value="{!Days}" var="a">
     <tr>
      <td><apex:inputField value="{!a.Date__c}" /></td>
      <td><apex:inputField value="{!a.Hours__c}" /></td>
      <td><apex:inputField value="{!a.Note__c}" /></td>
     </tr>
    </apex:repeat>
    </table>
   </apex:outputPanel>
   </apex:facet>
  </apex:actionStatus>
 </apex:pageBlock>
</apex:form>
</apex:page>

 

Class

 

public class timeoffdayController {
  
  // Constructor
 public timeoffdayController(ApexPages.StandardController controller) {
  this.request = (Time_off_request__c)controller.getSubject();
  
     this.day = [ SELECT 
      d.SystemModstamp, d.Name, 
      d.LastModifiedDate, d.LastModifiedById, d.LastActivityDate, 
      d.IsDeleted, d.Id, d.Date__c, d.CreatedDate, d.CreatedById, 
      d.Time_off_request__c, d.Hours__c, d.note__c  
   
      FROM 
      Time_off_day__c d 
      WHERE 
      d.time_off_request__c = :request.id ];
 }
 
 // Action Method called from page button
 public pagereference saveChanges() { 
  upsert this.day;
  return null;
 }
 
 // Action Method called from page link
 public pagereference newDeliverable() { 
  time_off_day__c d = new time_off_day__c();
  d.time_off_request__c =this.request.id; 
  day.add( d );
  return null;
 }
 
 // public Getter to provide table headers 
 public string[] getheaders() { return new string [] 
  {'Date','Hours','Note' } ; }
 
 // public Getter to list request days
 public time_off_day__c[] getDays() { 
  return this.day; 
 } 
 
 // class variables
 Time_off_request__c request;
 time_off_day__c[] day; 
}

 

 

 

  • February 06, 2013
  • Like
  • 0

I just now found out that a multiselect field based on a dynamic choice will not store values for multiple records.  I am now looking for a workaround to this issue.  Any ideas? Here's what I need to do-

I have two custom objects- work_order__c and inventory_item__c. There is a lookup field in inventory_item__c that links it to a record in work_order__c.  Basically, we need to be able to assign a particular inventory item to a work order for tracking purposes.  I would like the user to be able to click a button from the page of the work order that they are view to search for available inventory items and then assign them to the work order that they are currently using.  I had the flow all setup to perform the inventory search and then to update the inventory_item__c record to assign it to a work order.  However, I now know that a user can't select multiple inventory items and have them assigned. 

 

Any ideas on this?  I'm not particularly fluent in visualforce or in apex so I was hoping to accomplish this in the flow.

  • December 07, 2012
  • Like
  • 0

 I have a visualforce page that I'm working on and it's the first time I've used dynamic sections.  I have an object called Work Orders.  There are two different types of work orders 1)Sign Orders and 2)Design Orders.  When either type is selected, I want the section to appear with the appropriate fields.  So far, it seems to work fine when the user selects the "Sign" work order type.  However, when the "Design Only" type is selected, "applying value..." appears next to the field and nothing happens until AFTER the user hits the save button.  After the save button is pressed, appropriate section is shown. Why does it work correctly when the "Sign" type is selected and not the "Design Only" option.

 

 

<apex:page standardController="Work_Orders__c" sidebar="false">
    <apex:sectionHeader title="Edit Work Order" subtitle="{!Work_Orders__c.name}"/>
    <apex:form >
        <apex:pageBlock title="Edit Work Order" id="thePageBlock" mode="edit">
            <apex:pageMessages />
            <apex:pageBlockButtons >
                <apex:commandButton value="Save" action="{!save}"/>
                <apex:commandButton value="Cancel" action="{!cancel}"/>               
            </apex:pageBlockButtons>
            <apex:actionRegion >
                <apex:pageBlockSection title="Basic Information" columns="1">
                    <apex:inputField value="{!Work_Orders__c.name}"/>
                    <apex:pageBlockSectionItem >
                        <apex:outputLabel value="Work Order Type"/>
                        <apex:outputPanel >
                            <apex:inputField value="{!Work_Orders__c.WO_Type__c}">
                                <apex:actionSupport event="onchange" rerender="thePageBlock"
                                                    status="status"/>
                            </apex:inputField>
                            <apex:actionStatus startText="applying value..." id="status"/>
                        </apex:outputPanel>
                    </apex:pageBlockSectionItem>
                    <apex:inputField value="{!Work_Orders__c.Project__c}"/>
                    <apex:inputField value="{!Work_Orders__c.Order_Status__c}"/>                    
                </apex:pageBlockSection>
            </apex:actionRegion>
            <apex:pageBlockSection title="Design Information" columns="1"
                                   rendered="{!Work_Orders__c.WO_Type__c == 'Design Only'}">
                <apex:inputField value="{!Work_Orders__c.Design_Description__c}" />
            </apex:pageBlockSection>
            <apex:pageBlockSection title="Sign Information" columns="2"
                                   rendered="{!Work_Orders__c.WO_Type__c == 'Sign'}">
                <apex:inputField value="{!Work_Orders__c.Verbiage__c}"/>
                <apex:inputField value="{!Work_Orders__c.Background_Color__c}"/> 
                <apex:inputField value="{!Work_Orders__c.Sign_Options__c}"/>
                <apex:inputField value="{!Work_Orders__c.Template__c}"/>
                <apex:inputField value="{!Work_Orders__c.Text_Color__c}"/>
                <apex:inputField value="{!Work_Orders__c.Vinyl_Style__c}"/>
                <apex:inputField value="{!Work_Orders__c.Vinyl_Type__c}"/>
                <apex:inputField value="{!Work_Orders__c.Width__c}"/>
                <apex:inputField value="{!Work_Orders__c.Type__c}"/>
                <apex:inputField value="{!Work_Orders__c.Material__c}"/> 
                <apex:inputField value="{!Work_Orders__c.Order_Comments__c}"/> 
                <apex:inputField value="{!Work_Orders__c.Type__c}"/> 
                <apex:inputField value="{!Work_Orders__c.Type__c}"/>                  
            </apex:pageBlockSection>
        </apex:pageBlock>
            </apex:form>
</apex:page>

 

  • September 27, 2012
  • Like
  • 0

I have limited apex knowledge and I'm trying to adapt this code to fit my custom objects.  It worked fine until I started plugging in my custom objects.  The original code is- http://visualforcemadeeasy.blogspot.com/2009/03/how-to-add-and-delete-row-in-datatable.html?showComment=1360345388003#c2926072741019740563

 

Here's what I have so far, but I keep getting "Save error: Variable does not exist: acct.id"  I tried a couple different things to fix this, but it doesn't seem to work.  Any ideas?

 

public class TimeOffAccountController {

/* I set the Time Off Account and Time Off Request Objects
here for use through out the code*/
public Time_Off_Account__c TOA { get; private set;}
public time_off_request__c[] requestItems { get; private set; }
private ApexPages.StandardController controller;

// constructor, loads the Time Off Account and
// any Requests associated with it

void requestItems(id id) {
TOA = [SELECT Id, Name, Account_type__c, Account_Balance__c, Accrual_Start__c, Accrued_Hours__c, Adjusted_Hours__c,
       Annual_Accrual_Rate__c, Annual_Maximum__c, Available_Balance__c, Daily_Accrual_Rate__c, Employee__c, First_Date_Current_Year__c,
       Hours_Pending__c, Hours_Used__c, Last_Date_Current_Year__c, Maximum_Deficit__c, Maximum_Hours__c,
       Number_of_Days_YTD__c, Other_Accrual_Start_Date__c, Rollover_Hours__c,
      (SELECT Id, Name, Status__c, Begin_Date__c, End_Date__c, Number_of_Days__c, Pending__c, Pending_Check__c,
      Pending_Text__c, Projected_Eligible_Days__c, Projected_Hours_Accrued__c, Total_Hours__c
      FROM pto_requests__r) FROM time_off_account__c
      where id = :id limit 1];
//Hook requestItems to the query above
 requestItems = TOA.time_off_request__c;
}

//Define the id
id accountid;

/* A List Method to delete the Requests assigned*/
public list<time_off_request__c> todelete = new list<time_off_request__c>();

public TimeOffAccountController (ApexPages.StandardController c)
{
/* this will kickoff you main page */
controller = c;
/* to get this current Time Off Account Id*/
accountid = c.getRecord().id;
/*kick off the init() function*/
init();
}
public TimeOffAccountController () {
accountid =
ApexPages.CurrentPage().getParameters().get('id');

init();

}

void init() {
/* load up Requests
basically we defined requestitems up on top, so
when the page loads then requestItems(accountId)
will go through the query and list out the
Requests assoicated with it */
requestItems(accountid);  
}

public PageReference save() {
try {
upsert requestItems;
if ( todelete.size() > 0 ) {           
delete todelete;   
}
requestItems(acct.id);
}
catch ( DmlException exc) {
      ApexPages.addMessages(exc);
      return null;
}
return null;
}


/* your Delete functionality*/
public PageReference del() {

string delname = ApexPages.CurrentPage().getParameters().get('delname');
system.assert( delname != null );
integer gone = -1;
integer i = 0; 

for ( i=0; i< requestItems.size(); i++ ) { 
if (requestItems[i].RequestNumber== delname) { 
gone = i;
} 
}
if ( gone >= 0) { 
todelete.add(requestItems.remove(gone) ); 
}
  
return null;
}

public PageReference add() {
// insert a new line, after user clicks Add
time_off_request__c tor =  new time_off_request__c(
AccountId = acct.id

);
requestItems.add ( tor );
return null;
 }
}

 

  • February 11, 2013
  • Like
  • 0

I used Ron's example from the this post to make an editable table that displays related records and it works perfectly! Now, I'm trying to find a way that I can use this same page, but have it add rows to create new records in addition to editing existing records.  

 

I have an object called time_off_request__c that is the parent of time_off_day__c.  Basically, I want the user to be able to create a new time off request and add as many days as they'd like all on one screen.  

 

Here is my code-

 

VF Page

 

<apex:page standardController="Time_Off_Request__c" extensions="timeoffdayController">
 <style>
.pbBody td {
 border-color: #E3DEB8;
 border-style: none none solid;
 border-width: medium medium 2px;
 padding-bottom: 4px;
 padding-top: 4px;
 width: 85px;
}
.pbBody input   { width: 105px;}
.pbBody .nameColumn { width: 125px;}
.hdr     {;}
</style>
<apex:form >
 <apex:messages />

 <apex:sectionHeader title="Days for" subtitle="{!Time_Off_Request__c.name}" />
 <apex:pageBlock title="Edit Days">
  <apex:pageBlockButtons >
   <apex:commandButton action="{!saveChanges}" value="Save"
    rerender="main" status="ajaxStatus" />
   <apex:commandButton action="{!cancel}" value="Cancel" />
  </apex:pageBlockButtons>
  <apex:actionStatus id="ajaxStatus" startText="Updating time off request...">
   <apex:facet name="stop">
   <apex:outputPanel id="main">
    <table>
    <tr>
     <apex:repeat value="{!headers}" var="h">
      <td class="hdr">{!h}</td>
     </apex:repeat>
    </tr>

    <apex:repeat value="{!Days}" var="a">
     <tr>
      <td><apex:inputField value="{!a.Date__c}" /></td>
      <td><apex:inputField value="{!a.Hours__c}" /></td>
      <td><apex:inputField value="{!a.Note__c}" /></td>
     </tr>
    </apex:repeat>
    </table>
   </apex:outputPanel>
   </apex:facet>
  </apex:actionStatus>
 </apex:pageBlock>
</apex:form>
</apex:page>

 

Class

 

public class timeoffdayController {
  
  // Constructor
 public timeoffdayController(ApexPages.StandardController controller) {
  this.request = (Time_off_request__c)controller.getSubject();
  
     this.day = [ SELECT 
      d.SystemModstamp, d.Name, 
      d.LastModifiedDate, d.LastModifiedById, d.LastActivityDate, 
      d.IsDeleted, d.Id, d.Date__c, d.CreatedDate, d.CreatedById, 
      d.Time_off_request__c, d.Hours__c, d.note__c  
   
      FROM 
      Time_off_day__c d 
      WHERE 
      d.time_off_request__c = :request.id ];
 }
 
 // Action Method called from page button
 public pagereference saveChanges() { 
  upsert this.day;
  return null;
 }
 
 // Action Method called from page link
 public pagereference newDeliverable() { 
  time_off_day__c d = new time_off_day__c();
  d.time_off_request__c =this.request.id; 
  day.add( d );
  return null;
 }
 
 // public Getter to provide table headers 
 public string[] getheaders() { return new string [] 
  {'Date','Hours','Note' } ; }
 
 // public Getter to list request days
 public time_off_day__c[] getDays() { 
  return this.day; 
 } 
 
 // class variables
 Time_off_request__c request;
 time_off_day__c[] day; 
}

 

 

 

  • February 06, 2013
  • Like
  • 0

I just now found out that a multiselect field based on a dynamic choice will not store values for multiple records.  I am now looking for a workaround to this issue.  Any ideas? Here's what I need to do-

I have two custom objects- work_order__c and inventory_item__c. There is a lookup field in inventory_item__c that links it to a record in work_order__c.  Basically, we need to be able to assign a particular inventory item to a work order for tracking purposes.  I would like the user to be able to click a button from the page of the work order that they are view to search for available inventory items and then assign them to the work order that they are currently using.  I had the flow all setup to perform the inventory search and then to update the inventory_item__c record to assign it to a work order.  However, I now know that a user can't select multiple inventory items and have them assigned. 

 

Any ideas on this?  I'm not particularly fluent in visualforce or in apex so I was hoping to accomplish this in the flow.

  • December 07, 2012
  • Like
  • 0

Is there any way I can present a dynamic list of records, allow a user to select multiple records (via multi-choice picklist) and then have the flow update those records selected?

 

It appears that documentation says with dynamic choice multi-choice picklists only the variables from the last record selected are stored. Is there any work around to get the variables for all the records selected??

 

peter

 I have a visualforce page that I'm working on and it's the first time I've used dynamic sections.  I have an object called Work Orders.  There are two different types of work orders 1)Sign Orders and 2)Design Orders.  When either type is selected, I want the section to appear with the appropriate fields.  So far, it seems to work fine when the user selects the "Sign" work order type.  However, when the "Design Only" type is selected, "applying value..." appears next to the field and nothing happens until AFTER the user hits the save button.  After the save button is pressed, appropriate section is shown. Why does it work correctly when the "Sign" type is selected and not the "Design Only" option.

 

 

<apex:page standardController="Work_Orders__c" sidebar="false">
    <apex:sectionHeader title="Edit Work Order" subtitle="{!Work_Orders__c.name}"/>
    <apex:form >
        <apex:pageBlock title="Edit Work Order" id="thePageBlock" mode="edit">
            <apex:pageMessages />
            <apex:pageBlockButtons >
                <apex:commandButton value="Save" action="{!save}"/>
                <apex:commandButton value="Cancel" action="{!cancel}"/>               
            </apex:pageBlockButtons>
            <apex:actionRegion >
                <apex:pageBlockSection title="Basic Information" columns="1">
                    <apex:inputField value="{!Work_Orders__c.name}"/>
                    <apex:pageBlockSectionItem >
                        <apex:outputLabel value="Work Order Type"/>
                        <apex:outputPanel >
                            <apex:inputField value="{!Work_Orders__c.WO_Type__c}">
                                <apex:actionSupport event="onchange" rerender="thePageBlock"
                                                    status="status"/>
                            </apex:inputField>
                            <apex:actionStatus startText="applying value..." id="status"/>
                        </apex:outputPanel>
                    </apex:pageBlockSectionItem>
                    <apex:inputField value="{!Work_Orders__c.Project__c}"/>
                    <apex:inputField value="{!Work_Orders__c.Order_Status__c}"/>                    
                </apex:pageBlockSection>
            </apex:actionRegion>
            <apex:pageBlockSection title="Design Information" columns="1"
                                   rendered="{!Work_Orders__c.WO_Type__c == 'Design Only'}">
                <apex:inputField value="{!Work_Orders__c.Design_Description__c}" />
            </apex:pageBlockSection>
            <apex:pageBlockSection title="Sign Information" columns="2"
                                   rendered="{!Work_Orders__c.WO_Type__c == 'Sign'}">
                <apex:inputField value="{!Work_Orders__c.Verbiage__c}"/>
                <apex:inputField value="{!Work_Orders__c.Background_Color__c}"/> 
                <apex:inputField value="{!Work_Orders__c.Sign_Options__c}"/>
                <apex:inputField value="{!Work_Orders__c.Template__c}"/>
                <apex:inputField value="{!Work_Orders__c.Text_Color__c}"/>
                <apex:inputField value="{!Work_Orders__c.Vinyl_Style__c}"/>
                <apex:inputField value="{!Work_Orders__c.Vinyl_Type__c}"/>
                <apex:inputField value="{!Work_Orders__c.Width__c}"/>
                <apex:inputField value="{!Work_Orders__c.Type__c}"/>
                <apex:inputField value="{!Work_Orders__c.Material__c}"/> 
                <apex:inputField value="{!Work_Orders__c.Order_Comments__c}"/> 
                <apex:inputField value="{!Work_Orders__c.Type__c}"/> 
                <apex:inputField value="{!Work_Orders__c.Type__c}"/>                  
            </apex:pageBlockSection>
        </apex:pageBlock>
            </apex:form>
</apex:page>

 

  • September 27, 2012
  • Like
  • 0