_getName
Fetches the Target that is linked to a PurchaseOrder or RequisitionOrder.
Parameters
id
The ID of the Target.
type
The type of the Target. It is an integer from 1-6, which corresponds to one of the following types:
Contract
Customer
Quote
Appointment
Department
Location
Example
This example fetches a link to a Contract:
Result
On Success
The name of the Target as a string. For example:
On Failure
If the User is not logged in:
If there is no ID provided:
If there is no type provided:
Last updated