zdavatz / amiko-osx

AmiKo Desitin for AmiKo OS X
https://apps.apple.com/ch/app/amiko-desitin/id708142753?mt=12
GNU General Public License v3.0
3 stars 2 forks source link

Save invoice & response xml to specified folder #234

Closed b123400 closed 3 years ago

b123400 commented 3 years ago

231

The suggested Dir should be ~/medidata_invoice_xml The suggested Dir should be ~/medidata_invoice_response_xml

We cannot set a default directory, due to the design of App Sandbox. Anyway the user can select a folder to save the files. If the user does not choose any folder, nothing will be saved.

The filenames of the invoice and invoice response xml should be the same like the amk file.

The AMK filename will be used, but if it's not found (e.g. the user deleted the AMK after uploading to Medidata, or another user of the same GLN has uploaded the AMK file to Medidata), the transmission reference will be used.