• Home
  • About TechTalk
  •  

    New API features: Time entries and a lot more…

    16 July 2009

    With our July 14th update to version 1.4.5 of the e-conomic API, a number of new features have been added:

    Time entries may now be created via the API, using the new ITimeEntry class. This will open up a host of new possibilities for integrations (IPhone interface, anyone?). Note that this requires access to the Project Management add-on module. Also note that approval of time entries is not yet available in the API.

    Accruals may now be set on cash book entries, using ICashBookEntry.SetAccrualInformation(). Note that this requires access to the Accruals add-on module.

    Accounting years are now exposed (read-only), via the IAccountingYear class. This is a great help for integrating with e.g. reporting tools, where your calculations of account balances from entries (class IEntry) will depend on which accounting years are already closed.

    The new ISumInterval class allows reading and writing of sum intervals for sum interval accounts (AKA TotalInterval accounts in some language versions of the e-conomic web application). To retrieve all sum intervals for a given sum interval account, you can use IAccount.GetSumIntervals().

    It is now possible to look up invoices by order number, using IInvoiceUtil.FindByOrderNumber(). Note that, since the order number is auto-generated, the recommended way of tracking an invoice all the way through is to set ICurrentInvoice.OtherReference. Both ICurrentInvoiceUtil and IInvoiceUtil contains a FindByOtherReference() method for subsequently looking up your invoice.

    Subscription users can now find all subscribers on a customer using the new IDebtor.GetSubscribers() method.

    The IDebtorEntry and ICreditorEntry classes now expose a SerialNumber property, allowing you to uniquely identify individual debtor/customer and creditor/supplier entries.

    Finally, the new IEntryUtil.GetLastUsedSerialNumber() makes it even easier to synchronize entries between e-conomic and other systems, by allowing you to very quickly determine whether new entries have been created in e-conomic.

    As always, if you wish to utilize some of this new functionality, you need to upgrade to the latest version of Economic.Api.dll – or ‘re-consume’ the web service if you’re not developing on the .NET framework. Pick up the latest version of our SDK here.

    NOTE: The SerialNumber property on debtor/creditor entries seems to have caused some problems for a few people. Long story short: Make sure you’re using at least version 1.4.5.21081 of Economic.Api.dll, and you should be fine.

    For any technical questions on either the new or existing API functions, we are of course still available at api@e-conomic.com.


    A message from e-conomic – in e-conomic

    7 July 2009

    Hi,

    I have been given the opportunity to develop a new option for delivering current performance messages in e-conomic.

    Today, we use the Dialogue tab to display messages, such as current application performance, but that message targets everyone, including users not on line at the moment; another important issue is that the dialogue system do not guarantee that the users currently on line sees the message right away.

    We concluded that the dialogue system didn’t do the job and we realized the need for a small message pop up restricted only to users on line or the ones who log on while the message is valid.

    The added message popup will be included and Live in the next market package from e-conomic. I would expect the pop up to be used during high peak hours with messages such as: You could experience some minor delays using the system for the next two hours. We are looking into this, thank you for your patience.

    Edit: Observant users might have realized that this post has changed a few times during the day; don’t be alarmed, I am, what some of you would call on a learning curve.

    cheers