Skip to content

Commit c4064b1

Browse files
committed
BS-4116: change dates in production order detail
1 parent 4debbb6 commit c4064b1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

IntegrationDevelopment/Help/IntegrationDevelopmentGuide.postman_collection.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8926,13 +8926,13 @@
89268926
" const jsonResponse = pm.response.json();\r",
89278927
" pm.expect(jsonResponse.SchedulingMethod.value).to.eql('User Dates');\r",
89288928
"});\r",
8929-
"pm.test(\"Start date is 2025-01-08\", function (){\r",
8929+
"pm.test(\"Start date is 2026-12-08\", function (){\r",
89308930
" const jsonResponse = pm.response.json();\r",
8931-
" pm.expect(jsonResponse.StartDate.value).to.eql('2025-01-08T00:00:00+00:00');\r",
8931+
" pm.expect(jsonResponse.StartDate.value).to.eql('2026-12-08T00:00:00+00:00');\r",
89328932
"});\r",
8933-
"pm.test(\"End date is 2025-01-30\", function (){\r",
8933+
"pm.test(\"End date is 2026-12-30\", function (){\r",
89348934
" const jsonResponse = pm.response.json();\r",
8935-
" pm.expect(jsonResponse.EndDate.value).to.eql('2025-01-30T00:00:00+00:00');\r",
8935+
" pm.expect(jsonResponse.EndDate.value).to.eql('2026-12-30T00:00:00+00:00');\r",
89368936
"});\r",
89378937
"//Sign out and set the next request\r",
89388938
"var url = pm.collectionVariables.get('InstanceURL');\r",
@@ -8977,7 +8977,7 @@
89778977
],
89788978
"body": {
89798979
"mode": "raw",
8980-
"raw": "{\r\n \"EndDate\": {\r\n \"value\": \"2025-01-30T00:00:00+00:00\"\r\n },\r\n \"OrderType\": {\r\n \"value\": \"RO\"\r\n },\r\n \"ProductionNbr\": {\r\n \"value\": \"AM000037\"\r\n },\r\n \"SchedulingMethod\": {\r\n \"value\": \"User Dates\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2025-01-08T00:00:00+00:00\"\r\n },\r\n \"Operations\": [\r\n {\r\n \"id\": \"798e7128-ac8a-ec11-817b-9b18f6aae9b8\",\r\n \"OperationNbr\": {\r\n \"value\": \"0010\"\r\n },\r\n \"WorkCenter\": {\r\n \"value\": \"WC70\"\r\n },\r\n \"EndDate\": {\r\n \"value\": \"2025-01-30T00:00:00+00:00\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2025-01-08T00:00:00+00:00\"\r\n }\r\n },\r\n {\r\n \"id\": \"838e7128-ac8a-ec11-817b-9b18f6aae9b8\",\r\n \"OperationNbr\": {\r\n \"value\": \"0030\"\r\n },\r\n \"WorkCenter\": {\r\n \"value\": \"WC10\"\r\n },\r\n \"EndDate\": {\r\n \"value\": \"2025-01-30T00:00:00+00:00\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2025-01-08T00:00:00+00:00\"\r\n }\r\n }\r\n ]\r\n}"
8980+
"raw": "{\r\n \"EndDate\": {\r\n \"value\": \"2026-12-30T00:00:00+00:00\"\r\n },\r\n \"OrderType\": {\r\n \"value\": \"RO\"\r\n },\r\n \"ProductionNbr\": {\r\n \"value\": \"AM000037\"\r\n },\r\n \"SchedulingMethod\": {\r\n \"value\": \"User Dates\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2026-12-08T00:00:00+00:00\"\r\n },\r\n \"Operations\": [\r\n {\r\n \"id\": \"798e7128-ac8a-ec11-817b-9b18f6aae9b8\",\r\n \"OperationNbr\": {\r\n \"value\": \"0010\"\r\n },\r\n \"WorkCenter\": {\r\n \"value\": \"WC70\"\r\n },\r\n \"EndDate\": {\r\n \"value\": \"2026-12-30T00:00:00+00:00\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2026-12-08T00:00:00+00:00\"\r\n }\r\n },\r\n {\r\n \"id\": \"838e7128-ac8a-ec11-817b-9b18f6aae9b8\",\r\n \"OperationNbr\": {\r\n \"value\": \"0030\"\r\n },\r\n \"WorkCenter\": {\r\n \"value\": \"WC10\"\r\n },\r\n \"EndDate\": {\r\n \"value\": \"2026-12-30T00:00:00+00:00\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2026-12-08T00:00:00+00:00\"\r\n }\r\n }\r\n ]\r\n}"
89818981
},
89828982
"url": {
89838983
"raw": "{{ManufacturingEndpointURL}}ProductionOrderDetail?$expand=Operations",

0 commit comments

Comments
 (0)