Accounting Period Setup

vasilis6669vasilis6669 Member Posts: 109
Hi,

I am trying to setup a company that sells I.T. services.

I created a new company filled in the required information. According to the Setup check list the next step is the setup the accounting period.

when i click on the Form Accounting Periods (Administration--> Application Setup--> Financial Management) I receive the following error: there is no Accounting Period within the filter
Filters: Starting Date : >=

How do i setup the starting date in the filter?

Is there any step by step guide on how to setup a company that sells service?

Thanks.
Vasilis

Comments

  • mart1n0mart1n0 Member Posts: 123
    There is a bugfix for this look here for the answer:
    http://www.mibuso.com/forum/viewtopic.php?t=21028&highlight=

    or look at the code below:
    You need to replace the code in Table 5814 Inventory Period, Function IsInvtPeriodClosed:

    Old Code:
    AccPeriod.SETFILTER("Starting Date",'>=%1',EndingDate);
    AccPeriod.FINDFIRST;
    IF AccPeriod.NEXT <> 0 THEN
      EndingDate := CALCDATE('<-1D>',AccPeriod."Starting Date");
    
    SETFILTER("Ending Date",'>=%1',EndingDate);
    SETRANGE(Closed,TRUE);
    EXIT(NOT ISEMPTY);
    


    New code:
    AccPeriod.SETFILTER("Starting Date",'>=%1',EndingDate);
    IF NOT(AccPeriod.FINDFIRST) THEN
      EXIT(FALSE);
    IF AccPeriod.NEXT <> 0 THEN
      EndingDate := CALCDATE('<-1D>',AccPeriod."Starting Date");
    
    SETFILTER("Ending Date",'>=%1',EndingDate);
    SETRANGE(Closed,TRUE);
    EXIT(NOT ISEMPTY);
    

    You can thank Luc Van Dyk for this one :-)
  • vasilis6669vasilis6669 Member Posts: 109
    Thanks both of you guys,

    Now I can open the accounting period form.

    How do the acounting periods and inventory period work? My backgroung in accounting is limited.

    Also, i created an accounting period and it was locked by mistake. I receive the following message when trying to delete the record. "Date Locked must be No in accounting Period Starting Date =01/01/2008"



    Vasilis
Sign In or Register to comment.