I'm working on a custom script to automatically update the external ID and description of an employee after the record is inserted into the Data Maps table for Type "Employees."
I created a simple Inserted event to test the trigger, but I'm encountering an error.
using System;
using PX.Objects;
using PX.Data;
namespace MYOB.AdvancedLive.People.Objects.PP
{
public class MPTimesheetDataMapMaint_Extension : PXGraphExtension<MYOB.AdvancedLive.People.Objects.PP.MPTimesheetDataMapMaint>
{
protected void DataMap_RowInserted(PXCache sender, PXRowInsertedEventArgs e)
{
PXTrace.WriteInformation("DataMap_RowInsertedevent triggered.");
var datamap = e.Row;
if (datamap == null)
return;
}
}
}
