The root cause here involves multiple synchronization points that need to be coordinated for proper FAI document generation. Let me address each focus area systematically:
Drawing Revision Locking Mechanism:
Implement a pre-inspection workflow step that enforces revision lock status verification. Configure a validation rule in your audit management module that prevents inspection sheet creation unless the referenced drawing revision has a LOCKED status in document control. This prevents mid-process revision changes that break balloon reference integrity.
Balloon Sequence Preservation in Exports:
The PDF export utility needs explicit configuration to handle custom balloon sequence fields. Modify your inspection sheet template to use a dedicated balloon reference table rather than inline custom fields. Create a related object structure: InspectionPoint → BalloonReference → DrawingRevision. This ensures the export utility can traverse the relationship chain properly.
Configuration approach:
// Inspection sheet template config
balloon.reference.mode=RELATED_OBJECT
balloon.sequence.source=DRAWING_REVISION_LOCKED
export.include.related.balloons=true
CMM Data Synchronization Timing:
Implement a synchronization checkpoint pattern. Add a workflow state between CMM data import and PDF generation. The state transition should include a validation script that verifies all calculated fields (including balloon sequences) have completed their updates. Use a field-level timestamp comparison - only proceed to PDF generation when all balloon reference fields show update timestamps after the CMM import completion timestamp.
BOM Specification Capture in Accountability Checklist:
The incomplete BOM data suggests your accountability checklist is querying BOM specifications before the drawing revision lock propagates to related BOM records. Solution: Configure the accountability checklist template to pull BOM data from the locked revision snapshot, not from live BOM queries. In TW 9.0, use the revision snapshot API:
// Pull BOM from locked revision
RevisionSnapshot snapshot = drawing.getLockedRevision();
BOMSpec bomData = snapshot.getBOMSpecification();
checklistItem.setBOMReference(bomData);
Inspection Sheet Template Configuration:
Your template needs three critical configuration updates:
- Set field resolution priority to ensure balloon references resolve before export
- Configure the PDF renderer to wait for all async field updates (increase timeout to 10000ms minimum)
- Add a pre-export validation hook that verifies balloon sequence completeness
Update your export utility configuration file:
export.field.resolution=PRE_RENDER_WITH_VALIDATION
export.calculated.fields.wait=true
export.sync.timeout=10000
export.validation.hook=BalloonSequenceValidator
Create a custom validator class that checks balloon sequence completeness before allowing PDF generation. This prevents partial exports.
Implementation Steps:
- Update drawing revision workflow to enforce hard locks before inspection
- Reconfigure inspection sheet template to use related object structure for balloon references
- Add synchronization checkpoint workflow state with validation script
- Modify accountability checklist to use revision snapshot API for BOM data
- Update PDF export utility configuration with extended timeout and validation hook
- Test full workflow: lock drawing → create inspection sheet → import CMM data → validate sync → generate PDF
This comprehensive approach ensures all data synchronization completes before PDF generation, preserving balloon numbering and BOM specifications for AS9102 compliance. The key is moving from inline field references to a structured relationship model that the export utility can reliably traverse.