• No results found

Code Names

The tables in this chapter detail standard field names that can be used in custom code. You can

reference the table with names listed by record type or by field type.

Note: When referenced in Client SuiteScript, field names are case sensitive. Also, the Field Name column in the following tables refers the standard field name NetSuite uses to define the given field. This name may differ in your account if the name has been customized.

Code Names by Record Type:

Case Record

Contact Record

Customer Record

Employee Record

Event Record

Partner Record

Task Record

Vendor Record

Opportunity Record

Code Names by Field Type:

Entity Fields

CRM Fields

Item Fields

Transaction Fields

You can also find the Custom Code ID for any standard or custom field in NetSuite by viewing

the page source of any form that displays the desired field.

To find any Client SuiteScript ID for a Field in NetSuite:

1.

Display the form that contains the standard or custom field ID you need in edit mode.

You can display a form in edit mode by editing an existing record or creating a new

record. For example, to find the Client SuiteScript ID for a field on an Opportunity

form, display the list of Opportunities and click Edit next to an Opportunity record.

2.

Copy the Field name.

Highlight the field text and press CTRL + C .

Code Names

Code Names by Record Type

28

4.

Find the Field name in the source.

Press CTRL + F (Find) and then CTRL + V (Paste) and hit Return.

5.

Examine the Anchor tag for that Field. The anchor tag contains the Custom Code ID

for the field.

For example:

To find the Custom Code ID for the Win/Loss Reason field in an Opportunity form, navigate

to the opportunity form (in edit mode), and find the Win/Loss Reason field in the page source.

The anchor tag is as follows:

<A class='smalltextnolink' tabindex=-1 title="What's this?" href='javascript:void("help")'

style='cursor:help'onclick="return

nlFieldHelp(19,'TRAN_OPPRTNTY','winlossreason', this)" onkeypress="event.cancelBubble = true; return true;" onmouseover="this.className='smalltextul'; return

true;" onmouseout="this.className='smalltextnolink'; ">Win/Loss Reason</A>

Therefore, the Custom Code ID for the Win/Loss Reason field is winlossreason.

Code Names by Record Type

Case Record

Code Name Field Name Location

assigned Assigned main

casenumber Case Number main

category Category main

company Company main

contact Contact main

createddate Creation Date main customform Custom Form main

email E-mail main

emailemployees E-Mail Employees main emailform E-mail reply main escalationmessage Escalation Message escalation

helpdesk Help Desk main

inboundemail Inbound E-mail main incomingmessage Incoming Message main internalonly Internal Only main

isinactive Inactive main

issue Issue main

Code Names

Code Names by Record Type

29

Contact Record

lastmessagedate Last Message Date main lastmodifieddate Last Modified Date main

origin Origin main

outgoingmessage Outgoing Message main

phone Phone main

priority Priority main

serialnumber Serial Number main startdate Start Date main starttime Start Time main

status Status main

title Title main

Code Name Field Name Location

altemail Alt. E-mail general assistant Assistant general assistantphone Assistant Phone general availableoffline Always Available Offline main

category Category main

comments Comments general

company Company main

customform Custom Form main

email E-Mail general

entityid Name/ID main

fax Fax general

firstname First Name general homephone Home Phone general

image Image general

isinactive Inactive main

isprivate Private main

lastname Last Name general middlename Middle Name general mobilephone Mobile Phone general officephone Office Phone general

phone Phone general

Code Names

Code Names by Record Type

30

Customer Record

salutation Mr./Ms... general supervisor Supervisor general supervisorphone Supervisor Phone general

title Job Title general

unsubscribe Unsubscribe general

Code Name Field Name Location

accessrole Role access

accountnumber Account financial

aging Aging financial

altphone Alt. Phone general availableoffline Always Available Offline main

balance Balance financial

category Category general clickstream Click-Stream (1st Visit) web comments Comments general companyname Company Name general creditlimit Credit Limit financial currency Currency financial customform Custom Form main datecreated Date Created general

email E-Mail general

enddate End Date financial

entityid Name/ID main

entitystatus Status main

fax Fax general

firstvisit Date of First Visit web giveaccess Has Access access

image Image general

isinactive Inactive main

keywords Search Engine Keywords (1st Visit)

web

language Language general

Code Names

Code Names by Record Type

31

Employee Record

lastvisit Date of Last Visit web leadsource Lead Source general openingbalance Opening Balance financial

parent Parent main

partner Partner general

password Password access

phone Phone general

prefccprocessor Pref. CC Processor financial pricelevel Price Level financial printoncheckas Print On Check As general probability Probability main referrer Referrer (1st Visit) web reminderdays Reminder Days financial resalenumber Resale Number financial salesrep Sales Rep general sendemail Send Notification E-mail access shippingitem Shipping Item financial startdate Start Date financial

