Table "Accounting Period"
ID 50
Namespace: Microsoft.Foundation.Period
Properties
Fields
Name
Type
Description
"Starting Date"
Date
Specifies the date that the accounting period will begin.
Name
Text[10]
Specifies the name of the accounting period.
"New Fiscal Year"
Boolean
Specifies whether to use the accounting period to start a fiscal year.
Closed
Boolean
Specifies if the accounting period belongs to a closed fiscal year.
"Date Locked"
Boolean
Specifies if you can change the starting date for the accounting period.
"Average Cost Calc. Type"
Enum Microsoft.Inventory.Costing."Average Cost Calculation Type"
Specifies how the average cost for items in the accounting period was calculated.
"Average Cost Period"
Enum Microsoft.Inventory.Costing."Average Cost Period Type"
Specifies the period type that was used in the accounting period to calculate the average cost.
SystemId
Guid
SystemCreatedAt
DateTime
SystemCreatedBy
Guid
SystemModifiedAt
DateTime
SystemModifiedBy
Guid
SystemCreatedByUserName
Text[50]
SystemCreatedByFullName
Text[80]
SystemModifiedByUserName
Text[50]
SystemModifiedByFullName
Text[80]
SystemRowVersion
BigInteger
Methods
UpdateAvgItems
procedure UpdateAvgItems()
GetFiscalYearEndDate
procedure GetFiscalYearEndDate(ReferenceDate: Date): Date
Parameters
Name
Type
Description
ReferenceDate
Date
Returns
GetFiscalYearEndDate
procedure GetFiscalYearEndDate(var AccountingPeriod: Record "Accounting Period"; ReferenceDate: Date): Date
Parameters
Returns
GetFiscalYearStartDate
procedure GetFiscalYearStartDate(ReferenceDate: Date): Date
Parameters
Name
Type
Description
ReferenceDate
Date
Returns
GetFiscalYearStartDate
procedure GetFiscalYearStartDate(var AccountingPeriod: Record "Accounting Period"; ReferenceDate: Date): Date
Parameters
Returns
CorrespondingAccountingPeriodExists
procedure CorrespondingAccountingPeriodExists(var AccountingPeriod: Record "Accounting Period"; AccSchedDate: Date): Boolean
Parameters
Returns
MakeRecurringTexts
procedure MakeRecurringTexts(PostingDate: Date; var DocumentNo: Code[20]; var Description: Text[100])
Parameters
Name
Type
Description
PostingDate
Date
DocumentNo
Code[20]
Description
Text[100]
Events
OnBeforeMakeRecurringTexts
[IntegrationEvent(False,False)]
local procedure OnBeforeMakeRecurringTexts(PostingDate: Date; var DocumentNo: Code[20]; var Description: Text[100]; var IsHandled: Boolean)
Parameters
Name
Type
Description
PostingDate
Date
DocumentNo
Code[20]
Description
Text[100]
IsHandled
Boolean
See also