This commit is contained in:
2021-03-02 18:29:14 +00:00
parent c2753f722c
commit 3bef5ba1ea
2 changed files with 23 additions and 43 deletions

View File

@@ -172,15 +172,10 @@ todo: how to add locale keys in future after release without erasing all data?
CURRENTLY DOING: CURRENTLY DOING: Purchase order
todo: Post update for testing
todo: Joyce testing PO / inventory / inventory adjustments
------------------------------------------ ------------------------------------------
@@ -194,6 +189,7 @@ EACH OBJECT DEV CYCLE:
DbUtil EraseAllData method DbUtil EraseAllData method
Update function PUBLIC.AYGETNAME in aySchema for new type Update function PUBLIC.AYGETNAME in aySchema for new type
Biz object and all supported interfaces (searchable, exportable etc) Biz object and all supported interfaces (searchable, exportable etc)
Reportable Viz fields if reportable
Biz Object SEARCH Index / getsearchresult code add unique text fields Biz Object SEARCH Index / getsearchresult code add unique text fields
Business rules port from v7 and new ones 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 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 Add to smoke test
DOCS (at back but with front links, maybe not fleshed out just placeholder ok for now) DOCS (at back but with front links, maybe not fleshed out just placeholder ok for now)
REPORTING REPORTING
Reportable Reportable & VIZ fields
DASHBOARD DASHBOARD
Add widget if dashboardable https://docs.google.com/document/d/1cEesyryhM0zYkH0PEswiuOezUTA_Nv5Xn3jfBczdQmk/edit Add widget if dashboardable https://docs.google.com/document/d/1cEesyryhM0zYkH0PEswiuOezUTA_Nv5Xn3jfBczdQmk/edit
IMPORT IMPORT
@@ -228,18 +224,6 @@ Preliminary order to get the ball rolling, these are the easiest starting point:
Contract 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! 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 WorkorderStatus
no dependencies, possibly many cases, read over carefully before implementing 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 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 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 # 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 - Region

View File

@@ -164,6 +164,22 @@ describe("SMOKE", () => {
cy.url().should("include", "/inv-parts/1"); cy.url().should("include", "/inv-parts/1");
cy.get("[data-cy=partNumber]"); 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.visit("/inv-part-assemblies");
cy.url().should("include", "/inv-part-assemblies"); cy.url().should("include", "/inv-part-assemblies");
cy.get("[data-cy=partassemblysTable]"); cy.get("[data-cy=partassemblysTable]");
@@ -180,26 +196,10 @@ describe("SMOKE", () => {
cy.url().should("include", "/inv-part-warehouses/1"); cy.url().should("include", "/inv-part-warehouses/1");
cy.get("[data-cy=name]"); cy.get("[data-cy=name]");
cy.visit("/inv-part-inventory"); // cy.visit("/inv-part-requests");
cy.url().should("include", "/inv-part-inventory"); // cy.url().should("include", "/inv-part-requests");
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.get("[data-cy=underconstruction]"); // cy.get("[data-cy=underconstruction]");
cy.visit("/inv-adjustments");
cy.url().should("include", "/inv-adjustments");
cy.get("[data-cy=underconstruction]");
//################# VENDORS //################# VENDORS
cy.visit("/vendors"); cy.visit("/vendors");
cy.url().should("include", "/vendors"); cy.url().should("include", "/vendors");