PayType object

Methods

Method Name Parameters ReturnCode Description

Name

Data type (in C#)

RetrievePayType

criteria

PayType.Criteria

PayType.ReturnObject.ReturnCode

0 = successful

100 = no records found

1000 = errors occurred

Returns all PayTo objects that meet the provided criteria

RetrievePagedPayType

criteria

PayType.Criteria

PayType.PagedReturnObject.ReturnCode

0 = successful

100 = no records found

1000 = errors occurred

Returns all PayTo objects in a paged format that meet the provided criteria

Properties and column mapping

To condense the information in this table, the Database Column Name uses the following abbreviations for database tables:

p = paytype

Property Database Column Modifiable Comments

Name

Data Type (in C#)

Name

Data Type

1

AcceptNegatives

bool

p.pyt_accept_negatives

char(1)

Insert/Update

2

AgeDays

int

p.pyt_agedays

int

Insert/Update

3

ChargeTypeItemCode

string

p.cht_itemcode

varchar(6)

Insert/Update

4

DataSourceID

String

Not mapped

5

Description

string

p.pyt_description

varchar(30)

Insert/Update

6

EditFlag

string

p.pyt_editflag

varchar(6)

Insert/Update

7

EditInDispatch

int

p.pyt_editindispatch

int

Insert/Update

8

Expresscheck

bool

p.pyt_expchk

char(1)

Insert/Update

9

Fee1

decimal

p.pyt_fee1

money

Insert/Update

10

Fee2

decimal

p.pyt_fee2

money

Insert/Update

11

GpTax

short

p.gp_tax

smallint

Insert/Update

12

IsAuthcodeRequired

bool

p.pyt_authcode_required

char(1)

Insert/Update

13

IsDirty

bool

Not mapped

14

IsNew

bool

Not mapped

15

IsRetired

bool

p.pyt_retired

char(1)

Insert/Update

16

IsValid

bool

Not mapped

17

MaxEnf

int

p.pyt_maxenf

int

Insert/Update

18

MaxRate

decimal

p.pyt_maxrate

float

Insert/Update

19

MinEnf

int

p.pyt_minenf

int

Insert/Update

20

MinRate

decimal

p.pyt_minrate

float

Insert/Update

21

OffsetFor

string

p.pyt_offset_for

char(3)

Insert/Update

22

OffsetPercent

decimal

p.pyt_offset_percent

float

Insert/Update

23

PatyTyepGroup

string

p.pyt_group

varchar(6)

Insert/Update

24

PayingTo

string

p.pyt_paying_to

char(3)

Insert/Update

25

PayTypeBasis

string

p.pyt_basis

varchar(6)

Insert/Update

26

PayTypeBasisUnit

string

p.pyt_basisunit

varchar(6)

Insert/Update

27

PayTypeCategory

string

p.pyt_category

varchar(6)

Insert/Update

28

PayTypeClass

string

p.pyt_class

varchar(6)

Insert/Update

29

PayTypeClassFlag

int

p.pyt_classflag

int

Insert/Update

30

PayTypeItemCode

string

p.pyt_itemcode

varchar(6)

Insert/Update

31

PayTypeNumber

int

p.pyt_number

int

Read only

32

PayTypeStatus

string

p.pyt_status

varchar(6)

Insert/Update

33

PreTax

bool

p.pyt_pretax

char(1)

Insert/Update

34

pyt_ap_glnum

string

p.pyt_ap_glnum

varchar(66)

Insert/Update

35

pyt_ap_glnum_clearing

string

p.pyt_ap_glnum_clearing

varchar(66)

Insert/Update

36

pyt_eiflag

bool

p.pyt_eiflag

char(1)

Insert/Update

37

pyt_fservprocess

string

p.pyt_fservprocess

char(1)

Insert/Update

38

pyt_incexcoth

int

p.pyt_incexcoth

int

Insert/Update

39

pyt_minus

bool

p.pyt_minus

char(1)

Insert/Update

40

pyt_otflag

bool

p.pyt_otflag

char(1)

Insert/Update

41

pyt_pr_glnum

string

p.pyt_pr_glnum

varchar(66)

Insert/Update

42

pyt_pr_glnum_clearing

string

p.pyt_pr_glnum_clearing

varchar(66)

Insert/Update

43

Quantity

decimal

p.pyt_quantity

float

Insert/Update

44

Rate

decimal

p.pyt_rate

money

Insert/Update

45

RateUnit

string

p.pyt_rateunit

varchar(6)

Insert/Update

46

SystemCode

bool

p.pyt_systemcode

char(1)

Insert/Update

47

Unit

string

p.pyt_unit

varchar(6)

Insert/Update

48

UpdateableProperties

PayTypeUpdateInfo

49

ZeroEnf

int

p.pyt_zeroenf

int

Insert/Update

PayType.ReturnObject

Property Name Data Type (in C#) Comments

1

ErrorMessages

List<string>

2

ErrorObjectIndexList

List<int>

3

Exceptions

List<Exception>

4

ReferenceObjects

List<PayType>

5

ReturnCode

int

6

TraceMessages

List<string>

7

WarningMessages

List<string>

PayType.PagedReturnObject

Property Name Data Type (in C#) Comments

1

PageIndex

int

2

PageSize

int

3

TotalRecords

int

PayTypeUpdateInfo object

  • Data types (in C#) for all properties are bool.

  • Set the property to true to update the corresponding PayType property.

Property Name Comments

1

AcceptNegatives

2

AgeDays

3

ChargeTypeItemCode

4

Description

5

EditFlag

6

EditInDispatch

7

Expresscheck

8

Fee1

9

Fee2

10

GpTax

11

IsAuthcodeRequired

12

IsRetired

13

MaxEnf

14

MaxRate

15

MinEnf

16

MinRate

17

OffsetFor

18

OffsetPercent

19

PatyTyepGroup

20

PayingTo

21

PayTypeBasis

22

PayTypeBasisUnit

23

PayTypeCategory

24

PayTypeClass

25

PayTypeClassFlag

26

PayTypeItemCode

27

PayTypeStatus

28

PreTax

29

pyt_ap_glnum

30

pyt_ap_glnum_clearing

31

pyt_eiflag

32

pyt_fservprocess

33

pyt_incexcoth

34

pyt_minus

35

pyt_otflag

36

pyt_pr_glnum

37

pyt_pr_glnum_clearing

38

Quantity

39

Rate

40

RateUnit

41

SystemCode

42

Unit

43

ZeroEnf

Criteria object

To condense the information in table, the Database Column uses the following abbreviations for database tables:

p = paytype

Name Database Column Data Type (in C#) Comments

1

Ascending

bool?

Not mapped

2

ChargeTypeItemCode

cht_itemcode

string

3

Expressions

List<CriteriaExpression>

4

IsRetired

pyt_retired

bool?

5

PagingData

PagingData

Not mapped

6

PayTypeItemCode

pyt_itemcode

string

7

PayTypeNumber

pyt_number

int?

8

pyt_fservprocess

pyt_fservprocess

string

9

Settings

CriteriaSettings

10

SortBy

string

Not mapped

CriteriaSettings object

Name Comments

1

ChargeTypeItemCode

2

IsRetired

3

PayTypeItemCode

4

PayTypeNumber

5

pyt_fservprocess

CriteriaExpression object

Name Data Type (in C#) Comments

1

Criteria

Criteria

2

Conjuction

CriteriaSetting.ConjuctionEnum