User Tools

Site Tools


airs-1724

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
airs-1724 [2019/05/14 15:46] – [TODO] kalaschnikowairs-1724 [2019/05/15 08:53] (current) – [TODO] kalaschnikow
Line 1: Line 1:
 +====== AIRS-1724 Concession - Attachment size limitation per NCR ======
 +
 +[[https://tasks.supplyon.de/browse/AIRS-1724|AIRS-1724 Concession - Attachment size limitation per NCR]]\\ 
 +[[https://doc.supplyon.de/pages/viewpage.action?spaceKey=S10058&title=Concession+-+Attachment+size+limitation+per+NCR|Spec in Confluence]]
 +
 +
 +===== Acceptance Criteria =====
 +  - **-** The maximum filesize for one single attachment for the Convession process can be configured per customer company (legal entity)
 +  - **-** The total maximum attachments size for one single NCR object can be configured per customer company (legal entity)
 +  - **-** The maximum size of attachments that can be stored in one NCR object is set to 1 GB
 +  - **-** The maximum size of a single attachment is set to 20 MB
 +
 +===== TODO =====
 +Make attachment configs customer "legal entity"-dependent
 +
 +  * **+** What is "legal entity"? -> Org Id
 +  * **+** ''""+procData.getCustomerCGId()'' as Type ? -> No
 +
 +
 +  * **-** ''NCRAttachmentUploadScreen'' -> screen where the upload takes place
 +  * **-** ''NCRXMLImportUtil'' -> fetches configuration for NCR import
 +
 +
 +The following config params are related:
 +  * MAX_ATTACHMENT_MESSAGE_SIZE_NCR -> max. Größe pro NCR Nachricht
 +  * MAX_ATTACHMENT_FILE_SIZE_NCR -> max. Größe pro Attachment
 +
 +===== Misc =====
 +
 +==== Beispiel aus PO-Prozess ====
 +
 +<code java>
 +boolean bundlingEnabledForCG = (new Config(IPOConstants.CLIENT_ID)).getBoolean(IPOConstants.CONFIG_PO_RESPONSE_BUNDLING_ENABLED_FOR_CGID, ""+procData.getCustomerCGId(), false);
 +</code>
 +
 +==== Legal Entity holen ====
 +
 +''NCRHeaderModel.getRelation().getCustomerOrgId()'' holt die Customer Org Id (=Legal Entity)