Class PersonalAccount
Represents a personal account for contacts
Inheritance
Namespace: Simplic.PlugIn.SAC.Contact
Assembly: Simplic.PlugIn.SAC.dll
Syntax
public class PersonalAccount : IContactAssignable
Constructors
| Improve this Doc View SourcePersonalAccount()
Initialize instance
Declaration
public PersonalAccount()
Properties
| Improve this Doc View SourceAccountNumber
Gets or sets the property AccountNumber as long
Declaration
public long AccountNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
AccountType
Gets or sets the account type
Declaration
public PersonalAccountType AccountType { get; set; }
Property Value
Type | Description |
---|---|
PersonalAccountType |
AccountTypeId
Gets or sets the property AccountType as Guid
Declaration
public Guid AccountTypeId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
CollectiveInvoice
Gets or sets whether to send collective invoices or not
Declaration
public bool CollectiveInvoice { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ContactId
Gets or sets the property ContactId as long
Declaration
public long? ContactId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
CounterPartNumber
Gets or sets the current counter part number
Declaration
public string CounterPartNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CreditLimit
Gets the credit limit.
Declaration
public string CreditLimit { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Creditworthiness
Gets the creditworthiness.
Declaration
public string Creditworthiness { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Currency
Gets or sets the current currency
Declaration
public Currency Currency { get; set; }
Property Value
Type | Description |
---|---|
System.Currency |
CurrencyGuid
Gets or sets the currency for the contact
Declaration
public Guid CurrencyGuid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
DunningGroupId
Gets or sets the dunning group
Declaration
public Guid DunningGroupId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
ExternCustomerNumber
Gets or sets the external customer number
Declaration
public string ExternCustomerNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String |
GLAGroupGuid
Gets or sets the PersonalAccount General Ledger Account Group Guid
Declaration
public Guid? GLAGroupGuid { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
GrossInvoice
Gets or sets whether to send gross invoices or not
Declaration
public bool GrossInvoice { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Id
Gets or sets the property Id as Guid
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Insurance
Gets the insurance amount.
Declaration
public double? Insurance { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
IntraStatGuid
Gets or sets the IntrastatGroupGuid
Declaration
public Guid IntraStatGuid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
InvoicingGroupGuid
Gets or sets the InvoicingGroupGuid
Declaration
public Guid InvoicingGroupGuid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
IsDeleted
Gets or sets whether the personal account is deleted
Declaration
public bool IsDeleted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsSampleAccount
Gets or sets the property IsSampleAccount as bool
Declaration
public bool IsSampleAccount { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
MainPersonalAccountId
Gets or sets the main personal account
Declaration
public Guid? MainPersonalAccountId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
Number
Gets or sets the property PersonalAccountNumber as string
Declaration
public string Number { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PrimaryBankAccount
Declaration
public BankAccount PrimaryBankAccount { get; set; }
Property Value
Type | Description |
---|---|
BankAccount |
PrimaryBankAccountGuid
Declaration
public Guid? PrimaryBankAccountGuid { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
SampleAccountName
Gets or sets the property SampleAccountName as string
Declaration
public string SampleAccountName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SamplePersonalAccount
Gets or sets the personal account which was used during creating this personal account
Declaration
public PersonalAccount SamplePersonalAccount { get; set; }
Property Value
Type | Description |
---|---|
PersonalAccount |
SamplePersonalAccountId
Gets or sets the personal account id which was used during creating this personal account
Declaration
public Guid? SamplePersonalAccountId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
SequenceNumberId
Gets or sets the property NumberSequence as nullable Guid
Declaration
public Guid? SequenceNumberId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
ShippingAddressGuid
Gets or sets the ShippingAddressGuid
Declaration
public Guid ShippingAddressGuid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
ShippingTypeGuid
Gets or sets the ShippingTypeGuid
Declaration
public Guid ShippingTypeGuid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
StateId
Gets or sets the personal account state
Declaration
public Guid? StateId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
SummarizeAccountNumber
Gets or sets the summarize account number
Declaration
public int? SummarizeAccountNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
TaxGroupGuid
Gets or sets the TaxGroupGuid
Declaration
public Guid TaxGroupGuid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Tenant
Gets or sets the personal account tenant instance
Declaration
public PersonalAccountTenant Tenant { get; set; }
Property Value
Type | Description |
---|---|
PersonalAccountTenant |
TenantId
Gets or sets the tenant id
Declaration
public Guid TenantId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
TermOfPaymentPurchase
Gets or set the term of payment
Declaration
public PersonalAccountTermOfPayment TermOfPaymentPurchase { get; set; }
Property Value
Type | Description |
---|---|
PersonalAccountTermOfPayment |
TermOfPaymentPurchaseGuid
Gets or set the term of payment
Declaration
public Guid TermOfPaymentPurchaseGuid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
TermOfPaymentSale
Gets or set the term of payment
Declaration
public PersonalAccountTermOfPayment TermOfPaymentSale { get; set; }
Property Value
Type | Description |
---|---|
PersonalAccountTermOfPayment |
TermOfPaymentSaleGuid
Gets or set the term of payment
Declaration
public Guid TermOfPaymentSaleGuid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
UseCredit
Gets or sets whether to prefer credits instead of invoices
Declaration
public bool UseCredit { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceCreateFromSample()
Creates a new personal account from the current personal account. This personal account must be a sample
Declaration
public PersonalAccount CreateFromSample()
Returns
Type | Description |
---|---|
PersonalAccount | A new account instance |