This commit is contained in:
@@ -40,6 +40,30 @@ todo: WHEN HAVE WORKORDER FORM customer popup notes need to pop pop pop, forgot
|
|||||||
However, I also find that incredibly annoying but I guess that's the point :)
|
However, I also find that incredibly annoying but I guess that's the point :)
|
||||||
|
|
||||||
## SERVER MISC ITEMS
|
## SERVER MISC ITEMS
|
||||||
|
todo: tax codes, taxable objects
|
||||||
|
Biz rules updated to prevent tax value changes to any of the following fields once it's been used on any item that has tax codes
|
||||||
|
name, taxa, taxb, taxontax
|
||||||
|
Biz rule to prevent change of active status to false if this taxcode is set as the global settings default tax code
|
||||||
|
/// <summary>
|
||||||
|
/// Returns true if passed in tax code ID
|
||||||
|
/// is used as the default anywhere in global settings
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="TaxCodeID"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public bool TaxCodeIsADefault(Guid TaxCodeID)
|
||||||
|
{
|
||||||
|
if(this.mTaxPartPurchaseID==TaxCodeID) return true;
|
||||||
|
if(this.mTaxPartSaleID==TaxCodeID) return true;
|
||||||
|
if(this.mTaxRateSaleID==TaxCodeID) return true;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
Global settings object needs tax codes added for
|
||||||
|
private Guid mTaxPartPurchaseID;
|
||||||
|
private Guid mTaxPartSaleID;
|
||||||
|
private Guid mTaxRateSaleID;
|
||||||
|
PurchaseOrder needs to default tax codes when created from global settings
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
todo: GetWorkorderSerial/name from leaf nodes
|
todo: GetWorkorderSerial/name from leaf nodes
|
||||||
traverse up the tree and fetch the serial number
|
traverse up the tree and fetch the serial number
|
||||||
@@ -123,9 +147,7 @@ todo: tax values and totals need to be calced at server and returned with record
|
|||||||
put totals in PO header class as nonmapped fields and can calc at server
|
put totals in PO header class as nonmapped fields and can calc at server
|
||||||
any update to items or anything really roundtrips to server and back with updated object returned which differs from other objects so need to acct for that.
|
any update to items or anything really roundtrips to server and back with updated object returned which differs from other objects so need to acct for that.
|
||||||
|
|
||||||
todo: dynamically hide worequest columns if found to not be included
|
|
||||||
todo: maybe also insert a showwarehouses return nonmapped value with po and remove the fetch if can just hide column headers anyway
|
|
||||||
todo: change phrase "Actual cost" in translation to "Received cost"
|
|
||||||
PO UI for items:
|
PO UI for items:
|
||||||
Use ops-backup form list of backups as concept, it uses a v-data-table
|
Use ops-backup form list of backups as concept, it uses a v-data-table
|
||||||
It adapts to mobile view with horizontal card so perfect for that and will work for what I need.
|
It adapts to mobile view with horizontal card so perfect for that and will work for what I need.
|
||||||
@@ -143,6 +165,7 @@ PO todo
|
|||||||
todo: test duplicate route
|
todo: test duplicate route
|
||||||
todo: test inventory affecting ops
|
todo: test inventory affecting ops
|
||||||
reversals, updates, deletes etc
|
reversals, updates, deletes etc
|
||||||
|
todo: test default tax codes are set
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -866,3 +889,8 @@ It's all done in Photoshop. Just take screenshots, then transform, rotate, disto
|
|||||||
|
|
||||||
reply
|
reply
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
MUSIC TO ADD TO COLLECTION
|
||||||
|
BOC - cities on flame
|
||||||
|
MID CENTURY MODERN TUNES - https://www.allmusic.com/album/ultra-lounge-vol-14-bossa-novaville-mw0000024024
|
||||||
|
|||||||
@@ -474,7 +474,7 @@ export default {
|
|||||||
value: "displayPartNumber"
|
value: "displayPartNumber"
|
||||||
});
|
});
|
||||||
|
|
||||||
if (vm.showWarehouses) {
|
if (vm.obj.displayWarehouses) {
|
||||||
headers.push({
|
headers.push({
|
||||||
text: vm.$ay.t("PartWarehouse"),
|
text: vm.$ay.t("PartWarehouse"),
|
||||||
align: "left",
|
align: "left",
|
||||||
@@ -521,17 +521,19 @@ export default {
|
|||||||
value: "vendorPartNumber"
|
value: "vendorPartNumber"
|
||||||
});
|
});
|
||||||
|
|
||||||
headers.push({
|
if (vm.obj.displayPartRequest) {
|
||||||
text: vm.$ay.t("PurchaseOrderItemPartRequestedByID"),
|
headers.push({
|
||||||
align: "left",
|
text: vm.$ay.t("PurchaseOrderItemPartRequestedByID"),
|
||||||
value: "displayRequestUser"
|
align: "left",
|
||||||
});
|
value: "displayRequestUser"
|
||||||
|
});
|
||||||
|
|
||||||
headers.push({
|
headers.push({
|
||||||
text: vm.$ay.t("PurchaseOrderItemWorkOrderNumber"),
|
text: vm.$ay.t("PurchaseOrderItemWorkOrderNumber"),
|
||||||
align: "left",
|
align: "left",
|
||||||
value: "displayRequestWorkorder"
|
value: "displayRequestWorkorder"
|
||||||
});
|
});
|
||||||
|
}
|
||||||
return headers;
|
return headers;
|
||||||
},
|
},
|
||||||
itemList: function() {
|
itemList: function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user