Debugging with Long Description

You can make use of Long Description to store your debug information which is specific to a particular record.

Script Language: Javascript

importClass(java.time.LocalDateTime);

function ldDebug(text) {
    mbo.setValue("DESCRIPTION_LONGDESCRIPTION", java.time.LocalTime.now() + " " + text + "<br>" + mbo.getString("DESCRIPTION_LONGDESCRIPTION"));
}

ldDebug("Debug");


Comments

Popular posts from this blog

Permit to Work (HSE)

Asset Templates / (Tr)

Work Order Tracking / (CM) / (HSE) / (Tr) - Actuals tab