Return to Snippet

Revision: 26105
at April 17, 2010 14:26 by iloveitaly


Initial Code
				echo "array(\n";
				$customFieldList = $currentRecord->getField('customFieldList')->getField('customField');
				$lastField = end($customFieldList);
				foreach($customFieldList as $field) {
					echo "\t'".$field->getField('internalId')."' => ''";
					
					if($field != $lastField) echo ",";
					echo "\n";
				}
				echo ");";

Initial URL

                                

Initial Description

                                

Initial Title
List NetSuite Custom Fields in a Record

Initial Tags
php, list, textmate, array, find

Initial Language
PHP