Business Rule
3.2.1.1 The program rejects the record with error reason and updates process status to be ‘2-Processed with Error’ in interface table when
• Site code
o Site Code is blank or null value.
o Site code is note equal 5 digit.
o Site code is not existed in the system.
• Vendor Code
o Vendor code is blank and null value.
o Vendor code is not existed in the system.
o Vendor is not link with the site.
• Confirm Return Document No.
o Confirmed Returning Document No. is blank or null value.
o The Confirmed Returning No. is not existed in specific Site code.
o The Confirmed Returning No. is not belong to specific Vendor.
o The Confirmed Returning No. refers to more than one Credit note memo.
• There is the existing Credit note refer to specific confirmed returning report in the system.
o The existed Credit Note is the Credit Note which created by program uploading and user already maintained (upload date is not equal update date) credit note information.
o The existed Credit Note is the Credit Note which created by manually on screen.
3.2.1.2 For error record, system does not create any Credit note into Invoice/Credit note table (MIMIVCN)
3.2.1.3 System will generate one Credit Note for one confirmed returning report no.
3.2.1.4 Purchase Amount and Vat Amount retrieve from confirmed returning document.
3.2.1.5 Program will default the status of Credit Note to be ‘Invalid’ to avoid matching by automatic invoice matching daily batch process.
3.2.1.6 In case that, there is existed Credit Note which refers to specific confirmed returning document in the system and Credit Note is created by program uploading and not yet maintain, then the program will update Credit Note information without rejection.
3.2.1.7 There is a new filed to keep uploaded date & time for each credit note which this field is updated when upload the file. This filed use for checking the credit note was created by uploading or not. If there is the uploaded date & time then the credit note was created by uploading. Otherwise, the credit note was created manually on credit note maintenance screen. However, this field will not display on the screen.