uat-seed-script

This commit is contained in:
phaichayon
2026-06-30 10:48:15 +07:00
parent e4573ac0c9
commit e12ae120b0
31 changed files with 1791 additions and 314 deletions

View File

@@ -1,10 +1,10 @@
{
"audit": "payload-parity",
"overallStatus": "PASS",
"quotationCode": "QT2606-1122",
"previewHash": "c3cc553fc210355e7f54726b414e7030be0a64604f6a175499e0b3787aef31a1",
"generationHash": "c3cc553fc210355e7f54726b414e7030be0a64604f6a175499e0b3787aef31a1",
"snapshotHash": "c3cc553fc210355e7f54726b414e7030be0a64604f6a175499e0b3787aef31a1",
"quotationCode": "CR2606-1124",
"previewHash": "a55689ba304d5b0b2b9f6d94ca943b21233eb790de8f9b631a0ecb03ffa699d7",
"generationHash": "a55689ba304d5b0b2b9f6d94ca943b21233eb790de8f9b631a0ecb03ffa699d7",
"snapshotHash": "a55689ba304d5b0b2b9f6d94ca943b21233eb790de8f9b631a0ecb03ffa699d7",
"mismatches": [],
"comparableFieldCount": 31,
"topicInputKeyCount": 6,

View File

@@ -3,8 +3,8 @@
"overallStatus": "PASS",
"results": [
{
"templateName": "ONVALLA Quotation Standard",
"organizationId": "6bf90327-2ce9-4831-93bb-e8d026699ff2",
"templateName": "ALLA Demo Organization Quotation Standard",
"organizationId": "daf796fc-4588-5240-a27e-9bfef0739658",
"version": "1.0",
"duplicateFieldNames": [],
"typoFields": [],
@@ -13,18 +13,6 @@
"invalidReservedMappings": [],
"missingReservedFields": [],
"status": "PASS"
},
{
"templateName": "ALLA Quotation Standard",
"organizationId": "d5c46139-9af4-421b-9395-d83620c62f9b",
"version": "2.1",
"duplicateFieldNames": [],
"typoFields": [],
"unmappedPlaceholders": [],
"deadMappings": [],
"invalidReservedMappings": [],
"missingReservedFields": [],
"status": "PASS"
}
]
}

View File

