Table of Contents

Class OrganizationVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("Organization", 20240508)]
[AttTableVOInfo(typeof(OrganizationAttInfo))]
[AttTableOrderBy("[Organization].[name]", "[Organization].[no]", COrderType = "A,A")]
[AttTableProducts(new Products[] { Products.Service, Products.CRM })]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.UseDimensions })]
public class OrganizationVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
OrganizationVO

Properties

ClVO

[AttExternalCollection(typeof(ClVO), new string[] { "[Cl].[no]", "[Organization].[clNo]", "[Cl].[estab]", "[Organization].[estab]" })]
public ClVO ClVO { get; }

Property Value

ClVO

Cm3VO

[AttExternalCollection(typeof(Cm3VO), new string[] { "[Cm3].[cm]", "[Organization].[cm3no]" })]
public Cm3VO Cm3VO { get; }

Property Value

Cm3VO

CountryVO

[AttExternalCollection(typeof(CountryVO), new string[] { "[countries].[paisesstamp]", "[Organization].[countrystamp]" })]
public CountryVO CountryVO { get; }

Property Value

CountryVO

address

Morada

[AttLenght(55)]
[AttRGPDrank(RGPDranks.Personal)]
[AttMandatory(new languages[] { languages.es_ES })]
public string address { get; set; }

Property Value

string

Remarks

Length 55.

address2

Morada2

[AttLenght(55)]
[AttRGPDrank(RGPDranks.Personal)]
public string address2 { get; set; }

Property Value

string

Remarks

Length 55.

bic

BIC - Bank Identifier Code Bank Identification Code These codes managed by the international banking telecommunications company.

[AttLenght(11)]
public string bic { get; set; }

Property Value

string

Remarks

Length 11.

Search Field.

clName

Name of Client

[AttVirtualField(typeof(OrganizationAttInfo))]
[AttList]
public string clName { get; set; }

Property Value

string

clNo

Customer Number.

[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(0)]
[AttList]
public decimal clNo { get; set; }

Property Value

decimal

Remarks

Length 10.

Searchable field.

clstamp

[AttLenght(25)]
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(ClVO), HiddenField = false)]
public string clstamp { get; set; }

Property Value

string

cm3name

Name of Seller

[AttVirtualField(typeof(OrganizationAttInfo))]
[AttList]
public string cm3name { get; set; }

Property Value

string

cm3no

Name of Seller.

[AttLenght(4)]
[AttEntityAvailable(typeof(Cm3VO))]
public int cm3no { get; set; }

Property Value

int

codcountry

[AttVirtualField]
[AttHidden]
public string codcountry { get; set; }

Property Value

string

country

Representa um País

[AttLenght(70)]
[AttMandatory(new languages[] { languages.pt_PT, languages.es_ES })]
public string country { get; set; }

Property Value

string

countrystamp

Campo de ligação a entidade Países

[AttForeignKey(CanDuplicate = true, ForeignType = typeof(CountryVO), HiddenField = false)]
[AttMandatory]
[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string countrystamp { get; set; }

Property Value

string

email

E-mail

[AttLenght(45)]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.email)]
public string email { get; set; }

Property Value

string

Remarks

Length 45.

iban

IBAN - International Bank Account Number International Bank Account Number It consists of a maximum of 34 characters. The first two characters correspond to the account's country of domicile (PT-Portugal, ES-Spain, DE-Germany, etc.). The next two characters are control digits and serve to validate the country code. The remaining digits correspond to the account identification structure defined for each country.

[AttLenght(34)]
public string iban { get; set; }

Property Value

string

Remarks

Length 34.

Search Field.

inactive

[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttList]
public bool inactive { get; set; }

Property Value

bool

local

Localidade

[AttLenght(43)]
[AttRGPDrank(RGPDranks.Personal)]
[AttMandatory(new languages[] { languages.es_ES })]
public string local { get; set; }

Property Value

string

Remarks

Length 43.

mobile

Mobile

[AttLenght(45)]
[AttRGPDrank(RGPDranks.Personal)]
public string mobile { get; set; }

Property Value

string

Remarks

Length 45.

ncont

VAT Number

[AttLenght(20)]
[AttLogInfo(3)]
[AttRGPDrank(RGPDranks.Legal)]
[AttList]
public string ncont { get; set; }

Property Value

string

Remarks

Length 20.

Field available in the basic search results list.

Searchable field.

Non Duplicable Field.

nib

NIB.

[AttLenght(30)]
public string nib { get; set; }

Property Value

string

Remarks

Length 30.

Campo de Pesquisa.

obs

Comments

[AttFieldType(AttFieldType.InputTypes.memo)]
public string obs { get; set; }

Property Value

string

Remarks

Relevant comments about the customer.

organizationstamp

[AttLenght(25)]
public string organizationstamp { get; set; }

Property Value

string

organizationtype

Type of organization

[AttLenght(50)]
[AttList(Inactive = true)]
public string organizationtype { get; set; }

Property Value

string

Remarks

Length 50.

phone

Telephone.

[AttLenght(60)]
[AttRGPDrank(RGPDranks.Personal)]
public string phone { get; set; }

Property Value

string

Remarks

Length 60.

postalcode

Código Postal

[AttLenght(45)]
[AttRGPDrank(RGPDranks.Personal)]
[AttMandatory(new languages[] { languages.es_ES })]
public string postalcode { get; set; }

Property Value

string

Remarks

Length 45.

refInt

[AttLenght(50)]
[AttEntityAvailable(typeof(RefInternaVO))]
[AttList(Inactive = true)]
public string refInt { get; set; }

Property Value

string

segment

Market Segment

[AttLenght(25)]
[AttSmartField]
public string segment { get; set; }

Property Value

string

Remarks

Defines the market segment of the organization.

Length 25.

socialmedia

SocialMedia Address.

[AttLenght(100)]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.url)]
public string socialmedia { get; set; }

Property Value

string

Remarks

Length 100.

url

Internet Address.

[AttLenght(100)]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.url)]
public string url { get; set; }

Property Value

string

Remarks

Length 100.

zone

Area

[AttLenght(13)]
[AttSmartField]
public string zone { get; set; }

Property Value

string

Remarks

Defines the geographic area of organization.

Length 13.

Explicit Interface Implementations

estab

Number that identifies the customer Branch.

[AttLenght(6)]
[AttGama(Gamas.Advanced)]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList(Inactive = true)]
int estab { get; set; }

Returns

int

Remarks

Length 6.

From what range of software this field is available: Max.

name

Name of the Organization

[AttLenght(100)]
[AttMandatory]
[AttLogInfo(0)]
[AttList]
string name { get; set; }

Returns

string

no

Customer Number.

[AttLenght(10)]
[AttPrimaryKey]
[AttLogInfo(1)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttMinValue(0)]
[AttList]
decimal no { get; set; }

Returns

decimal

Remarks

Length 10.

Field available in the basic search results list.

Searchable field.

This field is primary key.

Auto incremented Field in the backend.