Hi Guys,
I have a requirement when i create a new purchase order and clicking ok button the delivery date will be getting populated automatically in purchase order header similarly confirmed delivery date also needs to populate
I am using the below code but when i debug and see i am not getting the buffer for purchtable . Please guide me on this
[FormControlEventHandler(formControlStr(PurchCreateOrder, OK), FormControlEventType::Clicked)]
public static void OK_OnClicked(FormControl sender, FormControlEventArgs e)
{
PurchTable callerRec = sender.formRun().dataSource(1).cursor();
if(callerRec.RecId)
{
callerRec.ConfirmedDlv =callerRec.DeliveryDate;
}
}