Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

eOne SmartConnect Calculated Additional Columns

(0) ShareShare
ReportReport
Posted on by 180

Hi all

I need some coding help

I have found an AP integration MAP and edited accordingly 

now I'm stuck a little bit below is the preview of the MAP

as you can see the MAP generated Purchase Amount, Tax Amount and Creditors Amount but when I upload it the whole of column F8 for Purchase Amount gets uploaded which isn't right and same for Tax amount 

I'm thinking to over come this is to create 2 calculated additional columns but I’m not great at coding

Those two columns to say “Sum F10 where Linetype column = 3-tax” this way it will only sum the Tax
Second column to say “Sum F8 where Linetype column = 1-exp”

pastedimage1648046335673v1.png

much appreciate it if someone can help me with those 2 columns

Categories:
  • nihad Profile Picture
    nihad 180 on at
    RE: eOne SmartConnect Calculated Additional Columns

    Thanks Beat that will be amazing, I have sent you a PM.

  • nihad Profile Picture
    nihad 180 on at
    RE: eOne SmartConnect Calculated Additional Columns

    Thanks Mickie the grouping works fine, I had to redo the map and create an additional Field in the actual MAP instead of using calculated columns where it only picks Purchase Amount and another Field where it only pick Tax Amount.

  • Beat Bucher  GP Geek  GPUG All Star Profile Picture
    Beat Bucher GP Gee... 28,058 Moderator on at
    RE: eOne SmartConnect Calculated Additional Columns

    Hi Nihad,

    eOne Solutions has some VB code samples that we used to be able to download from their site in the old days.. not sure if it's still available, as they have revamped their web site recently and everything changed location..  Send me a PM if you can't find it, I might have a ZIP file somewhere with the code samples for Smartconnect.

  • Mickie Stamm Profile Picture
    Mickie Stamm 20 on at
    RE: eOne SmartConnect Calculated Additional Columns

    Hi Nihad -

    Is there a field you can use to group the data (e.g., by document number), by using the 'Group data' checkbox on the 'Create payables transaction' header and selecting that field for 'Group On'? I'm not seeing one in your screenshot, but wanted to check if that is an option for you first, because this should allow your Purchase Amount in F8 and Tax Amount in F10 to be imported correctly.

  • nihad Profile Picture
    nihad 180 on at
    RE: eOne SmartConnect Calculated Additional Columns

    Thanks Andrea

    Apparently I need someone with VB.Net knowledge to help me on this

    so far I have tried this

    <code>

    dim vPurchasesAmount

    if _LINETYPE= "1-exp" then vPurchasesAmount = _PURCHASEAMOUNT

    else vPurchasesAmount = "0" end if

    return vPurchasesAmount

    </code>

  • Suggested answer
    Andrea Melroe Profile Picture
    Andrea Melroe 3,437 on at
    RE: eOne SmartConnect Calculated Additional Columns

    Hi Nihad,

    While we in GP Support would like nothing more than to provide some guidance on this, we really can't since we don't have access to this product. I'm hoping others with SmartConnect experience will be able to give you some pointers!

    If not, you may want to consider posting your question on the eOne community forums as well:

    Questions Archive - eOne Solutions

    Good luck!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,321 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans