简体   繁体   English

使用窗口计划任务将库存物料从Excel导入到Sage 50

[英]Import Inventory Item from Excel to Sage 50 using window scheduled task

How can i import Inventory Items from EXcel to Sage 50 or vise versa automatically using Window Task Scheduler or something similar, without using 3rd Party Application?. 如何在不使用3rd Party Application的情况下使用Window Task Scheduler或类似工具自动将库存物料从EXcel导入Sage 50或反之亦然?

Thanks! 谢谢!

There is no way to do this using windows scheduler without a 3rd party application, the only option to import data to Sage 50 is via the File > Import menu option using CSV files and this cannot be scheduled by any external application. 如果没有第三方应用程序,则无法使用Windows Scheduler来执行此操作,将数据导入Sage 50的唯一选项是通过使用CSV文件的“文件”>“导入”菜单选项,并且任何外部应用程序都无法计划此操作。

I suppose you could write a CBT hook to send messages to Sage to drive this but the amount of development effort involved in doing this you may as well buy a 3rd party app. 我想您可以编写一个CBT挂钩来向Sage发送消息来驱动此操作,但是为此您需要投入大量开发工作,因此您最好购买一个第三方应用程序。

There are plenty of 3rd party apps on the market I won't mention any here but just google anything like "sage integration" and there are a few that will do this job for you. 市场上有很多第三方应用程序,在这里我不会提及,但是谷歌搜索类似“ Sage Integration”之类的东西,还有一些可以为您完成这项工作。

HTH Adam 亚当

Workaround. 解决方法。 If your import is standard flow of keystrokes, you could use Autohotkey to write up a macro that would do this for you. 如果您的导入是标准的击键流程,则可以使用Autohotkey编写一个宏来为您完成此操作。 The scheme I would think would start from a standard desktop profile, where Sage 50 is in a predictable position and available every time the macro is run. 我认为该方案将从标准的桌面配置文件开始,在该配置文件中,Sage 50处于可预测的位置,并且每次运行宏时都可用。

1) Copy the Excel sheet you want to import to a directory where AHK will find it. 1)将要导入的Excel工作表复制到AHK可以找到的目录中。 Of course with named ranges and such prepared and mapped for Sage 50 当然有命名范围,并且为Sage 50准备并映射了

2) write an AHK script to process the following. 2)编写一个AHK脚本来处理以下内容。 - Test if the excel file is in the "transfer" directory - Select Sage 50 - Send the complete keystroke selecting each many item function, may be selecting a head menu item, and then a number of down keystrokes, tabs etc. or other gestures to select items needed. -测试excel文件是否在“传输”目录中-选择Sage 50-发送完整的击键,选择每个多项功能,可能选择一个主菜单项,然后单击许多下击键,制表符等或其他手势选择所需的项目。 - run the import. -运行导入。 - After successful completion, move the Excel file from the "transfer" directory to a "completed transfers" directory -成功完成后,将Excel文件从“传输”目录移动到“已完成传输”目录

Autohotkey is a very powerful tool, and there are great support forums here regarding it. Autohotkey是一个非常强大的工具,并且这里有很多很棒的支持论坛。 If you do not know about it you should! 如果您不知道,那应该! Google it. 谷歌一下。 Good luck. 祝好运。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM