diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index e85705e4..a821e053 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -172,15 +172,10 @@ todo: how to add locale keys in future after release without erasing all data? -CURRENTLY DOING: -todo: Post update for testing -todo: Joyce testing PO / inventory / inventory adjustments - - - +CURRENTLY DOING: Purchase order ------------------------------------------- + ------------------------------------------ @@ -194,6 +189,7 @@ EACH OBJECT DEV CYCLE: DbUtil EraseAllData method Update function PUBLIC.AYGETNAME in aySchema for new type Biz object and all supported interfaces (searchable, exportable etc) + Reportable Viz fields if reportable Biz Object SEARCH Index / getsearchresult code add unique text fields Business rules port from v7 and new ones ValidateCanDete MUST check if any foreign key constraints and return proper error rather than bombing on attempted delete @@ -214,7 +210,7 @@ EACH OBJECT DEV CYCLE: Add to smoke test DOCS (at back but with front links, maybe not fleshed out just placeholder ok for now) REPORTING - Reportable + Reportable & VIZ fields DASHBOARD Add widget if dashboardable https://docs.google.com/document/d/1cEesyryhM0zYkH0PEswiuOezUTA_Nv5Xn3jfBczdQmk/edit IMPORT @@ -228,18 +224,6 @@ Preliminary order to get the ball rolling, these are the easiest starting point: Contract big one, tons of cases, will likely be implemented then need tweaking until it's right but the cases are all gold Jerry, gold! - - Inventory (see servicebank and below bit for inspo) - Xparts - Xwarehouse - XPartInventory - Xpo - Xporeceipt - Xadjustments - XWorkorderItemPart - XWorkorderItemPartRequest - User - Fixup once have vendor, ho, client etc as it depends on those WorkorderStatus no dependencies, possibly many cases, read over carefully before implementing @@ -254,11 +238,7 @@ Preliminary order to get the ball rolling, these are the easiest starting point: and can always hide means wo could be scheduled for ad-hoc locations and serviced that way, i.e. a truck parked on the side of the highway etc - INVENTORY AND BALANCE STUFF - Best implemented as a stored procedure? - this example is exactly a bank balance - https://www.postgresqltutorial.com/postgresql-create-procedure/ - + # V7 objects now TAGS, the following objects are imported as tags and suffixed with a period and then short versions of the object type in the tag name - Region diff --git a/ayanova/tests/e2e/specs/smoke.js b/ayanova/tests/e2e/specs/smoke.js index c4b5bed2..29d76fb9 100644 --- a/ayanova/tests/e2e/specs/smoke.js +++ b/ayanova/tests/e2e/specs/smoke.js @@ -164,6 +164,22 @@ describe("SMOKE", () => { cy.url().should("include", "/inv-parts/1"); cy.get("[data-cy=partNumber]"); + cy.visit("/inv-purchase-orders"); + cy.url().should("include", "/inv-purchase-orders"); + cy.get("[data-cy=purchaseordersTable]"); + + cy.visit("/inv-purchase-orders/1"); + cy.url().should("include", "/inv-purchase-orders/1"); + cy.get("[data-cy=serial]"); + + cy.visit("/inv-part-inventory"); + cy.url().should("include", "/inv-part-inventory"); + cy.get("[data-cy=partInventoryTable]"); + + cy.visit("/inv-part-inventory-transactions"); + cy.url().should("include", "/inv-part-inventory-transactions"); + cy.get("[data-cy=partInventoryTransactionsTable]"); + cy.visit("/inv-part-assemblies"); cy.url().should("include", "/inv-part-assemblies"); cy.get("[data-cy=partassemblysTable]"); @@ -180,26 +196,10 @@ describe("SMOKE", () => { cy.url().should("include", "/inv-part-warehouses/1"); cy.get("[data-cy=name]"); - cy.visit("/inv-part-inventory"); - cy.url().should("include", "/inv-part-inventory"); - cy.get("[data-cy=underconstruction]"); - - cy.visit("/inv-part-requests"); - cy.url().should("include", "/inv-part-requests"); - cy.get("[data-cy=underconstruction]"); - - cy.visit("/inv-purchase-orders"); - cy.url().should("include", "/inv-purchase-orders"); - cy.get("[data-cy=underconstruction]"); - - // cy.visit("/inv-purchase-order-receipts"); - // cy.url().should("include", "/inv-purchase-order-receipts"); + // cy.visit("/inv-part-requests"); + // cy.url().should("include", "/inv-part-requests"); // cy.get("[data-cy=underconstruction]"); - cy.visit("/inv-adjustments"); - cy.url().should("include", "/inv-adjustments"); - cy.get("[data-cy=underconstruction]"); - //################# VENDORS cy.visit("/vendors"); cy.url().should("include", "/vendors");