Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate eMail Text for Notifications #5233

Open
metas-ts opened this issue May 23, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@metas-ts
Copy link
Member

commented May 23, 2019

Is this a bug or feature request?

FR

Send Email/Notification

Selecting the mail/notification recipient

AD_User send the mail/notification to:

  • select ALL users with notificationReceiver set to true. (send multiple mails)
    - use de.metas.notification.INotificationBL

Mail content

Subject Rückweisung der Rechnungsnummer 123456

Text
Sehr geehrte(r) Herr/Frau Blah (<- from AD_User; if not set, then "Sehr geehrte Damen und Herren)

Bitte bearbeiten Sie die Rückweisung

MFG

Invoice rejection details

  • new table and window with reject-infos; for additional, see #5233 (comment)

  • Read-only

  • Also Field that points to the resp. C_Invoice

  • Attach the reject-XML here

Dev-Notes
  • creating and storing the record should take place in the area of de.metas.vertical.healthcare_ch.forum_datenaustausch_ch.base.imp.InvoiceResponseRepo
  • i think you need to extend de.metas.invoice_gateway.spi.model.imp.ImportedInvoiceResponse to include fields for the above new table columns
  • there should be a record even if the invoice found not be found!
    • if the invoice is found, then continue to set IsIndispute(true) (i.e. it's currently done and shall be done in future too)
@metas-ts

This comment has been minimized.

Copy link
Member Author

commented May 29, 2019

About the invoice-rejection-details-table

  1. RW-Field: IsDone ("Erledigt")

All the other fields (i.e. all fields that are filled from the XML file) are read-only in the UI

  1. InvoiceNo | Rechnung Nr
  • String
  • Example: KV_123
  • XML: payload/invoice/request_id="KV_123"

2a) C_Invoice_ID

  • might be empty if the invoice was not found in metasfresh!
  1. Client | Klient/in
  • String
  • Example: Jane Doe
  • Not to be mixed up with AD_Client_ID!
  • XML: payload/body/patient/familyname: Jane + payload/body/patient/givenname: Doe
  1. Invoice recipient | Rechnungsempfänger
  • String
  • Example.: insurance-company
  • XML: payload/body/contact/company/companyname: Insurance-company
  1. Reason | Grund
  • String
  • Example: Rückweisungsbegruendung im Freitext
  • XML: payload/body/rejected/error: text="Rückweisungsbegruendung im Freitext"
  1. Explanation | Erklärung
  • Text
  • Example: Guten Tag Nach den derzeit geltenden Verträgen ...
  • XML: payload/body/rejected/explanation: Guten Tag Nach den derzeit geltenden ...
  1. Responsible person | Sachbearbeiter
  • Example: ASS Doe, Jane
  • XML: payload/body/contact/employee/familyname: ASS Hackl + payload/body/contact/employee/givenname: Simone
  1. Phone | Telefon
  • Example: 0123 456 789
  • XML: payload/body/contact/employee/telecom/phone: 0123 456 789
  1. Email | E-Mail
  • Example: name@mail.net
  • XML: payload/body/contact/employee/online/email: name@mail.net
  1. Status | Status
  • Example: canceled
  • XML: payload/body/rejected: status_out="canceled"
  1. Org | Sektion
  • Example: Helga Hugo
  • Reference to AD_Org; same as C_Invoice.AD_Org_ID
  • XML: payload/body/biller: ean_party="7601098777432"

TheBestPessimist added a commit that referenced this issue Jun 3, 2019

TheBestPessimist added a commit that referenced this issue Jun 3, 2019

TheBestPessimist added a commit that referenced this issue Jun 3, 2019

TheBestPessimist added a commit that referenced this issue Jun 5, 2019

TheBestPessimist added a commit that referenced this issue Jun 5, 2019

TheBestPessimist added a commit that referenced this issue Jun 5, 2019

TheBestPessimist added a commit that referenced this issue Jun 5, 2019

TheBestPessimist added a commit that referenced this issue Jun 5, 2019

TheBestPessimist added a commit that referenced this issue Jun 5, 2019

TheBestPessimist added a commit that referenced this issue Jun 5, 2019

TheBestPessimist added a commit that referenced this issue Jun 5, 2019

TheBestPessimist added a commit that referenced this issue Jun 5, 2019

TheBestPessimist added a commit that referenced this issue Jun 5, 2019

TheBestPessimist added a commit that referenced this issue Jun 5, 2019

TheBestPessimist added a commit that referenced this issue Jun 7, 2019

TheBestPessimist added a commit that referenced this issue Jun 7, 2019

TheBestPessimist added a commit that referenced this issue Jun 7, 2019

TheBestPessimist added a commit that referenced this issue Jun 7, 2019

TheBestPessimist added a commit that referenced this issue Jun 7, 2019

TheBestPessimist added a commit that referenced this issue Jun 7, 2019

TheBestPessimist added a commit that referenced this issue Jun 7, 2019

TheBestPessimist added a commit that referenced this issue Jun 7, 2019

TheBestPessimist added a commit that referenced this issue Jun 7, 2019

TheBestPessimist added a commit that referenced this issue Jun 7, 2019

TheBestPessimist added a commit that referenced this issue Jun 7, 2019

TheBestPessimist added a commit that referenced this issue Jun 7, 2019

metas-ts added a commit that referenced this issue Jun 7, 2019

Seperate eMail Text for Notifications #5233 (#5270)
Seperate eMail Text for Notifications #5233

metas-ts added a commit that referenced this issue Jun 7, 2019

metas-ts added a commit that referenced this issue Jun 7, 2019

@metas-ts metas-ts changed the title Seperate eMail Text for Notifications Separate eMail Text for Notifications Jun 14, 2019

metas-ts added a commit that referenced this issue Jun 14, 2019

5233-app - Separate eMail Text for Notifications
sending notification to subject matter contacts as supposed to the defaul contact
#5233

(cherry picked from commit ec40218881a5faed2db5e2df1c9a29395be128b7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.