Avatar

Morten Lilbæk Pedersen

  • Total activity 247
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 1
  • Subscriptions 121

Activity overview

Latest activity by Morten Lilbæk Pedersen
  • Avatar

    Morten Lilbæk Pedersen commented,

    Development answer: It is not possible to get the full pVal variables (UF - Dynamic Code events can come from item, menu and formData events so there is no common event) We have a common event amon...

  • Avatar

    Morten Lilbæk Pedersen created an article,

    Guide - Launching a UF - macro in a new thread

    Disclaimer: This sample calls undocumented code in the add-on. This might break in future releases if we make major code changes. We do not offer free support for the following sample. Scenario: So...

  • Avatar

    Morten Lilbæk Pedersen commented,

    Official comment

    Hi Jonathan, You should be able to check the DB Datasource to figure out if you are about to add a Cancellation document. This validation only triggers when it is not a cancellation document.

  • Avatar

    Morten Lilbæk Pedersen created an article,

    Sample - Getting the mode of a form in a macro

    Sometimes you need to know what mode (Add/Update/Ok/Find) a form is in. This you can get this using the .NET Code: (Right-click in a macro to get the .NET code menu item). Code: switch(form.Mode){...

  • Avatar

    Morten Lilbæk Pedersen created an article,

    Sample - Automate print of invoices when adding Incoming Payment

    Scenario: You want to automatically print paid invoices when adding the Incoming Payment. Setup: To get this working you will need to first create a UDF that keeps track of documents that have alre...

  • Avatar

    Morten Lilbæk Pedersen created an article,

    Sample - Working with Time in B1 Dashboard

    Scenario: You would like to display an SAP Time field in the B1 Dashboard. Setup: SAP stores "Time" as an integer type instead of a datetime/time column in the database. To use the field in a B1 Da...

  • Avatar

    Morten Lilbæk Pedersen created an article,

    Crystal report - performance

    The performance of Crystal reports is linked to a number of different things. The one with the most impact is what SQL is executed in the Crystal Report.If you look at the layouts provided by defa...

  • Avatar

    Morten Lilbæk Pedersen created an article,

    Crystal Error: "Log on failed" (B1P&D)

    While trying to launch a Crystal report you get the error "Log on failed": The "Log on failed" error is, unfortunately, a generic error that we do not have a simple fix for. Instead, it normally i...

  • Avatar

    Morten Lilbæk Pedersen created an article,

    Boyum Pack: Switching from "Installer (With install path selection)" to "Installer" does not work

    Scenario:You have previously used the "Installer (With install path selection).ard" option when installing the Boyum Pack. During installation, you changed the default installation path to a differ...

  • Avatar

    Morten Lilbæk Pedersen created an article,

    UFFI - Import to documents UDO

    In this sample, I will show how to import from an XML document to a UDO of type Document. I assume that you have prior knowledge of the SAP SDK in this sample. We do not offer support on this code....