taxable Taxable financial

taxitem Tax Item financial

terms Terms financial

territory Territory general unsubscribe Unsubscribe general

url Web Address general

vatregnumber VAT Registration Nº financial visits Number of Visits web

weblead Web Lead general

Code Name Field Name Location

accountnumber Account general

aeic AEIC payfed

aliennumber Alien Number hrworkstatus allowance Allowance payfed approvallimit Approval Limit hr

Code Names

Code Names by Record Type

32

approver Approver hr

authworkdate Authorized to work until hrworkstatus billingclass Billing Class general birthdate Birth Date hr

class Class general

comments Comments general customform Custom Form main

degree Degree hreducation

degreedate Date Conferred hreducation department Department general directdeposit Use Direct Deposit dd

education Level of Education hreducation

email E-Mail general

employeestatus Employee Status hr

employeetype Type hr

entityid Name/ID main

ethnicity Ethnicity hrpersonal extra Extra Withholding payfed

fax Fax general

fedstatus Filing Status payfed fedunemp Federal Unemployment payfed fedwith Federal Withholding payfed firstname First Name general

gender Gender hrpersonal

giveaccess Has Access access hasofflineaccess Offline Client Access access

hiredate Hire Date hr

homephone Home Phone general i9verified I-9 Verified hrworkstatus

image Image general

inheritiprules Inherit IP Rules from Company

access

initials Initials general ipaddressrule IP Address Restriction access isinactive Inactive main

Code Names

Code Names by Record Type

33

issueusertype Issue User Type hr issupportrep Support Rep hr jobdescription Job Description hr lastname Last Name general lastpaiddate Last Paid date payroll lastreviewdate Last Review Date hr location Location general maritalstatus Marital Status hrpersonal

medicare Medicare payfed

middlename Middle Name general mobilephone Mobile Phone general nextreviewdate Next Review Date hr officephone Office Phone general

password Password access

payfrequency Pay Frequency payroll

phone Phone general

releasedate Release Date hr

residentstatus Resident Status hrworkstatus salutation Mr./Ms... general sendemail Send Notification E-mail access socialsecurity Social Security payfed socialsecuritynumber Social Security hr supervisor Supervisor hr

template Template main

terminationbydeath Termination Due To Death hr

title Job Title hr

unsubscribe Unsubscribe general usetimedata Use Time Data payroll visaexpdate Visa Expiration Date hrworkstatus visatype Visa Type hrworkstatus w4completed W4 Completed payfed

Code Names

Code Names by Record Type

34

Event Record

Partner Record

Code Name Field Name Location

accesslevel Access Level main customform Custom Form main

endtime End Time main

location Location main

message Message main

organizer Organizer main reminderminutes Minutes main remindertype Reminder Type main startdate Start Date main starttime Start Time main

status Status main

title Title main

transaction Opportunity main

Code Name Field Name Location

accessrole Role

category Category general comments Comments general companyname Company Name general customform Custom Form main

email E-Mail general

entityid Name/ID main

fax Fax general

giveaccess Has Access access

image Image general

isinactive Inactive main partnercode Partner Code

password Password access

phone Phone general

printoncheckas Print On Check As general sendemail Send Notification E-mail access subpartnerlogin Can give login access To

Code Names

Code Names by Record Type

35

Task Record

Vendor Record

taxidnum Tax ID financial

unsubscribe Unsubscribe general

url Web Address general

Code Name Field Name Location

accesslevel Access Level main

assigned Assigned main

completeddate Date Completed main customform Custom Form main

enddate End Date main

message Message main

order Order main

owner Owner main

priority Priority main

sendemail Send E-mail main startdate Start Date main

status Status main

title Title main

transaction Opportunity main

Code Name Field Name Location

accountnumber Account financial altphone Alt. Phone general

balance Balance financial

category Category general comments Comments general companyname Company Name general creditlimit Credit Limit financial currency Currency financial customform Custom Form main

email E-Mail general

entityid Name/ID main

expenseaccount Default Expense Account financial

Code Names

Code Names by Record Type

36

Opportunity Record

fax Fax general

giveaccess Has Access access

image Image general

is1099eligible 1099 Eligible financial isaccountant Make this my FREE

accountant

access

isinactive Inactive main legalname Legal Name financial openingbalance Opening Balance financial

password Password access

phone Phone general

prefccprocessor Pref. CC Processor financial printoncheckas Print On Check As general sendemail Send Notification E-mail access

taxidnum Tax ID financial

terms Terms financial

unsubscribe Unsubscribe general

url Web Address general

vatregnumber VAT Registration Nº financial

Code Name Field Name Location Available For

actionitem Action Item main screen

