Some E9 BPM DD Help

I am trying to copy some values from one field to another when the Ship Line is saved.  Trying to use a similar BPM.

 

FIND FIRST ttshipdtl WHERE ttshipdtl.Company = CUR-COMP AND (ttshipdtl.RowMod = 'A' OR ttshipdtl.RowMod = 'U') EXCLUSIVE-LOCK NO-ERROR.

 

IF AVAILABLE ttShipdtl THEN DO:

 

                IF ttshipdtl.OurInventoryShipQty > 0 THEN DO:

                                ASSIGN ttshipdtl.OurInventoryShipQty = ttshipdtl.Packages.

                END.

 

                IF ttshipdtl.OurJobShipQty > 0 THEN DO:

                                ASSIGN ttshipdtl.OurJobShipQty = ttshipdtl.Packages.

                END.

 

END. /*AVAILABLE ttShipDtl*/

RELEASE ttShipDtl.



Disclaimer

The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.