Created
August 18, 2017 20:55
-
-
Save kidap/a5f1536bde0ae69d98a5e24cd803211e to your computer and use it in GitHub Desktop.
Error uploading BillItemMetaData
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mutation($ubimd_upsertBillItemMetaData: [CreateBillItemMetaData], $idempotentCreateBills_idempotentCreateBills: [CreateBill]) { | |
| bulk(upsertBillItemMetaData: $ubimd_upsertBillItemMetaData, idempotentCreateBills: $idempotentCreateBills_idempotentCreateBills) { | |
| upsertBillItemMetaData { | |
| _ref | |
| } | |
| idempotentCreateBills { | |
| id | |
| _ref | |
| } | |
| didSucceed | |
| userErrors { | |
| paths | |
| devMessage | |
| message | |
| } | |
| } | |
| } | |
| { | |
| "idempotentCreateBills_idempotentCreateBills" : [ | |
| { | |
| "closedAt" : "2017-08-18T20:47:02.064Z", | |
| "taxExempt" : false, | |
| "discountsTotal" : 0, | |
| "organizationID" : "3", | |
| "billItemCount" : 3, | |
| "closedByUserRoleID" : "10", | |
| "taxTotal" : -156, | |
| "orderNumber" : 0, | |
| "billNumber" : 2, | |
| "subtotal" : -1200, | |
| "prefixedUUID" : "170818164702~96EDD56F-DDDF-45E5-B59D-2DC6A2F70B89", | |
| "venueID" : "3", | |
| "billEngineOutputBlob" : "{\n \"discountsTotal\" : 0,\n \"taxExempt\" : false,\n \"salesCategoryTotals\" : [\n {\n \"lineItemPricesTotal\" : -1200,\n \"salesCategoryName\" : \"Beverage\",\n \"salesCategoryID\" : \"4\"\n }\n ],\n \"billEngineVersion\" : \"1.0.0\",\n \"taxTotal\" : -156,\n \"total\" : -1356,\n \"items\" : [\n {\n \"taxableAmount\" : -300,\n \"taxRates\" : [\n {\n \"taxID\" : \"2\",\n \"taxName\" : \"HST\",\n \"taxRate\" : 0.13\n }\n ],\n \"appliedTaxes\" : [\n {\n \"taxName\" : \"HST\",\n \"taxRate\" : 0.13,\n \"total\" : -38,\n \"taxID\" : \"2\"\n }\n ],\n \"revenueCenterID\" : \"1\",\n \"orderedAt\" : \"2017-08-18T14:08:49-0400\",\n \"netSales\" : -300,\n \"salesCategoryName\" : \"Beverage\",\n \"discounts\" : [\n\n ],\n \"salesCategoryID\" : \"4\",\n \"voided\" : false,\n \"menuCategoryID\" : \"5\",\n \"id\" : \"170818140859~EA6856AA-74E9-463C-AA6E-C4E1E0F9F9A0\",\n \"priceRules\" : [\n {\n \"value\" : {\n \"unitPrice\" : 300,\n \"isInclusiveTax\" : false\n },\n \"conditions\" : [\n\n ]\n }\n ],\n \"quantity\" : -1,\n \"menuPageID\" : \"2\",\n \"isInclusiveTax\" : false,\n \"quantityNumerator\" : -1,\n \"unitPrice\" : 300,\n \"menuItemID\" : \"30\",\n \"containsTaxRoundingDifference\" : true,\n \"netSalesWithTax\" : -338,\n \"containsSplitRoundingDifference\" : false,\n \"quantityDenominator\" : 1,\n \"lineItemPrice\" : -300,\n \"discountable\" : true\n },\n {\n \"taxableAmount\" : -450,\n \"taxRates\" : [\n {\n \"taxID\" : \"2\",\n \"taxName\" : \"HST\",\n \"taxRate\" : 0.13\n }\n ],\n \"appliedTaxes\" : [\n {\n \"taxName\" : \"HST\",\n \"taxRate\" : 0.13,\n \"total\" : -59,\n \"taxID\" : \"2\"\n }\n ],\n \"revenueCenterID\" : \"1\",\n \"orderedAt\" : \"2017-08-18T14:08:50-0400\",\n \"netSales\" : -450,\n \"salesCategoryName\" : \"Beverage\",\n \"discounts\" : [\n\n ],\n \"salesCategoryID\" : \"4\",\n \"voided\" : false,\n \"menuCategoryID\" : \"5\",\n \"id\" : \"170818140859~E388F661-EE18-4231-9E8D-D5682378CD6D\",\n \"priceRules\" : [\n {\n \"value\" : {\n \"unitPrice\" : 450,\n \"isInclusiveTax\" : false\n },\n \"conditions\" : [\n\n ]\n }\n ],\n \"quantity\" : -1,\n \"menuPageID\" : \"2\",\n \"isInclusiveTax\" : false,\n \"quantityNumerator\" : -1,\n \"unitPrice\" : 450,\n \"menuItemID\" : \"33\",\n \"containsTaxRoundingDifference\" : false,\n \"netSalesWithTax\" : -509,\n \"containsSplitRoundingDifference\" : false,\n \"quantityDenominator\" : 1,\n \"lineItemPrice\" : -450,\n \"discountable\" : true\n },\n {\n \"taxableAmount\" : -450,\n \"taxRates\" : [\n {\n \"taxID\" : \"2\",\n \"taxName\" : \"HST\",\n \"taxRate\" : 0.13\n }\n ],\n \"appliedTaxes\" : [\n {\n \"taxName\" : \"HST\",\n \"taxRate\" : 0.13,\n \"total\" : -59,\n \"taxID\" : \"2\"\n }\n ],\n \"revenueCenterID\" : \"1\",\n \"orderedAt\" : \"2017-08-18T14:08:51-0400\",\n \"netSales\" : -450,\n \"salesCategoryName\" : \"Beverage\",\n \"discounts\" : [\n\n ],\n \"salesCategoryID\" : \"4\",\n \"voided\" : false,\n \"menuCategoryID\" : \"5\",\n \"id\" : \"170818140859~C8FD6BDE-DA91-4172-AAF6-F80EA29159E5\",\n \"priceRules\" : [\n {\n \"value\" : {\n \"unitPrice\" : 450,\n \"isInclusiveTax\" : false\n },\n \"conditions\" : [\n\n ]\n }\n ],\n \"quantity\" : -1,\n \"menuPageID\" : \"2\",\n \"isInclusiveTax\" : false,\n \"quantityNumerator\" : -1,\n \"unitPrice\" : 450,\n \"menuItemID\" : \"35\",\n \"containsTaxRoundingDifference\" : false,\n \"netSalesWithTax\" : -509,\n \"containsSplitRoundingDifference\" : false,\n \"quantityDenominator\" : 1,\n \"lineItemPrice\" : -450,\n \"discountable\" : true\n }\n ],\n \"subtotal\" : -1200,\n \"appliedTaxes\" : [\n {\n \"taxName\" : \"HST\",\n \"exclusive\" : -156,\n \"inclusive\" : 0,\n \"total\" : -156,\n \"taxID\" : \"2\"\n }\n ],\n \"appliedDiscounts\" : [\n\n ]\n}", | |
| "total" : -1356, | |
| "organizationVersionNumber" : 0, | |
| "closedByUserRoleVersionNumber" : 0, | |
| "orderTypeID" : "1", | |
| "venueVersionNumber" : 0, | |
| "orderTypeVersionNumber" : 0, | |
| "_ref" : "$170818164702~96EDD56F-DDDF-45E5-B59D-2DC6A2F70B89" | |
| } | |
| ], | |
| "ubimd_upsertBillItemMetaData" : [ | |
| { | |
| "prefixedUUID" : "170818163538~54BB1BE7-9E6F-46EE-8E45-97694EB09DE8", | |
| "organizationID" : "3", | |
| "billItemID" : "103", | |
| "organizationVersionNumber" : 0, | |
| "venueVersionNumber" : 0, | |
| "_ref" : "$170818163538~54BB1BE7-9E6F-46EE-8E45-97694EB09DE8", | |
| "venueID" : "3", | |
| "refundableQuantity" : 0 | |
| }, | |
| { | |
| "prefixedUUID" : "170818163538~A815244E-A4AE-49F8-BA98-F9FD1F4B66E0", | |
| "organizationID" : "3", | |
| "billItemID" : "102", | |
| "organizationVersionNumber" : 0, | |
| "venueVersionNumber" : 0, | |
| "_ref" : "$170818163538~A815244E-A4AE-49F8-BA98-F9FD1F4B66E0", | |
| "venueID" : "3", | |
| "refundableQuantity" : 0 | |
| }, | |
| { | |
| "prefixedUUID" : "170818163538~B7C9DCC2-E908-44FE-9F1D-CDA3885D90D7", | |
| "organizationID" : "3", | |
| "billItemID" : "101", | |
| "organizationVersionNumber" : 0, | |
| "venueVersionNumber" : 0, | |
| "_ref" : "$170818163538~B7C9DCC2-E908-44FE-9F1D-CDA3885D90D7", | |
| "venueID" : "3", | |
| "refundableQuantity" : 0 | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.