altsalesamt Alt.Sales screen

amount Amount screen

availableoffline Always Available Offline main screen

balance Balance main off

billaddress Bill To address both

class Class off

class Class main screen

currencyname Currency items screen customform Custom Form main screen

department Department off

department Department main screen

description Description screen

Code Names

Code Names by Record Type

37

entitystatus Entity Status main screen exchangerate Exchange Rate items screen expectedclosedate Exp. Close Date main screen forecasttype Forecast Type main screen

grossamt Gross Amt both

item Item screen

job Job off

leadsource Lead Source main screen

location Location off

location Location main screen

memo Memo main screen

pagenumber Page Number print

partner Partner main screen

probability Probability main screen projaltsalesamt Alt.Sales Amount main screen projectedtotal Projected Total main screen

quantity Quantity screen

quantityavailable Available off

quantityonhand On Hand off

rate Rate screen

salesrep Sales Rep main screen

serialnumbers Serial Numbers screen shipaddress Ship To address both

tax1amt Tax Amt both

taxcode Tax Code screen

taxrate1 Tax Rate both

terminmonths Revenue Recognition Term in Months

off

title Title main screen

trandate Date main screen

tranid Doc. No. main screen

units Units screen

vatregnum Tax Id main both

weightedtotal Weighted Total main screen winlossreason Win/Loss Reason main screen

Code Names

Code Names by Field Type

38

Code Names by Field Type

Entity Fields

Code Name Field Name Customer Job Vendor Partner Employee Contact

accessrole Role access access

accountnumber Account financial financial general

aeic AEIC payfed

aging Aging financial

aliennumber Alien Number hrwork

status

allowance Allowance payfed

altcontact Alt. Contact

altemail Alt. E-mail general

altphone Alt. Phone general general general

approvallimit Approval Limit hr

approver Approver hr

assistant Assistant general

assistantphone Assistant Phone general authworkdate Authorized to work until hrwork status availableoffline Always Available Offline main main

balance Balance financial financial

billingclass Billing Class general

birthdate Birth Date hr

category Category general general general general main

class Class general

clickstream Click-Stream (1st Visit)

web

comments Comments general general general general general general

company Company main

companyname Company Name

general general general general

creditlimit Credit Limit financial financial currency Currency financial financial

Code Names

Code Names by Field Type

39

degree Degree hreducation

degreedate Date Conferred hreducation

department Department general

directdeposit Use Direct Deposit

dd

education Level of Education

hreducation

email E-Mail general general general general general general employeestatus Employee

Status

hr

employeetype Type hr

enddate End Date financial financial

entityid Name/ID main main main main main main

entitystatus Status main main estimatedcost Estimated Cost financial estimatedrevenue Estimated

Revenue

financial

ethnicity Ethnicity hrpersonal

expenseaccount Default Expense Account financial extra Extra Withholding payfed

fax Fax general general general general general general

fedstatus Filing Status payfed

fedunemp Federal Unemploymen t payfed fedwith Federal Withholding payfed

firstname First Name general general

firstvisit Date of First Visit

web

gender Gender hrpersonal

giveaccess Has Access access access access access hasofflineaccess Offline Client

Access

access

hiredate Hire Date hr

homephone Home Phone general general

Code Names

Code Names by Field Type

40

i9verified I-9 Verified hrwork

status

image Image general general general general general general inheritiprules Inherit IP Rules

from Company

access

initials Initials general

ipaddressrule IP Address Restriction

access

is1099eligible 1099 Eligible financial isaccountant Make this my

FREE accountant

access

isinactive Inactive main main main main main main

isprivate Private main

issalesrep Sales Rep hr

issueusertype Issue User Type hr

issupportrep Support Rep hr

jobdescription Job Description

hr

jobtype Job Type general

keywords Search Engine Keywords (1st Visit)

web

language Language general general

lastname Last Name general general

lastpagevisited Last Page Visited

web

lastpaiddate Last Paid date payroll

lastreviewdate Last Review Date

hr

lastvisit Date of Last Visit

web

leadsource Lead Source general

legalname Legal Name financial

location Location general

maritalstatus Marital Status hrpersonal

medicare Medicare payfed

middlename Middle Name general general

Code Names

Code Names by Field Type

41

nextreviewdate Next Review Date

hr

officephone Office Phone general general

openingbalance Opening Balance

financial financial financial

parent Parent main main

partner Partner general

partnercode Partner Code main

password Password access access access access

payfrequency Pay Frequency payroll

percentcomplete Percent Complete

financial

phone Phone general general general general general general prefccprocessor Pref. CC

Processor

financial financial

pricelevel Price Level financial printoncheckas Print On Check

As

general general general

probability Probability main projectedenddate Projected End

Date

