Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Generating Purchase Order Flat file to SFTP

Posted on by 10

Hi All,

I'm currently facing the problem, that I have to automatically "send a purchase order " when it is posted. This means, when posting a certain purchase order automatically a file (XML or Flat file txt) should be generated on an ftp server folder.

What is the Best approach for Business Central development (Customization\ Custom Development),  please suggest.

  • Suggested answer
    jcastro Profile Picture
    jcastro 2,245 on at
    RE: Generating Purchase Order Flat file to SFTP

    It appears there is no direct solution for BC SaaS, so you might want to do it through an Azure function. You can check this link for more info in regards to this specific issue: github.com/.../3478

    Here you have an example on how to integrate from AL to Azure functions: vjeko.com/invoking-azure-functions-al

    Bye!

  • Mohan99m Profile Picture
    Mohan99m 10 on at
    RE: Generating Purchase Order Flat file to SFTP

    its Azure Based SFTP and would like to place through Business Central SAAS PO  flat file to pick from there by other application for further processing

  • jcastro Profile Picture
    jcastro 2,245 on at
    RE: Generating Purchase Order Flat file to SFTP

    I guess it depends. Where do you want to send it to? I assume to the vendor related to the purchase order? If so, is it your own SFTP server or the vendor's server? What BC version are you using, SaaS or OnPremise?

    Best regards,

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,989 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans