Table of Contents

Class PosDeviceVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("PosDevice", 20220402)]
[AttTableProducts(new Products[] { Products.POS })]
[AttTableMaintenance(typeof(PosDeviceMaintenance))]
[AttTableVOInfo(typeof(PosDeviceAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.RequiresAdminAccess })]
public class PosDeviceVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
PosDeviceVO

Properties

CashBaseReportVO

[AttExternalCollection(typeof(BaseReportVO), new string[] { "[rep].[repstamp]", "[PosDevice].[cashRefundLayout]" })]
public BaseReportVO CashBaseReportVO { get; }

Property Value

BaseReportVO

CouponBaseReportVO

[AttExternalCollection(typeof(BaseReportVO), new string[] { "[rep].[repstamp]", "[PosDevice].[couponRefundLayout]" })]
public BaseReportVO CouponBaseReportVO { get; }

Property Value

BaseReportVO

TdVO

[AttExternalCollection(typeof(TdVO), new string[] { "[Td].[ndoc]", "[PosDevice].[creditNoteNdoc]" })]
public TdVO TdVO { get; }

Property Value

TdVO

TsreVO

[AttExternalCollection(typeof(TsreVO), new string[] { "[Tsre].[ndoc]", "[PosDevice].[recipeNdoc]" })]
public TsreVO TsreVO { get; }

Property Value

TsreVO

allDocsAvailable

All documents available

[AttLenght(1)]
[AttDefaultValue("1")]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool allDocsAvailable { get; set; }

Property Value

bool

allUsersAvailable

Cant add users in NET

[AttLenght(1)]
[AttDefaultValue("1")]
[AttFieldType(AttFieldType.InputTypes.currency)]
public bool allUsersAvailable { get; set; }

Property Value

bool

allowsCreateCustomer

Indica se o perfil pode criar clientes

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttHidden(HiddenParameter = new string[] { "ge_create_entity_on_save" }, HiddenParameterValue = new object[] { false })]
[AttGama(Gamas.Corporate)]
public bool allowsCreateCustomer { get; set; }

Property Value

bool

cashRefundLayout

Identifies the layout of refunds in cash

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

Property Value

string

cashRefundLayoutName

[AttVirtualField]
public string cashRefundLayoutName { get; set; }

Property Value

string

couponRefundLayout

Identifies the layout of refunds in coupon

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

Property Value

string

couponRefundLayoutName

[AttVirtualField]
public string couponRefundLayoutName { get; set; }

Property Value

string

creditNoteNdoc

Identifies the serie of the credit note to be used in POS

[AttLenght(25)]
[AttMandatory]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public int creditNoteNdoc { get; set; }

Property Value

int

creditNoteNmdoc

[AttVirtualField]
public string creditNoteNmdoc { get; set; }

Property Value

string

documentTypes

[AttCollection(typeof(PosDeviceTdVO))]
public List<PosDeviceTdVO> documentTypes { get; set; }

Property Value

List<PosDeviceTdVO>

enabled

Activo

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool enabled { get; set; }

Property Value

bool

isreadonly

Indica se o registo e da PHC

[AttLenght(1)]
[AttPhcOwner(new string[] { "creditNoteNdoc", "recipeNdoc", "cashRefundLayout", "couponRefundLayout", "stores", "allDocsAvailable", "allUsersAvailable", "allowsCreateCustomer" })]
public bool isreadonly { get; set; }

Property Value

bool

name

Nome do dispositivo

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

Property Value

string

pages

[AttCollection(typeof(PosLayoutPageVO))]
public List<PosLayoutPageVO> pages { get; set; }

Property Value

List<PosLayoutPageVO>

paymentTypes

[AttCollection(typeof(PosPaymentTypeVO))]
public List<PosPaymentTypeVO> paymentTypes { get; set; }

Property Value

List<PosPaymentTypeVO>

posDeviceStamp

Identificador do dispositivo

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

Property Value

string

recipeNdoc

Identifies the serie of the recipe to be used in POS

[AttLenght(25)]
[AttMandatory]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public int recipeNdoc { get; set; }

Property Value

int

recipeNmdoc

[AttVirtualField]
public string recipeNmdoc { get; set; }

Property Value

string

stores

[AttCollection(typeof(PosDeviceSzVO))]
public List<PosDeviceSzVO> stores { get; set; }

Property Value

List<PosDeviceSzVO>

users

[AttCollection(typeof(PosDeviceUserVO))]
public List<PosDeviceUserVO> users { get; set; }

Property Value

List<PosDeviceUserVO>