Você está na página 1de 6

Attachment validation classes and entities:

Classes:

AMClaimValidationCheckAttachedDevice (page2): Class that validates if there is an


attachment of any type (for the device)

AMClaimValidationCheckAttachedDoc (page 3): Class that validates if there is an attachment of


any type (for the header of the claim)

Entities:

AMClaimValEntity_AttachedDocsClaimLine (page 4): Entity that validates the attachments from


the claim trans (lines) warranty lines and returns in the infolog the details of the lines that
passed or failed the validation check.

AMClaimValidationEntity_AttachedDocs (page 6): Generic entity that can validate attachments


type (Attachment record should exist) in the Claim header tables (RefTableId 25097), Claim lines
trans (RefTableId 25098), Device (RefTableId 25168)
AMClaimValidationCheckAttachedDevice: Class that validates if there is an attachment of any type
(for the device)

If attachment is missing
AMClaimValidationCheckAttachedDoc: Class that validates if there is an attachment of any type (for the
header of the claim)

If attachment is missing (any type)


AMClaimValEntity_AttachedDocsClaimLine (page 4): Entity that validates the attachments from the
claim trans (lines) warranty lines and returns in the infolog the details of the lines that passed or failed
the validation check.

1. Check example to using two entities using “AND” logic. e.g. to validate if the claim line has a
image attachment when image is required.

AND Check box enabled: Since two or more entities will be used in conjunction.
AMClaimValEntity_AttachedDocsClaimLine entity compare: attachment type image does not exists
AMClaimValidationEntity_ClaimTrans entity compare: Picture required is Yes

1.2. Validate Claim JCO-0299-001 with 2 lines


Line 1 Picture required: Yes Attachment: No (Expected result fail)
Line 2 Picture required: Yes Attachment: DAF (Expected result fail)
Infolog includes details per line (Details include line number pass/fail and transaction type)
since AMClaimValEntity_AttachedDocsClaimLine is used.
AMClaimValidationEntity_AttachedDocs: Generic entity that can validate attachments type
(Attachment record should exist) in the Claim header tables (RefTableId 25097), Claim lines trans
(RefTableId 25098), Device (RefTableId 25168)

This example looks if the attachment type is Image (if not will fail)

Você também pode gostar