Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open the record for the Orders entity in the Entities service.
  2. Set the definition for the ShipToEmail virtual field:
    ShipToEmail –Set virtual Field Type = Calculated
    Set below Calculation: 
    Case p2.LastName
    when '[Not Specified]' then c1.MainEmail
    else
    p2.Email1

    No Format
    ShipToEmail -Set virtual Field Type = Calculated
    
    Set below Calculation: 
    Case p2.LastName
    when '[Not Specified]' then c1.MainEmail 
    else
    p2.Email1
    End
  3. Set the definition for the ShipToEmail virtual field:

    No Format
    BillToEmail
    –Set
     -Set virtual Field Type = Calculated

    
    
    Set below Calculation:

    
    Case p3.LastName

    
    when '[Not Specified]' then c.
    MainEmail 
    else
    MainEmail 
    else
    p3.Email1

    
    End
  4. Set the definition for the BillToName virtual field:

    No Format
    Update below Calculation:

    
    (RTRIM(p2.FirstName) + ' ' + LTRIM(p2.LastName))

     
  5. Save and close the Orders entity record.

...