Allows for generating a Functional Acknowledgment file to have it indicate that the Functional Group of the EDI file being checked for syntactical errors, should be accepted even if syntactical errors are found.
Syntax:
Parameters:
Returns
Returns TRUE if functional group that has been checked for syntactical errors should be accepted even if errors are found, FALSE if not.
Remarks
When an EDI file is loaded into FREDI, it is automatically checked for syntactical correctness based on the controlling standard of the EDI, which is specified by the Standard Reference or the schema. The Functional Acknowledgment is X12 standard for representing, as an EDI file, the errors discovered in the Functional Group semantic group of an EDI file. Normally, the receiver has a choice whether the functional group in the file is either accepted or rejected when errors are found. This is indicated in the Functional Group Acknowledgment Code (data element 715 ) in the data segment AK9. By default, the value “R” is used to indicate that a Functional Group in the EDI file is rejected when errors are found. If Functional Groups in the EDI file should be accepted even with errors then this property should be set to TRUE, which will then use the value of “E” to indicate that the Functional Group was accepted even when errors were found.
Use of this property is similar to using the OptAcknowledgment_AcceptGroupWithErrors constant in the Option property.
Example
Set oEdiDoc = New Fredi.ediDocument
Set oAck = oEdiDoc.GetAcknowledgment
oAck.EnableFunctionalAcknowledgment = True
oAck.AcceptSetWithErrors = True
oAck.AcceptGroupWithErrors = True
oEdiDoc.LoadSchema sPath & "850.SEF", 0
oEdiDoc.LoadEdi sPath & sEdiFile