financial

referrer Referrer (1st Visit)

web

releasedate Release Date hr

reminderdays Reminder Days financial resalenumber Resale Number financial

residentstatus Resident Status hrwork

status salesrep Sales Rep general

salutation Mr./Ms... general general

sendemail Send Notification E- mail

access access access access

shippingitem Shipping Item financial

socialsecurity Social Security payfed

socialsecuritynum ber

Social Security hr

startdate Start Date financial financial

Code Names

Code Names by Field Type

42

CRM Fields

subpartnerlogin Can give login

access To Subpartners

access

supervisor Supervisor hr general

supervisorphone Supervisor Phone

general

taxable Taxable financial

taxidnum Tax ID financial general

taxitem Tax Item financial

template Template main

terminationbydeat h

Termination Due To Death

hr

terms Terms financial financial

territory Territory general

title Job Title hr general

unsubscribe Unsubscribe general general general general general url Web Address general general general

usetimedata Use Time Data payroll

vatregnumber VAT

Registration Nº

financial financial

visaexpdate Visa Expiration Date

hrwork status

visatype Visa Type hrwork

status visits Number of

Visits

web

w4completed W4 Completed payfed

weblead Web Lead general

Code Name Field Name Customer Job Vendor Partner Employee Contact

Code Name Field Name Task Event Case Campaign Solution Call

accesslevel Access Level main main main

assigned Assigned main main main

casenumber Case Number main

category Category main

Code Names

Code Names by Field Type

43

completeddate Date Completed main main

contact Contact main

convcostpercustomer Cost Per Customer Conversion

stat

cost Cost main

costpercustomer Cost Per Customer Acquisition

stat

createddate Creation Date main

customform Custom Form main main main main main main

displayonline Display Online main

email E-mail main

emailemployees E-Mail Employees main

emailform E-mail reply main

enddate End Date main main

endtime End Time main

escalationmessage Escalation Message escalation

expectedrevenue Expected Revenue main

helpdesk Help Desk main

inboundemail Inbound E-mail main incomingmessage Incoming Message main

internalonly Internal Only main

isinactive Inactive main main main

issue Issue main

item Item main main

lastmessagedate Last Message Date main lastmodifieddate Last Modified Date main

location Location main

longdescription Long Description detail

message Message main main main main main

order Order main

organizer Organizer main

origin Origin main

outgoingmessage Outgoing Message main

owner Owner main main main

phone Phone main main

priority Priority main main main

Code Names

Code Names by Field Type

44

Item Fields

profit Profit stat

reminderminutes Minutes main remindertype Reminder Type main

roi Return on

Investment

stat

sendemail Send E-mail main main

serialnumber Serial Number main

solutioncode Solution Code main

startdate Start Date main main main main main

starttime Start Time main main

status Status main main main main main

title Title main main main main main main

transaction Opportunity main main main

Code Name Field Name Task Event Case Campaign Solution Call

Code Name Field Name Inventory Part

Non- Inventory Part Group/Kit/ Assembly Discount/ Markup Payment Description/ Subtotal

account Account basic basic

amortization period Amortization Period basic amortization template Amortization Template basic assetaccount Asset Account basic basic availabletopa rtners Available To Adv. Partners

main main main main main main

billingsched ule

Billing Schedule

basic basic basic

class Class main main main main main main

cogsaccount COGS Account

basic basic

cost Purchase Price

inventory basic inventory

costingmeth od Costing Method basic basic countryofma nufacture Country of Manufacture

Code Names

Code Names by Field Type

45

customform Custom Form main main main main main main daysbeforeex piration Days Before Expiration basic deferralacco unt Deferral Account basic deferredreve nueaccount Deferred Revenue Account

basic basic basic

demandmod ifier Estimated Demand Change inventory inventory

department Department main main main main main main

description Description basic basic basic basic

displayname Display Name

main main main main main

expenseacco unt Expense Account basic featureddesc ription Featured Description

specials specials specials

froogleprodu ctfeed

Froogle Product Feed

store store store

handlingcost Handling Cost

basic basic basic

incomeaccou nt

Income Account

basic basic basic

internalid Internal ID store store store isdonationite

m

Variable Amount

store store store

isdropshipite m Drop Ship Item basic basic isfeatured Featured Item

specials specials specials

isinactive Inactive main main main main main main isonline Display in

Web Site

main main main

ispretax Apply Before Sales Tax

basic

istaxable Taxable basic basic basic isvsoebundle Is VSOE

Bundle?

main Code Name Field Name Inventory Part

Non- Inventory Part Group/Kit/ Assembly Discount/ Markup Payment Description/ Subtotal

Code Names

Code Names by Field Type

46

itemid Item Name/ Number

main main main main main main

Related documents