Quantcast
Channel: Spiceworks Community - Latest topics
Viewing all articles
Browse latest Browse all 184372

Data from Extension Controller Apex-Salesforce

$
0
0

I need to display in a visualforce page the child date related to a parent based on some criteria on the child. In other terms i want
to have All the Container__c with status__c 'New' related to Account through a button placed in the layout page of Account.
I dot not find any error message but the criteria is not take effect as it is in the clause WHERE in the SOQL.

Java
HereismyExtentionController:publicwithsharingclassContainerShipmentControllerExtension{publicContainerShipmentControllerExtension(ApexPages.StandardControllercontroller){}publicList<Container__cRecords{get;set;}publicContainerShipmentControllerExtension(){Records=[selectPkl__c,Invoice__c,Size_in_feet__c,Description__c,Bill_of_Lading__c,Demurrage_begins__c,Brocker__cFROMContainer__cWHEREStatut__c='New'];}}// my Visualforce page...<

Viewing all articles
Browse latest Browse all 184372


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>