📚 SAP Business One SDK Help

Holiday Object Members
See Also  Overview 

Public Methods

Public Method FromXMLFileSets the object's properties using data from an XML file.

The XML file can be created using the object's ToXMLFile method.

Public Method FromXMLStringSets the object's properties using data from an XML string.

The XML string can be created using the object's ToXMLString method.

Public Method GetXMLSchemaReturns the XML schema for the XML generated by the ToXMLFile and ToXMLString methods.
Public Method ToXMLFileCreates an XML file that represents the object.
Public Method ToXMLStringCreates and returns an XML string that represents the object.

Public Properties

Public Property HolidayCodeThe code of the holiday. You can enter holidays for each country you work with.

Field name: HldCode.

Length: 20 characters.

Public Property HolidayDatesHoliday dates.
Public Property SetWeekendsAsWorkDaysConsiders weekend days as business days while calculating due dates for payments.

Field name: ignrWnd.

Public Property ValidForOneYearOnlyApplies the holiday table only to the year specified in the holiday dates. Deselect to define the holiday table as year independent.

Field name: isCurYear.

Public Property WeekendFromSelect days for the weekend.

Field name: WndFrm.

Public Property WeekendTOSelect days for the weekend.

Field name: WndTo.

Public Property WeekNoRuleThe rule of calculating week numbers.

Field name: WeekNoRule.

See Also