biuan SAP® BUSINESS ONE SDK
API Company Service / Period Category

Description

The PeriodCategory object is a data structure related to the CompanyService.

The PeriodCategory object provides two types of properties:

  • Properties that access existing Accounts and function as foreign keys to ChartOfAccounts Object.
  • Properties that defines new accounts by using Posting and Sub-Period definitions.

Object Model

Remarks

Mandatory field in SAP Business One: PeriodCategory.

To create a new period category through the application:

  1. Select Administration --> System Initialization --> General Settings --> Posting Periods tab.
  2. Click the New Period button.

When creating a new period category, the system sets new G/L accounts related for this period category.

To display the G/L Accounts related to the new period category:

  1. Select Administration --> System Initialization --> General Settings --> Posting Periods tab.
  2. Select the new period entry and then click the Set as Current button.
  3. Select Administration --> Setup --> Financials --> G/L Account Determination.

See Also

SAP® B1 DI-API C# definition

public class PeriodCategoryClass : IPeriodCategory, SAPbobsCOM.PeriodCategory { public virtual string AccountforCashReceipt { get; set; } public virtual string AccountforCreditMemoPayme { get; set; } public virtual string AccountforOutgoingChecks { get; set; } public virtual string AcountforOpeningWHBalance { get; set; } public virtual string AllocationAcc { get; set; } public virtual string APCashDiscountAccount { get; set; } public virtual string APCashDiscountInterim { get; set; } public virtual string APExRateInterim { get; set; } public virtual string APGainRealizedConversionDiff { get; set; } public virtual string APGainRealizedExchngeDif { get; set; } public virtual string APLossCashDiscountAccount { get; set; } public virtual string APLossRealizedConversionDiff { get; set; } public virtual string APLossRealizedExchangeDif { get; set; } public virtual string ARCashDiscountAccount { get; set; } public virtual string ARCashDiscountInterim { get; set; } public virtual string ARExRateInterim { get; set; } public virtual string ARGainRealizedConversionDiff { get; set; } public virtual string ARGainRealizedExchngeDif { get; set; } public virtual string ARLossRealizedConversionDiff { get; set; } public virtual string ARLossRealizedExchangeDi { get; set; } public virtual DateTime BeginningofFinancialYear { get; set; } public virtual string BillofExchangeAccountsRece { get; set; } public virtual string BoEAccountsPayable { get; set; } public virtual string BoEAccountsPayable2 { get; set; } public virtual string CommissionAccountDefault { get; set; } public virtual string CostOfGoodsSold { get; set; } public virtual string CostofSaleRevaluationAcct { get; set; } public virtual string CostofSaleRevOffsetAcct { get; set; } public virtual string CreditorsFollowUpAccount { get; set; } public virtual string CustBillofExchangeonC { get; set; } public virtual string CustomerBillofExchangePres { get; set; } public virtual string CustomerBillofExchngeDisc { get; set; } public virtual string CustomerDoubtfulDebtsAcct { get; set; } public virtual string CustomerDownPaymentsAccount { get; set; } public virtual string CustomersDeductionatSource { get; set; } public virtual string CustomerUnpaidBoE { get; set; } public virtual string DebitorsFollowUpAccount { get; set; } public virtual string DecreaseGLAcc { get; set; } public virtual string DefaultSaleAccount { get; set; } public virtual string DownPaymentPClearingAcct { get; set; } public virtual string DownPaymentSClearingAcct { get; set; } public virtual string DownPaymentVATAcctPurch { get; set; } public virtual string DownPaymentVATAcctSale { get; set; } public virtual string DunningFeeAccount { get; set; } public virtual string DunningInterestAccount { get; set; } public virtual string EOYControlAccount { get; set; } public virtual string EUAccountsPayable { get; set; } public virtual string EUAccountsReceivable { get; set; } public virtual string EUExpenseAccount { get; set; } public virtual string EUPurchaseCreditAcc { get; set; } public virtual string ExchangeRateDifferencesAcct { get; set; } public virtual string ExemptedCredits { get; set; } public virtual string ExpenseAccountDefault { get; set; } public virtual string ExpenseClearingAccount { get; set; } public virtual string ExpenseOffsetAccount { get; set; } public virtual string ExpensesAccountForeign { get; set; } public virtual string ExpenseVarianceAccount { get; set; } public virtual int FinancialYear { get; set; } public virtual string ForeignAccountsReceivables { get; set; } public virtual string ForeignPurchaseCreditAcc { get; set; } public virtual DateTime FromDocumentDate { get; set; } public virtual DateTime FromDueDate { get; set; } public virtual DateTime FromPostingDate { get; set; } public virtual string GLGainRealizedConversionDiff { get; set; } public virtual string GLLossRealizedConversionDiff { get; set; } public virtual string GLRevaluationOffsetAccount { get; set; } public virtual string GoodsClearingAcc { get; set; } public virtual string IncreaseGLAccount { get; set; } public virtual string InputTaxAccount { get; set; } public virtual string InventoryOffsetDecrease { get; set; } public virtual string InventoryOffsetIncrease { get; set; } public virtual string InventoryOffsetProfitAndLossAccount { get; set; } public virtual string InvoicePaymentBP { get; set; } public virtual string NegativeInventoryAdjustmentAccount { get; set; } public virtual int NumberOfPeriods { get; set; } public virtual string OpeningBalancesAccount { get; set; } public virtual string OutgoingCashAccount { get; set; } public virtual string OutgoingChecksAccount { get; set; } public virtual string OutgoingTaxAccount { get; set; } public virtual string OverpaymentsAPAccount { get; set; } public virtual string OverpaymentsARAccount { get; set; } public virtual string PeriodCategory { get; set; } public virtual string PeriodName { get; set; } public virtual string PriceDifferenceAccount { get; set; } public virtual string PurchaseAccount { get; set; } public virtual string PurchaseCreditAcc { get; set; } public virtual string PurchaseDownPaymentInterimAccount { get; set; } public virtual string PurchaseOffsetAccount { get; set; } public virtual string PurchaseReturnAccount { get; set; } public virtual string PurchaseTax { get; set; } public virtual string RateDifferencesDefaultAcc { get; set; } public virtual string ReconciliationDifference { get; set; } public virtual string RepomoAccount { get; set; } public virtual string RevenuesAccountForeign { get; set; } public virtual string RoundingAccount { get; set; } public virtual string SalesCreditAcc { get; set; } public virtual string SalesCreditEUAcc { get; set; } public virtual string SalesCreditForeignAcc { get; set; } public virtual string SalesDownPaymentInterimAccount { get; set; } public virtual string SalesReturns { get; set; } public virtual string SalesRevenueEU { get; set; } public virtual string SelfInvoiceExpenseAccount { get; set; } public virtual string SelfInvoiceRevenueAccount { get; set; } public virtual string StockAccount { get; set; } public virtual string StockInTransitAccount { get; set; } public virtual string StockRevaluationAccount { get; set; } public virtual string StockRevaluationOffsetAcct { get; set; } public virtual BoSubPeriodTypeEnum SubPeriodType { get; set; } public virtual string TaxDefinition { get; set; } public virtual string TaxExemptRevenuesDefault { get; set; } public virtual DateTime ToDocumentDate { get; set; } public virtual DateTime ToDueDate { get; set; } public virtual DateTime ToPostingDate { get; set; } public virtual string UnderpaymentsAPAccount { get; set; } public virtual string UnderpaymentsARAccount { get; set; } public virtual string VarianceAcc { get; set; } public virtual string VendorAssetsAccount { get; set; } public virtual string VendorDoubtfulDebtsAcct { get; set; } public virtual string VendorDownPaymentsAccount { get; set; } public virtual SAPbobsCOM.WIPMappingCollection WIPMappingCollection { get; } public virtual string WIPMaterialAccount { get; set; } public virtual string WIPMaterialVarianceAccount { get; set; } public virtual string WipOffsetProfitAndLossAccount { get; set; } public virtual string WithholodingTax { get; set; } public extern PeriodCategoryClass(); public virtual extern void FromXMLFile( string bstrFileName); public virtual extern void FromXMLString( string bstrXML); public virtual extern string GetXMLSchema(); public virtual extern void ToXMLFile( string bstrFileName); public virtual extern string ToXMLString(); }

