IDR/Imaging


  • IDR recognizes currency from image file in following order
    1.  Defaulting of currency from PO has the highest precedence
    2. Recognize the currency symbol (e..g €) available on the Image
    3. If currency symbol is not available then look for currency code (e.g. EUR)
    4. If no currency symbol/code found on the image then use the currency from supplier address (country)
    5. If IDR did not predict any currency, then currency setup at supplier site would be used.
    6. If IDR did not predict any currency, and currency not setup at supplier site level, then it would use the currency setup at business unit level.
Duplicate invoices: 
  • Routing attribute 5 corresponds to Doc ID. 
  • Doc id is unique ID for invoice in a attachment.
  • APXIDRINT 
    • Maintain Intelligent Document Recognition Service for Payables 
    • SuppliersExtractJob.java
  • Hybridization
  • Cimification

Import process Schedule with IMAGE source will submit Supplier push job after migration date

Case 1: Source = IMAGE && No IDR setup data && Migration date <= sysdate  --> Job will be submitted to activate IDR
Case 2: Source = IMAGE && IDR setup is created && No Supplier Push job scheduled  --> Job will be submitted to create schedule

IdrSetupOptionUtil
SuppliersExtractJob.java
IdrSetupOptionUtil.java
ap_utilities_pkg.java

 Import Process 

  • Invoke APXIDRINT job when following conditions are met  
    • Source = IMAGE 
    • No records in IDR Setup Options table
    • If OCI environment, then verify if ECAUDIT.OCI_MIGRATION_DATE <= sysdate
      • SELECT TO_DATE(MIN(ECACTIONDATATEXT2),'||'''DD/MM/RRRR'''||') 
        FROM ECAUDIT WHERE ECACTIONID = -4
        AND ECACTIONDATATEXT1 IN ('OCI_MIGRATION_DATE','HYBRID_MIGRATION_DATE');
        • adhoc APXIDRINT job will be invoked with parameters IDR, UPG, UPG_ACTIVATE
    • If non-OCI environment, then verify if ECAUDIT.HYBRID_MIGRATION_DATE <= sysdate
      • adhoc APXIDRINT job will be invoked with parameters IDR, UPG, UPG_ACTIVATE
      • 'IDR','DEVOPS','SCHEDULE_JOB');
        erpintegrationservice
        1) only to submit supplier extract once - pass only IDR-> only internal purpose
        2) submit supplier extract in upg mode -> activate IDR & schedule supplier extract job( when it is not there in migration list & oci migration date not updated in ecaudit)
        once customer migrates to oci- ecaudit table is not accessible.
         

APXIDRINT(Supplier Extract Job) SuppliersExtractJob.java

  • Can be submitted with 3 params 
    • processorType(IDR)
    • specialOperation (NULL, UPG,DevOps)
    • specialOperationValue (UPG_ACTIVATE)
  • doPreProcessingChecks(processorType, specialOperation, specialOperationValue, ctx.getRequestId());
    • SpecialOperation is Blank
      • Check for user FIIS
      • Check the data in idr_options table. Throw exception if record doesn't exists
      • Proceed if IDR options record exists
    • SpecialOperation is Upg Mode
      • Throw error if submitter <> FIIS user 
      • Proceed if IDR options record exists else throw exception
    • SpecialOperation is DevOps Mode
      • User check
    • ProcessorType is Image processor(IDR)
      • construct endPointURL
  • If special operations is UPG mode OR special operation value is ACTIVATEUI MODE
    • IF SpecialOperation is Blank & SpecialOperationValue is IDRActivateUI
      • Check if schedule exists if not Create one
    • Else invoice UPGRADE process
      • Insert into idr_setup_options
      • Check if schedule exists if not Create one
  • if special operation is DEVOPS
    • devOpsOperationAction.startsWith("OPTIN_LOOKUP_TYPE")) 
      •  
    • devOpsOperationAction.startsWith("OPTIN_LOOKUP_TYPE")) {
    • devOpsOperationAction.startsWith("OPTIN_LOOKUP_TYPE")) {

Comments

Popular posts from this blog

SOAP Services

API for Reports & UCM

SCM