Nearing our conversion to E10 from 9.05.702A and of course have a single small BPM that needs to be converted. This BPM simply copies a few UD values from OrderRel to JobHead when a JobProd record is added. I am in no way a programmer, can anyone lend a hand? Current ABL:
FOR EACH ttjobprod where ttjobprod.rowmod=“A”:
Find first Jobhead where ttjobprod.company = jobhead.company and ttjobprod.jobnum=jobhead.jobnum no-lock no-error.
If available Jobhead then Do:
Find First OrderRel where OrderRel.Ordernum=ttjobprod.Ordernum and OrderRel.OrderLine=ttjobprod.orderLine and OrderRel.OrderRelNum=ttJobProd.OrderRelNum No-Lock No-Error.
If available OrderRel then Do:
jobhead.ShortChar03 = Orderrel.ShortChar02.
jobhead.Number01 = Orderrel.Number01.
jobhead.Number02 = Orderrel.Number02.
If OrderRel.ShortChar02 <> “” then Do:
jobhead.CheckBox01 = True.
End.
End.
End.
End.
DJ, there is an BPM ABL convertor available which this was likely using.
You may be missing a few things in this example code (along with the syntax issues).
Try this: