在 Axapta 3.0 SP4 中向发票添加格式化文本行
我仍在计划如何继续此阶段,但在客户站点,他们正在通过 axapta 开具发票。现在 axapta 已经使用多年,他们为其生成的发票仅使用发票行。
虽然这是一个可接受的解决方案,但如果有某种方法可以扩展/编程/自定义 Axapta,以便能够导入将挂接到正在发送的发票上的文本行,那么它仍然是首选。
我不太确定从哪里开始解决这个问题,我用谷歌搜索了一些,检查了一些“axapta”网站,但我看到的大多数内容都涉及较新的版本(这是版本 3 sp4,大约是六岁左右)。
如果可以的话,一般来说,程序是什么?会涉及x++代码吗?
感谢您的任何意见!
I'm still in the planning on how to proceed phase with this, but at a customer site, they are moving to invoicing through axapta. now the axapta has been used for years, and the invoices they are generating for it is -only- using invoice lines.
While this is an acceptable solution, it is still preferred if there's some way to extend/program/customize Axapta as to be able to import textual lines that will be hooked on to an invoice that is being sent out.
I'm not really sure as to where to start attacking this problem, i've googled some, checked out some "axapta" sites, but most of what i see either deals with newer versions (this is version 3 sp4, which is about six-ish years old).
If it's possible to do, in general terms, what would the procedures be? Would it involve x++ code?
Thanks for any input!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用文档处理将注释附加到销售订单标题或销售订单行。将注释的限制字段设置为外部。您可以在备注部分的发票选项卡上的应收帐款/设置/表单/表单设置下控制发票上备注的打印。
要完全自定义发票的外观,请编辑报表 SalesInvoice。
Use document handling to attach a note to either the sales order header or the sales order lines. Set the Restriction field of the note to External. You can control printing of notes on invoices under Account receivable/Setup/Forms/Form setup, on the Invoice tab in the Note section.
To fully customize the look of an invoice, edit the report SalesInvoice.
遵循 Jay 的建议,将预先格式化的文本添加到文档处理中。
将以下方法添加到 DocuRef 表中:
在插入销售表记录后的导入代码中:
您必须更改客户表单设置以允许在发票上打印注释。
Follow Jay's advice and add the preformatted text to document handling.
Add the following method to the DocuRef table:
In your import code somewhere after the insert of the sales table record:
You will have to change your customer form setup to allow to print notes on the invoice.