API Company Service / Period Category

Description

Sets or returns the Period Category of current account.

Field name: PeriodCat.

Length: 10 characters.

Property type

Read-write property

Syntax

Visual Basic
Public Property PeriodCategory() As String

See Also

Related information


Company Service Data Interfaces CompanyServiceDataInterfaces Enumeration
CompanyService data interfaces.
   Parent: Company Service CompanyService Service

Admin Info AdminInfo Object· Table: OADM
The AdminInfo is a data structure related to the CompanyService. It includes administration properties for system initialization (company details, document settings, and general settings), and various definitions, such as financials and banking....
   Parent: Company Service CompanyService Service

Advanced GL Account Params AdvancedGLAccountParams Object
AdvancedGLAccountParams Class
   Parent: Company Service CompanyService Service

Advanced GL Account Return Params AdvancedGLAccountReturnParams Object
AdvancedGLAccountReturnParams Class
   Parent: Company Service CompanyService Service

Blob Blob Object
Holds blob content to be added to or retrieved from a blob field in the SAP Business One database.
   Parent: Company Service CompanyService Service

Blob Params BlobParams Object
Specifies a set of blob fields, as follows: The Table property specifies the database table. The Field property specifies the blob field in the database table. The BlobTableKeySegments property specifies the records whose blob fields are to...
   Parent: Company Service CompanyService Service

Company Info CompanyInfo Object· Table: CINF
The CompanyInfo is a data structure related to the CompanyService. It includes initial parameters related to the company. The default values of part of the properties vary according to the country localization. Source table: CINF.
   Parent: Company Service CompanyService Service

Get Business Service GetBusinessService Service
Creates a specified business service. Use this method for all types of services
   Parent: Company Service CompanyService Service

Get General Service GetGeneralService Service
Returns an instance of GeneralService for the specified user-defined object (UDO). The GeneralService instance can be used to add, retrieve and delete rows of the main table and child tables linked to the specified UDO.
   Parent: Company Service CompanyService Service

Decimal Data DecimalData Object
Represents the data before rounding.
   Parent: Company Service CompanyService Service

Feature Status Collection FeatureStatusCollection Collection
FeatureStatusCollection is a Data Collection of FeatureStatus data structures.
   Parent: Company Service CompanyService Service

Finance Period FinancePeriod Object· Table: OFPR
The FinancePeriod object is a data structure related to the CompanyService. The object is used to identify and define a new Finance Period. Source table: OFPR.
   Parent: Company Service CompanyService Service

Finance Period Params FinancePeriodParams Object
The FinancePeriodParams specifies the identification key(system number, period indicator ) for which the CompanyService is related.
   Parent: Company Service CompanyService Service

Finance Periods FinancePeriods Collection
FinancePeriods is a collection of FinancePeriod objects.
   Parent: Company Service CompanyService Service

General Service GeneralService Service
The GeneralService provides access to UDOs. With the service, you can add, look up and remove rows from user-defined tables. You can also invoke custom methods on the UDO's custom business implementation DLL.
   Parent: Company Service CompanyService Service

Item Price Params ItemPriceParams Object
ItemPriceParams Class
   Parent: Company Service CompanyService Service

Item Price Return Params ItemPriceReturnParams Object
ItemPriceReturnParams Class
   Parent: Company Service CompanyService Service

Path Admin PathAdmin Object
An object for setting and getting directory paths for storing various files. Source tables: OADP
   Parent: Company Service CompanyService Service

Period Category Params PeriodCategoryParams Object
The PeriodCategoryParams specifies the identification key (AbsoluteEntry) for which the DocumentSeriesParams service is related. .
   Parent: Company Service CompanyService Service

Period Category Params Collection PeriodCategoryParamsCollection Collection
PeriodCategoryParamsCollection is a collection of PeriodCategoryParams identification keys.
   Parent: Company Service CompanyService Service

Rounded Data RoundedData Object
Represents the data after rounding.
   Parent: Company Service CompanyService Service

User License Params UserLicenseParams Object
Contains the parameters for assigning licenses.
   Parent: Company Service CompanyService Service

Service Types ServiceTypes Enumeration
DI API services.
   Parent: Company Service CompanyService Service


SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates