×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Epicor 905.700B, Copy a UD Text Field to another UD Text Field

Epicor 905.700B, Copy a UD Text Field to another UD Text Field

Epicor 905.700B, Copy a UD Text Field to another UD Text Field

(OP)
In Epicor I'm trying to copy a UD field in the Order table to another UD field in the JobProd table. When I analyze the code in the Method Directive I don't get any errors, and it saves without any errors. The issue is that the UD field never gets updated.

Below is a copy of the ABL code. Can anyone tell me what I'm doing wrong?

/*
Purpose: copy OrderDtl Early Delivery Limit value to JobProd.shortchar04 for use with DD BPM.
Business Object: Job Prod.
Method: GetDetails.
Directive: Post-processing.
Additional Info: In-transaction data directive on JobProd is dependant on this BPM.
*/

FOR EACH JobProd FIELDS (shortchar04) WHERE JobProd.company = cur-comp AND JobProd.ordernum = OrderNum AND JobProd.OrderLine = OrderLine NO-LOCK.
FOR FIRST Orderdtl FIELDS (shortchar04) WHERE Orderdtl.company = JobProd.cur-comp AND Orderdtl.ordernum = JobProd.OrderNum AND Orderdtl.OrderLine = JobProd.OrderLine NO-LOCK.

IF avail JobProd THEN DO:
ASSIGN Orderdtl.shortchar04 = JobProd.ShortChar04.
END.
END.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close