Skip to content

Commit f77752b

Browse files
committed
BS-4116: multiple changes to the added requests (URL, dates corrected)
1 parent 094e2c5 commit f77752b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

IntegrationDevelopment/Help/IntegrationDevelopmentGuide.postman_collection.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10309,10 +10309,10 @@
1030910309
" const jsonResponse = pm.response.json();\r",
1031010310
" pm.expect(jsonResponse.Details[0].Allocations).to.has.lengthOf(2);\r",
1031110311
"});\r",
10312-
"pm.test(\"Expiration date is 2024-04-25\", function (){\r",
10312+
"pm.test(\"Expiration date is 2026-12-25\", function (){\r",
1031310313
" const jsonResponse = pm.response.json();\r",
1031410314
" pm.expect(jsonResponse.Details[0].Allocations[0].LotSerialNbr.value).to.eql('a');\r",
10315-
" pm.expect(jsonResponse.Details[0].Allocations[0].ExpirationDate.value).to.eql('2024-04-25T00:00:00+00:00');\r",
10315+
" pm.expect(jsonResponse.Details[0].Allocations[0].ExpirationDate.value).to.eql('2026-12-25T00:00:00+00:00');\r",
1031610316
"});\r",
1031710317
"//Sign out\r",
1031810318
"var url = pm.collectionVariables.get('InstanceURL');\r",
@@ -10359,7 +10359,7 @@
1035910359
],
1036010360
"body": {
1036110361
"mode": "raw",
10362-
"raw": "{\r\n \"Type\": {\"value\": \"Receipt\"},\r\n \"VendorID\": {\"value\": \"GOODFRUITS\"},\r\n \"CreateBill\": {\"value\": \"False\"},\r\n \"Description\": {\"value\": \"Test receipt with Expiration Date in Allocations\"},\r\n \"Details\": [\r\n {\r\n \"Branch\": {\"value\": \"HEADOFFICE\"},\r\n \"InventoryID\": {\"value\": \"ORANGES\"},\r\n \"ReceiptQty\": {\"value\": 2},\r\n \"Warehouse\": {\"value\": \"WHOLESALE\"},\r\n \"LotSerialNbr\": {\"value\": \"\"},\r\n \"ExpirationDate\": {\"value\": \"\"},\r\n \"Allocations\": [\r\n {\r\n \"Location\": {\"value\": \"MAIN\"},\r\n \"Qty\": {\"value\": 1},\r\n \"LotSerialNbr\": {\"value\": \"a\"},\r\n \"ExpirationDate\": {\"value\": \"2025-04-25\"}\r\n },\r\n {\r\n \"Location\": {\"value\": \"MAIN\"},\r\n \"Qty\": {\"value\": 1},\r\n \"LotSerialNbr\": {\"value\": \"b\"},\r\n \"ExpirationDate\": {\"value\": \"2025-04-27\"}\r\n }\r\n ]\r\n }\r\n ]\r\n}"
10362+
"raw": "{\r\n \"Type\": {\"value\": \"Receipt\"},\r\n \"VendorID\": {\"value\": \"GOODFRUITS\"},\r\n \"CreateBill\": {\"value\": \"False\"},\r\n \"Description\": {\"value\": \"Test receipt with Expiration Date in Allocations\"},\r\n \"Details\": [\r\n {\r\n \"Branch\": {\"value\": \"HEADOFFICE\"},\r\n \"InventoryID\": {\"value\": \"ORANGES\"},\r\n \"ReceiptQty\": {\"value\": 2},\r\n \"Warehouse\": {\"value\": \"WHOLESALE\"},\r\n \"LotSerialNbr\": {\"value\": \"\"},\r\n \"ExpirationDate\": {\"value\": \"\"},\r\n \"Allocations\": [\r\n {\r\n \"Location\": {\"value\": \"MAIN\"},\r\n \"Qty\": {\"value\": 1},\r\n \"LotSerialNbr\": {\"value\": \"a\"},\r\n \"ExpirationDate\": {\"value\": \"2026-12-25\"}\r\n },\r\n {\r\n \"Location\": {\"value\": \"MAIN\"},\r\n \"Qty\": {\"value\": 1},\r\n \"LotSerialNbr\": {\"value\": \"b\"},\r\n \"ExpirationDate\": {\"value\": \"2026-12-27\"}\r\n }\r\n ]\r\n }\r\n ]\r\n}"
1036310363
},
1036410364
"url": {
1036510365
"raw": "{{EndpointURL}}PurchaseReceipt?$expand=Details,Details/Allocations",
@@ -16448,7 +16448,7 @@
1644816448
{
1644916449
"id": "a36b8ebc-f8f4-4240-b0bb-ad397c164784",
1645016450
"key": "ManufacturingEndpointURL",
16451-
"value": "{{ManufacturingInstanceURL}}entity/MANUFACTURING/25.100.001/"
16451+
"value": "{{InstanceURL}}entity/MANUFACTURING/25.100.001/"
1645216452
},
1645316453
{
1645416454
"id": "3323bf73-3783-4062-ae81-f19c55eb386c",

0 commit comments

Comments
 (0)