Posted By

iloveitaly on 04/17/10


Tagged

php list textmate array fields find custom discover netsuite phptoolkit


Versions (?)

List NetSuite Custom Fields in a Record


 / Published in: PHP
 

  1. echo "array(\n";
  2. $customFieldList = $currentRecord->getField('customFieldList')->getField('customField');
  3. $lastField = end($customFieldList);
  4. foreach($customFieldList as $field) {
  5. echo "\t'".$field->getField('internalId')."' => ''";
  6.  
  7. if($field != $lastField) echo ",";
  8. echo "\n";
  9. }
  10. echo ");";
  11.  

Report this snippet  

You need to login to post a comment.