Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Is that possible to Generate Distribution automatically using e connect store procedure.

Posted on by Microsoft Employee

GP allows  to generate default distribution from a various window. 

i.e. Payable Transaction Entry Distribution window, Purchasing distribution Entry window, etc..

Is that possible to generate same by using econnect's storeprocedure.  by passing minimum information.  

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Is that possible to Generate Distribution automatically using e connect store procedure.

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Is that possible to Generate Distribution automatically using e connect store procedure.

    Jon,

    It worked. it worked 100%.

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Is that possible to Generate Distribution automatically using e connect store procedure.

    Got the fix.. cant believe this..

    under taPMTransactionInsert sp. there is parameter called "CREATEDIST" if I pass 1 then it should auto create distributions.

    I hope this will work. will let you know result by tomorrow.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Is that possible to Generate Distribution automatically using e connect store procedure.

    Thanks for the quick reply.  let me try with econnect integration and will let you know.  By the way so far I am creating transaction from my application directly using store procedure of eConnect. that's the reason I was looking for something at SP level which creates distribution automatically.

    Actually I was trying to bypass implementation of distribution from my application because I knew that its too complicated to implement.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Is that possible to Generate Distribution automatically using e connect store procedure.

    I believe it will, based on my experience with SOP.  The whole point of econnect/IntegrationManager is to create the transaction, without knowing the complicated distribution rules, and letting the GP API handle the complicated stuff.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Is that possible to Generate Distribution automatically using e connect store procedure.

    do you mean if I just create transaction then it will generates distribution automatically ?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Is that possible to Generate Distribution automatically using e connect store procedure.

    Yes you can use the econnect stored procedures to import an AP transaction, and the distributions will default.  This is not an easy task mind you.  I have only used econnect to import SOP invoices and IV adjustments, not AP.  But it should be similar:  start transaction, create the detail lines then create the header, commit,  if you hit errors roll it back.

  • Suggested answer
    Praveen Kumar RR Profile Picture
    Praveen Kumar RR 1,550 on at
    RE: Is that possible to Generate Distribution automatically using e connect store procedure.

    Hi,

    while i was checking the availability of eConnect Schema for PM Distributions, i came across the availability of eConnect Custom Procedures to accomplish Distribution Creation,

    taPMDistributionPost

    taPMDistributionPre

    However, i am not clear about functionality difference between above Custom Procedures.

    You will be able to see these Procedures under the Installation Folder Path of eConnect.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Is that possible to Generate Distribution automatically using e connect store procedure.

    Hi Jon,

     Thank you for your response.

    Yesterday I have noticed that in DynamicsSecurityConsole there is an option available that if we create an invoice through web service then they allow us to generate distribution automatically.

    So, I thought there might be some way to achieve same by using econnect or its store procedure.  

    GPDynamic.jpg

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Is that possible to Generate Distribution automatically using e connect store procedure.

    no, not after the transaction has been imported.    use a gp macro to click the default button for multiple records.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans