Click or drag to resize

IEditSessionCreateClientWithOrganizationDetails Method

Creates new client. The client must have orgatizations details info.

Namespace:  Resto.Front.Api.Editors
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
INewClientStub CreateClientWithOrganizationDetails(
	Guid id,
	string name,
	string counteragentName,
	string counteragentCode,
	string counteragentAccountingReasonCode,
	string counteragentAddress,
	string counteragentRecipientCode,
	string publicOrganizationProjectCode,
	string publicOrganizationTenderCode,
	string fullAddressPostCode,
	string fullAddressCountry,
	string fullAddressRegion,
	string fullAddressCity,
	string fullAddressStreet,
	string fullAddressHouse,
	DateTime? dateCreated
)

Parameters

id
Type: SystemGuid
Id of creating client. MUST be unique for the whole system. Therefore it must be taken from some synchronization operation or generated with Guid.NewGuid().
name
Type: SystemString
Name of client
counteragentName
Type: SystemString
Client's organization name
counteragentCode
Type: SystemString
Client's organization code
counteragentAccountingReasonCode
Type: SystemString
Client's organization accounting reason code
counteragentAddress
Type: SystemString
Client's organization address
counteragentRecipientCode
Type: SystemString
Client's organization recipient code
publicOrganizationProjectCode
Type: SystemString
Client's public organization unique project code
publicOrganizationTenderCode
Type: SystemString
Client's public organization tender identification code
fullAddressPostCode
Type: SystemString
Client's organization full address post code
fullAddressCountry
Type: SystemString
Client's organization full address country
fullAddressRegion
Type: SystemString
Client's organization full address region
fullAddressCity
Type: SystemString
Client's organization full address city
fullAddressStreet
Type: SystemString
Client's organization full address street
fullAddressHouse
Type: SystemString
Client's organization full address house
dateCreated
Type: SystemNullableDateTime
Date when client was created. Must be not null, for actual reports by date created of clients.

Return Value

Type: INewClientStub
See Also