首页 文章

Acumatica / Myob Advanced:添加电子邮件字段

提问于
浏览
0

在Myob Advanced(Acumatica)上,我们想在Salespersons页面(AR205000)中添加salespersons电子邮件地址 . 这样我们就可以将此字段添加到销售订单电子邮件模板中,从而允许我们在每次客户下订单时对销售人员进行CC操作 .

香港专业教育学院试图实施这个额外的领域,“Salespersons电子邮件地址”;但我有一些问题 .

  • 它只允许我在文本框中保存25个字符?为什么我不能添加超过25个字符?

  • 软件附带的电子邮件字段都具有px:PXMailEdit的代码 . 但是,我似乎无法创建一个MailEdit字段,只能创建一个px:PXTextEdit字段?为什么是这样?

谢谢你的帮助 . 如果这没有意义,或者你需要进一步的信息LMK .

1 回答

  • 0

    目前,Layout Editor不支持PXMailEdit控件 . 请在下面找到在 Salespersons 屏幕上添加自定义电子邮件字段的步骤:

    • 对于 SalesPerson DAC,请设置长度设置为255的字符串类型的新字段(这是在Acumatica / MYOB Advanced的所有电子邮件字段中使用的 PXDBEmailAttribute 中定义的长度):
      enter image description here

    enter image description here

    • 使用以下属性替换生成的属性,保存更改并发布自定义:
    [PXDBEmail]
    [PXUIField(DisplayName="Email Address")]
    

    enter image description here

    • 在布局编辑器中打开 Salespersons 屏幕并为步骤1中声明的自定义字段添加TextEdit控件,然后保存更改:
      enter image description here

    • File 菜单中选择 Edit Project Items ,并在为Salespersons屏幕生成的XML变更集中将控制类型从 PX.Web.UI.PXTextEdit 更改为 PX.Web.UI.PXMailEdit ,保存更改并再次发布自定义:
      enter image description here

    完成上述步骤后,这就是自定义电子邮件字段在Salespersons屏幕上的样子:
    enter image description here

    Using Salesperson's email in Automation Notifications:

    如果您将Salespersons屏幕中的自定义电子邮件地址字段设置为销售订单通知中的CC地址:
    enter image description here
    系统将自动在默认销售人员的通知消息中包含电子邮件地址:
    enter image description here

    enter image description here

    Using Salesperson's email in Notification Templates:

    这可能看起来令人困惑,但在通知模板屏幕上可供选择的销售人员节点表示与销售人员链接的员工(详见下面的屏幕截图):
    enter image description here

    将SalesOrderNotification的CC字段设置为 ((SalesPerson.SalesPersonID.UsrEmailAddress)) 时,系统应自动在生成的电子邮件中包含默认销售人员的电子邮件地址:

    enter image description here

相关问题