Public class LitsPurchReqTable_EventHandler
{
/// <summary>
/// Syed Hur Abbas -1227 - 24-05-2023
/// Written to Auto submit Purch Requistion record for workflow
/// when integerated from CE
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
[DataEventHandler(tableStr(PurchReqTable), DataEventType::Inserted)]
public static void PurchReqTable_onInserted(Common sender, DataEventArgs e)
{
PurchReqTable PurchReqTable;
PurchReqTable = sender as PurchReqTable;
Lits_PurchReqAutoSubmit::AutoSubmit(PurchReqTable.RecId);
}
}
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter