PartServicesCreateCustomer Method  | 
 
            Creates a new customer definition.
            The newCustomerName parameter must not be empty, and must specify a unique name for the new customer.
            If a customer with the specified name already exists, a 
AlreadyExistsException will be thrown.
            
 
    Namespace: 
   FactoryLogix.xTend.PartDefinition
    Assembly:
   FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.254.0.0 (8.254.0.0)
Syntaxpublic Customer CreateCustomer(
	Guid sessionId,
	string newCustomerName
)
Public Function CreateCustomer ( 
	sessionId As Guid,
	newCustomerName As String
) As Customer
public:
virtual Customer^ CreateCustomer(
	Guid sessionId, 
	String^ newCustomerName
) sealed
abstract CreateCustomer : 
        sessionId : Guid * 
        newCustomerName : string -> Customer 
override CreateCustomer : 
        sessionId : Guid * 
        newCustomerName : string -> Customer Parameters
- sessionId
 - Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method. - newCustomerName
 - Type: SystemString
The name of the new customer to be created. 
Return Value
Type: 
CustomerA 
Customer object representing the newly created customer with a valid Id property. 
Exceptions
See Also