contacts.contactNumberToContactID
Description
Get the contact ID for a contact number.

Parameters
contactNumber number

Return value
contactID number (< 1 if not found)

Example
local contactID = contacts.contactNumberToContactID(1234)
print(contactID)

Comments
Contact numbers are displayed in Stock Tracker and on drop sheets, contact IDs are used behind the scenes.

See also
contacts.contactIDToContactNumber

Back