@@ -2,51 +2,51 @@
"audit": "runtime-payload",
"overallStatus": "PASS",
"staticLabelsStatus": "PASS",
"quotationCode": "QT2606-1122",
"templateName": "ALLA Quotation Standard",
"templateVersion": "2.1",
"quotationCode": "CR2606-1124",
"templateName": "ALLA Demo Organization Quotation Standard",
"templateVersion": "1.0",
"findingCount": 168,
"findings": [
{
"field": "documentData.company.id",
"source": "documentData",
"status": "PASS",
"value": "d5c46139-9af4-421b-9395-d83620c62f9b",
"value": "daf796fc-4588-5240-a27e-9bfef0739658",
"message": "String is populated"
},
{
"field": "documentData.company.name",
"source": "documentData",
"status": "PASS",
"value": "ALLA",
"value": "ALLA Demo Organization",
"message": "String is populated"
},
{
"field": "documentData.customer.id",
"source": "documentData",
"status": "PASS",
"value": "56f1f9a3-6204-4ccc-af0f-5dbf866d5a56",
"value": "96954c53-fd37-4d97-80e0-1809756a015d",
"message": "String is populated"
},
{
"field": "documentData.customer.name",
"source": "documentData",
"status": "PASS",
"value": "บริษัท นอร์ธเทิร์น แมชชีนเนอรี่ ดีลเลอร์ จำกัด",
"value": "มหาวิทยาลัยเทคโนโลยีพระจอมเกล้าพระนครเหนือ",
"message": "String is populated"
},
{
"field": "documentData.customer.address",
"source": "documentData",
"status": "PASS",
"value": "Mueang Chiang Mai, Chiang Mai",
"value": "Bang Sue, Bangkok",
"message": "String is populated"
},
{
"field": "documentData.customer.phone",
"source": "documentData",
"status": "PASS",
"value": "02-400824",
"value": "02-400827",
"message": "String is populated"
},
{
@@ -60,14 +60,14 @@
"field": "documentData.contact.id",
"source": "documentData",
"status": "PASS",
"value": "93843e06-65db-492f-9229-066e6dfdec5d",
"value": "3fc91684-ebed-49a9-b50e-0fb6fdaae87f",
"message": "String is populated"
},
{
"field": "documentData.contact.name",
"source": "documentData",
"status": "PASS",
"value": "คุณกิตติพงศ์ สุวรรณ",
"value": "คุณวราภรณ์ เกษมศรี",
"message": "String is populated"
},
{
@@ -81,56 +81,56 @@
"field": "documentData.contact.mobile",
"source": "documentData",
"status": "PASS",
"value": "0810000220",
"value": "0810000250",
"message": "String is populated"
},
{
"field": "documentData.contact.position",
"source": "documentData",
"status": "PASS",
"value": "Plant Manager",
"value": "Procurement Manager",
"message": "String is populated"
},
{
"field": "documentData.quotation.id",
"source": "documentData",
"status": "PASS",
"value": "7dc0630b-e27d-4696-803a-d93f51bb9804",
"value": "bb3ebe66-a0ed-4b48-b125-795b549fa798",
"message": "String is populated"
},
{
"field": "documentData.quotation.code",
"source": "documentData",
"status": "PASS",
"value": "QT2606-1122",
"value": "CR2606-1124",
"message": "String is populated"
},
{
"field": "documentData.quotation.projectName",
"source": "documentData",
"status": "PASS",
"value": "Dealer Stock Crane Package",
"value": "Material Handling Lab Crane",
"message": "String is populated"
},
{
"field": "documentData.quotation.projectLocation",
"source": "documentData",
"status": "PASS",
"value": "Chiang Mai Service Warehouse",
"value": "Bang Sue Engineering Faculty",
"message": "String is populated"
},
{
"field": "documentData.quotation.attention",
"source": "documentData",
"status": "PASS",
"value": "คุณกิตติพงศ์ สุวรรณ",
"value": "คุณวราภรณ์ เกษมศรี",
"message": "String is populated"
},
{
"field": "documentData.quotation.reference",
"source": "documentData",
"status": "PASS",
"value": "crm-uat-seed-v1:dealer-channel-approved",
"value": "crm-uat-seed-v1:university-lab-crane-approved",
"message": "String is populated"
},
{
@@ -151,14 +151,14 @@
"field": "documentData.quotation.subtotal",
"source": "documentData",
"status": "PASS",
"value": 4418000,
"value": 3008000,
"message": "Scalar value is populated"
},
{
"field": "documentData.quotation.totalAmount",
"source": "documentData",
"status": "PASS",
"value": 4585442,
"value": 3122003,
"message": "Scalar value is populated"
},
{
@@ -172,7 +172,7 @@
"field": "documentData.items[0].id",
"source": "documentData",
"status": "PASS",
"value": "7b2a99ab-5106-4ab1-b611-cd63957aa38f",
"value": "ab4102fc-7ad9-4338-aee2-b847c10dbf15",
"message": "String is populated"
},
{
@@ -186,7 +186,7 @@
"field": "documentData.items[0].description",
"source": "documentData",
"status": "PASS",
"value": "Main equipment supply for Dealer Stock Crane Package",
"value": "Main equipment supply for Material Handling Lab Crane",
"message": "String is populated"
},
{
@@ -207,7 +207,7 @@
"field": "documentData.items[0].unitPrice",
"source": "documentData",
"status": "PASS",
"value": 2521993,
"value": 1717102,
"message": "Scalar value is populated"
},
{
@@ -221,14 +221,14 @@
"field": "documentData.items[0].totalPrice",
"source": "documentData",
"status": "PASS",
"value": 2521993,
"value": 1717102,
"message": "Scalar value is populated"
},
{
"field": "documentData.items[1].id",
"source": "documentData",
"status": "PASS",
"value": "cc058b8e-2ce1-4e66-a72c-6c40474cf962",
"value": "9c320ba4-cf4b-4b3b-b72e-c588c8723384",
"message": "String is populated"
},
{
@@ -242,7 +242,7 @@
"field": "documentData.items[1].description",
"source": "documentData",
"status": "PASS",
"value": "Installation and commissioning for Dealer Stock Crane Package",
"value": "Installation and commissioning for Material Handling Lab Crane",
"message": "String is populated"
},
{
@@ -263,7 +263,7 @@
"field": "documentData.items[1].unitPrice",
"source": "documentData",
"status": "PASS",
"value": 1283924,
"value": 874161,
"message": "Scalar value is populated"
},
{
@@ -277,14 +277,14 @@
"field": "documentData.items[1].totalPrice",
"source": "documentData",
"status": "PASS",
"value": 1283924,
"value": 874161,
"message": "Scalar value is populated"
},
{
"field": "documentData.items[2].id",
"source": "documentData",
"status": "PASS",
"value": "9436e5e6-6dc7-4fa6-bf8a-da2727992680",
"value": "7f64760c-65d6-4b23-9921-4a33d43a2efc",
"message": "String is populated"
},
{
@@ -298,7 +298,7 @@
"field": "documentData.items[2].description",
"source": "documentData",
"status": "PASS",
"value": "Operator training and documentation for Dealer Stock Crane Package",
"value": "Operator training and documentation for Material Handling Lab Crane",
"message": "String is populated"
},
{
@@ -319,7 +319,7 @@
"field": "documentData.items[2].unitPrice",
"source": "documentData",
"status": "PASS",
"value": 458544,
"value": 312200,
"message": "Scalar value is populated"
},
{
@@ -333,14 +333,14 @@
"field": "documentData.items[2].totalPrice",
"source": "documentData",
"status": "PASS",
"value": 458544,
"value": 312200,
"message": "Scalar value is populated"
},
{
"field": "documentData.items[3].id",
"source": "documentData",
"status": "PASS",
"value": "63d82897-1660-4f49-b0d1-fddb9712922f",
"value": "4b5a4cef-3005-4253-9638-8c3cc9fade15",
"message": "String is populated"
},
{
@@ -354,7 +354,7 @@
"field": "documentData.items[3].description",
"source": "documentData",
"status": "PASS",
"value": "Project management and testing for Dealer Stock Crane Package",
"value": "Project management and testing for Material Handling Lab Crane",
"message": "String is populated"
},
{
@@ -375,7 +375,7 @@
"field": "documentData.items[3].unitPrice",
"source": "documentData",
"status": "PASS",
"value": 320981,
"value": 218540,
"message": "Scalar value is populated"
},
{
@@ -389,7 +389,7 @@
"field": "documentData.items[3].totalPrice",
"source": "documentData",
"status": "PASS",
"value": 320981,
"value": 218540,
"message": "Scalar value is populated"
},
{
@@ -403,21 +403,21 @@
"field": "documentData.quotationCustomers[0].id",
"source": "documentData",
"status": "PASS",
"value": "7a20818a-48a1-4eed-a779-ac5ec9d6159b",
"value": "04ff8d80-b200-4c01-8081-24d548a2a576",
"message": "String is populated"
},
{
"field": "documentData.quotationCustomers[0].customerId",
"source": "documentData",
"status": "PASS",
"value": "56f1f9a3-6204-4ccc-af0f-5dbf866d5a56",
"value": "96954c53-fd37-4d97-80e0-1809756a015d",
"message": "String is populated"
},
{
"field": "documentData.quotationCustomers[0].role",
"source": "documentData",
"status": "PASS",
"value": "09320e31-e8f9-42cd-a3ea-577210f29501",
"value": "a5d93b6c-131b-4e9e-9240-ac94fe12f3d8",
"message": "String is populated"
},
{
@@ -438,7 +438,7 @@
"field": "documentData.topics.all[0].id",
"source": "documentData",
"status": "PASS",
"value": "ef076be2-fbef-444a-b7cf-cc2523e8b7dc",
"value": "58c2d002-1c6f-40c4-b68a-c11ece1fff33",
"message": "String is populated"
},
{
@@ -473,7 +473,7 @@
"field": "documentData.topics.all[0].items[0].content",
"source": "documentData",
"status": "PASS",
"value": "Supply and execute dealer stock crane package according to approved drawing.",
"value": "Supply and execute material handling lab crane according to approved drawing.",
"message": "String is populated"
},
{
@@ -501,7 +501,7 @@
"field": "documentData.topics.all[1].id",
"source": "documentData",
"status": "PASS",
"value": "14f41b98-f9d8-463b-9880-8e96d258a6ba",
"value": "5a069f2d-dfb1-4ec0-9f51-3f9b657e7731",
"message": "String is populated"
},
{
@@ -564,7 +564,7 @@
"field": "documentData.topics.all[2].id",
"source": "documentData",
"status": "PASS",
"value": "54500c11-5f51-49d6-947e-db2f4d689959",
"value": "d16b5a95-d811-4860-9670-596bef0c13df",
"message": "String is populated"
},
{
@@ -634,7 +634,7 @@
"field": "documentData.topics.exclusion[0].id",
"source": "documentData",
"status": "PASS",
"value": "14f41b98-f9d8-463b-9880-8e96d258a6ba",
"value": "5a069f2d-dfb1-4ec0-9f51-3f9b657e7731",
"message": "String is populated"
},
{
@@ -732,14 +732,14 @@
"field": "documentData.pdfme.quotation_date",
"source": "documentData",
"status": "PASS",
"value": "Jun 3, 2026",
"value": "Jun 15, 2026",
"message": "String is populated"
},
{
"field": "documentData.pdfme.quotation_price",
"source": "documentData",
"status": "PASS",
"value": "THB 4,418,000.00",
"value": "THB 3,008,000.00",
"message": "String is populated"
},
{
@@ -802,49 +802,49 @@
"field": "documentData.signatures.preparedBy.name",
"source": "documentData",
"status": "PASS",
"value": "Super Admin",
"value": "Sales Crane UAT",
"message": "String is populated"
},
{
"field": "documentData.signatures.preparedBy.position",
"source": "documentData",
"status": "PASS",
"value": "Sales Manager",
"value": "Sales Engineer",
"message": "String is populated"
},
{
"field": "documentData.signatures.preparedBy.actedAt",
"source": "documentData",
"status": "PASS",
"value": "2026-06-03T09:00:00.000Z",
"value": "2026-06-15T09:00:00.000Z",
"message": "String is populated"
},
{
"field": "documentData.signatures.approvedBy.name",
"source": "documentData",
"status": "PASS",
"value": "Super Admin",
"value": "-",
"message": "String is populated"
},
{
"field": "documentData.signatures.approvedBy.position",
"source": "documentData",
"status": "PASS",
"value": "Sales Manager",
"value": "-",
"message": "String is populated"
},
{
"field": "documentData.signatures.approvedBy.actedAt",
"source": "documentData",
"status": "PASS",
"value": "2026-06-06T10:00:00.000Z",
"message": "String is populated"
"status": "WARNING",
"value": null,
"message": "Value is null"
},
{
"field": "documentData.signatures.authorizedBy.name",
"source": "documentData",
"status": "PASS",
"value": "Super Admin",
"value": "Sales Manager UAT",
"message": "String is populated"
},
{
@@ -858,28 +858,28 @@
"field": "documentData.signatures.authorizedBy.actedAt",
"source": "documentData",
"status": "PASS",
"value": "2026-06-07T09:00:00.000Z",
"value": "2026-06-17T11:00:00.000Z",
"message": "String is populated"
},
{
"field": "templateInput.customer_name",
"source": "templateInput",
"status": "PASS",
"value": "บริษัท นอร์ธเทิร์น แมชชีนเนอรี่ ดีลเลอร์ จำกัด",
"value": "มหาวิทยาลัยเทคโนโลยีพระจอมเกล้าพระนครเหนือ",
"message": "String is populated"
},
{
"field": "templateInput.customer_addr",
"source": "templateInput",
"status": "PASS",
"value": "Mueang Chiang Mai, Chiang Mai",
"value": "Bang Sue, Bangkok",
"message": "String is populated"
},
{
"field": "templateInput.customer_tel",
"source": "templateInput",
"status": "PASS",
"value": "02-400824",
"value": "02-400827",
"message": "String is populated"
},
{
@@ -893,35 +893,35 @@
"field": "templateInput.customer_att",
"source": "templateInput",
"status": "PASS",
"value": "คุณกิตติพงศ์ สุวรรณ",
"value": "คุณวราภรณ์ เกษมศรี",
"message": "String is populated"
},
{
"field": "templateInput.project_name",
"source": "templateInput",
"status": "PASS",
"value": "Dealer Stock Crane Package",
"value": "Material Handling Lab Crane",
"message": "String is populated"
},
{
"field": "templateInput.site_location",
"source": "templateInput",
"status": "PASS",
"value": "Chiang Mai Service Warehouse",
"value": "Bang Sue Engineering Faculty",
"message": "String is populated"
},
{
"field": "templateInput.quotation_date_data",
"source": "templateInput",
"status": "PASS",
"value": "Jun 3, 2026",
"value": "Jun 15, 2026",
"message": "String is populated"
},
{
"field": "templateInput.quotation_code_data",
"source": "templateInput",
"status": "PASS",
"value": "QT2606-1122",
"value": "CR2606-1124",
"message": "String is populated"
},
{
@@ -935,7 +935,7 @@
"field": "templateInput.quotation_price",
"source": "templateInput",
"status": "PASS",
"value": "THB 4,418,000.00",
"value": "THB 3,008,000.00",
"message": "String is populated"
},
{
@@ -984,35 +984,35 @@
"field": "templateInput.app1",
"source": "templateInput",
"status": "PASS",
"value": "Super Admin",
"value": "Sales Crane UAT",
"message": "String is populated"
},
{
"field": "templateInput.app1_position",
"source": "templateInput",
"status": "PASS",
"value": "Sales Manager",
"value": "Sales Engineer",
"message": "String is populated"
},
{
"field": "templateInput.app2",
"source": "templateInput",
"status": "PASS",
"value": "Super Admin",
"value": "-",
"message": "String is populated"
},
{
"field": "templateInput.app2_position",
"source": "templateInput",
"status": "PASS",
"value": "Sales Manager",
"value": "-",
"message": "String is populated"
},
{
"field": "templateInput.app3",
"source": "templateInput",
"status": "PASS",
"value": "Super Admin",
"value": "Sales Manager UAT",
"message": "String is populated"
},
{
@@ -1026,7 +1026,7 @@
"field": "templateInput.quotation_date",
"source": "templateInput",
"status": "PASS",
"value": "Jun 3, 2026",
"value": "Jun 15, 2026",
"message": "String is populated"
},
{
@@ -1075,7 +1075,7 @@
"field": "templateInput.quotation_code",
"source": "templateInput",
"status": "PASS",
"value": "QT2606-1122",
"value": "CR2606-1124",
"message": "String is populated"
},
{
@@ -1138,7 +1138,7 @@
"field": "templateInput.quotation_price_data[0][1]",
"source": "templateInput",
"status": "PASS",
"value": "฿4,418,000.00",
"value": "฿3,008,000.00",
"message": "Price table amount cell is formatted"
},
{

View File

@@ -1,14 +1,14 @@
{
"audit": "approved-snapshot-parity",
"overallStatus": "PASS",
"quotationCode": "QT2606-1122",
"quotationCode": "CR2606-1124",
"approvedSnapshotAvailable": true,
"approvedTemplateVersionId": "86f99414-4656-44a9-9937-8457794dc710",
"computedTemplateVersionId": "86f99414-4656-44a9-9937-8457794dc710",
"approvedTemplateVersionId": "850b13a2-c9ae-4992-89e7-a43f50c34378",
"computedTemplateVersionId": "850b13a2-c9ae-4992-89e7-a43f50c34378",
"inconsistentTemplateKeys": [],
"computedSignatureHash": "72c05979b9a0b0666a06cce5b80dc67fe9c5493eced4366a4cf63785dc415269",
"storedSignatureHash": "72c05979b9a0b0666a06cce5b80dc67fe9c5493eced4366a4cf63785dc415269",
"approvedArtifactReference": "artifact:ec300b87-3710-43a4-a63c-a72168fe3933",
"computedSignatureHash": "922ab2a823f98b032b17da281c86c3a2780d27cca73a60a7b983d14ad039b229",
"storedSignatureHash": "922ab2a823f98b032b17da281c86c3a2780d27cca73a60a7b983d14ad039b229",
"approvedArtifactReference": null,
"refreshedFixtureSnapshot": true,
"usedAuditFixture": false
}

View File

@@ -1,7 +1,7 @@
{
"generatedAt": "2026-06-30T01:35:49.157Z",
"generatedAt": "2026-06-30T02:56:03.783Z",
"overallStatus": "PASS",
"quotationCode": "QT2606-1122",
"quotationCode": "CR2606-1124",
"artifacts": {
"templateVersionReport": "template-version-report.json",
"placeholderIntegrityReport": "placeholder-integrity-report.json",

View File

@@ -1,8 +1,8 @@
# PDF Integrity Summary
- Generated At: 2026-06-30T01:35:49.157Z
- Generated At: 2026-06-30T02:56:03.783Z
- Overall Status: PASS
- Quotation Code: QT2606-1122
- Quotation Code: CR2606-1124
## Statuses

View File

@@ -1,8 +1,8 @@
{
"audit": "template-version-integrity",
"overallStatus": "PASS",
"activeTemplateCount": 2,
"quotationCode": "QT2606-1122",
"activeTemplateCount": 1,
"quotationCode": "CR2606-1124",
"approvedTemplateVersionId": null,
"approvedTemplateVersionIsActive": false,
"issues": []

View File

@@ -1,7 +1,7 @@
{
"audit": "topic-runtime",
"overallStatus": "PASS",
"quotationCode": "QT2606-1122",
"quotationCode": "CR2606-1124",
"topicCount": 3,
"topicInputKeys": [
"topic_1_0",