Auto Populate New Ship Detail Record with Ship Head Sales Order Numb

Auto Populate New Ship Detail Record with Ship Head Sales Order Number.

Help!! I’m stuck.

I created a Methods Directive for GetNewOrdrShipDtl.

Pre-Processing – Action – Synchronously execute ABL  ………. Record Call

for first ttshipdtl:

Find ShipHead where ShipHead.company = ttShipDtl.Company

and ShipHead.Packnum = ttShipDtl.packnum.

                Assign ttshipdtl.OrderNum = ttShipHead.OTSOrderNum.

End.

How do I read for the ShipHead.OTSOrderNum field when entering a Packing Slip Line Item?

I’ve tested every way I can logically think of but it won’t find the field.

Patrick