AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • In-Person Gatherings
    • Power BI Workshop
    • Podcast
    • Rolodex
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AUG Forums
Everything Else
Replace statement
 
Notifications
Clear all

Questions Replace statement

 
Everything Else
Last Post by azhar 4 years ago
2 Posts
2 Users
2 Reactions
1,066 Views
RSS
mstanczak
Posts: 14
 mstanczak
Topic starter
November 22, 2021 11:15 am
(@mstanczak)
Eminent Member
Joined: 5 years ago

We currently have a setting in the import for Replace Staff Notes which is shown below for the “Amazon Order ID” to go into the Customer Reference on the SO. 

This work however it also includes the “Amazon Earliest Ship Date” as well.  How do I just get the “113-9876544-12345677” and nothing else?  Here is the statement:  =iif([OrderData.PaymentMethod]='amazon',Replace( [OrderData.StaffNotes], 'Amazon Order Id            ',''),'')

 

Amazon Order Id             113-9876544-12345677

Amazon Earliest Ship Date           2021-11-22T08:00:00.000Z

Amazon Earliest Delivery Date    2021-11-24T08:00:00.000Z

Amazon Latest Ship Date             2021-11-24T07:59:59.000Z

Amazon Latest Delivery Date      2021-11-27T07:59:59.000Z

Amazon Fulfilment Method        FBM


Tim Rodman reacted
1 Reply
azhar
Posts: 13
 azhar
December 4, 2021 12:21 am
(@azhar)
Eminent Member
Joined: 6 years ago

Hi,

Can you just use Substring to pick up "113-9876544-12345677" like this?

 

=IIf([OrderData.PaymentMethod]='amazon', Substring([OrderData.StaffNotes], 29, 20 ),'')

 

 

 

 


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,530 Topics
  • 11 K Posts
  • 10 Online
  • 2,418 Members
Our newest member: Chad Treadwell
Latest Post: Negative/Credit Inventory Value?
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

  • Johnny Tang
Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2026 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×