IO-1330 Update QB Information
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<babeledit_project be_version="2.7.1" version="1.2">
|
<babeledit_project version="1.2" be_version="2.7.1">
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
BabelEdit project file
|
BabelEdit project file
|
||||||
@@ -7594,6 +7594,27 @@
|
|||||||
</concept_node>
|
</concept_node>
|
||||||
</children>
|
</children>
|
||||||
</folder_node>
|
</folder_node>
|
||||||
|
<concept_node>
|
||||||
|
<name>emaillater</name>
|
||||||
|
<definition_loaded>false</definition_loaded>
|
||||||
|
<description></description>
|
||||||
|
<comment></comment>
|
||||||
|
<default_text></default_text>
|
||||||
|
<translations>
|
||||||
|
<translation>
|
||||||
|
<language>en-US</language>
|
||||||
|
<approved>false</approved>
|
||||||
|
</translation>
|
||||||
|
<translation>
|
||||||
|
<language>es-MX</language>
|
||||||
|
<approved>false</approved>
|
||||||
|
</translation>
|
||||||
|
<translation>
|
||||||
|
<language>fr-CA</language>
|
||||||
|
<approved>false</approved>
|
||||||
|
</translation>
|
||||||
|
</translations>
|
||||||
|
</concept_node>
|
||||||
<concept_node>
|
<concept_node>
|
||||||
<name>employees</name>
|
<name>employees</name>
|
||||||
<definition_loaded>false</definition_loaded>
|
<definition_loaded>false</definition_loaded>
|
||||||
@@ -7825,6 +7846,27 @@
|
|||||||
</translation>
|
</translation>
|
||||||
</translations>
|
</translations>
|
||||||
</concept_node>
|
</concept_node>
|
||||||
|
<concept_node>
|
||||||
|
<name>printlater</name>
|
||||||
|
<definition_loaded>false</definition_loaded>
|
||||||
|
<description></description>
|
||||||
|
<comment></comment>
|
||||||
|
<default_text></default_text>
|
||||||
|
<translations>
|
||||||
|
<translation>
|
||||||
|
<language>en-US</language>
|
||||||
|
<approved>false</approved>
|
||||||
|
</translation>
|
||||||
|
<translation>
|
||||||
|
<language>es-MX</language>
|
||||||
|
<approved>false</approved>
|
||||||
|
</translation>
|
||||||
|
<translation>
|
||||||
|
<language>fr-CA</language>
|
||||||
|
<approved>false</approved>
|
||||||
|
</translation>
|
||||||
|
</translations>
|
||||||
|
</concept_node>
|
||||||
<concept_node>
|
<concept_node>
|
||||||
<name>rbac</name>
|
<name>rbac</name>
|
||||||
<definition_loaded>false</definition_loaded>
|
<definition_loaded>false</definition_loaded>
|
||||||
|
|||||||
@@ -165,6 +165,20 @@ export default function ShopInfoGeneral({ form }) {
|
|||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
<Form.Item
|
||||||
|
label={t("bodyshop.labels.printlater")}
|
||||||
|
valuePropName="checked"
|
||||||
|
name={["accountingconfig", "printlater"]}
|
||||||
|
>
|
||||||
|
<Switch />
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item
|
||||||
|
label={t("bodyshop.labels.emaillater")}
|
||||||
|
valuePropName="checked"
|
||||||
|
name={["accountingconfig", "emaillater"]}
|
||||||
|
>
|
||||||
|
<Switch />
|
||||||
|
</Form.Item>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
label={t("bodyshop.fields.inhousevendorid")}
|
label={t("bodyshop.fields.inhousevendorid")}
|
||||||
name={"inhousevendorid"}
|
name={"inhousevendorid"}
|
||||||
|
|||||||
@@ -477,6 +477,7 @@
|
|||||||
"cdk_dealerid": "CDK Dealer ID",
|
"cdk_dealerid": "CDK Dealer ID",
|
||||||
"title": "DMS"
|
"title": "DMS"
|
||||||
},
|
},
|
||||||
|
"emaillater": "Email Later",
|
||||||
"employees": "Employees",
|
"employees": "Employees",
|
||||||
"insurancecos": "Insurance Companies",
|
"insurancecos": "Insurance Companies",
|
||||||
"intakechecklist": "Intake Checklist",
|
"intakechecklist": "Intake Checklist",
|
||||||
@@ -488,6 +489,7 @@
|
|||||||
"notespresets": "Notes Presets",
|
"notespresets": "Notes Presets",
|
||||||
"orderstatuses": "Order Statuses",
|
"orderstatuses": "Order Statuses",
|
||||||
"partslocations": "Parts Locations",
|
"partslocations": "Parts Locations",
|
||||||
|
"printlater": "Print Later",
|
||||||
"rbac": "Role Based Access Control",
|
"rbac": "Role Based Access Control",
|
||||||
"responsibilitycenters": {
|
"responsibilitycenters": {
|
||||||
"costs": "Cost Centers",
|
"costs": "Cost Centers",
|
||||||
|
|||||||
@@ -477,6 +477,7 @@
|
|||||||
"cdk_dealerid": "",
|
"cdk_dealerid": "",
|
||||||
"title": ""
|
"title": ""
|
||||||
},
|
},
|
||||||
|
"emaillater": "",
|
||||||
"employees": "",
|
"employees": "",
|
||||||
"insurancecos": "",
|
"insurancecos": "",
|
||||||
"intakechecklist": "",
|
"intakechecklist": "",
|
||||||
@@ -488,6 +489,7 @@
|
|||||||
"notespresets": "",
|
"notespresets": "",
|
||||||
"orderstatuses": "",
|
"orderstatuses": "",
|
||||||
"partslocations": "",
|
"partslocations": "",
|
||||||
|
"printlater": "",
|
||||||
"rbac": "",
|
"rbac": "",
|
||||||
"responsibilitycenters": {
|
"responsibilitycenters": {
|
||||||
"costs": "",
|
"costs": "",
|
||||||
|
|||||||
@@ -477,6 +477,7 @@
|
|||||||
"cdk_dealerid": "",
|
"cdk_dealerid": "",
|
||||||
"title": ""
|
"title": ""
|
||||||
},
|
},
|
||||||
|
"emaillater": "",
|
||||||
"employees": "",
|
"employees": "",
|
||||||
"insurancecos": "",
|
"insurancecos": "",
|
||||||
"intakechecklist": "",
|
"intakechecklist": "",
|
||||||
@@ -488,6 +489,7 @@
|
|||||||
"notespresets": "",
|
"notespresets": "",
|
||||||
"orderstatuses": "",
|
"orderstatuses": "",
|
||||||
"partslocations": "",
|
"partslocations": "",
|
||||||
|
"printlater": "",
|
||||||
"rbac": "",
|
"rbac": "",
|
||||||
"responsibilitycenters": {
|
"responsibilitycenters": {
|
||||||
"costs": "",
|
"costs": "",
|
||||||
|
|||||||
@@ -122,13 +122,13 @@ const generateSourceCustomerQbxml = (jobs_by_pk, bodyshop) => {
|
|||||||
CustomerAddRq: {
|
CustomerAddRq: {
|
||||||
CustomerAdd: {
|
CustomerAdd: {
|
||||||
Name: jobs_by_pk.ins_co_nm,
|
Name: jobs_by_pk.ins_co_nm,
|
||||||
BillAddress: {
|
// BillAddress: {
|
||||||
Addr1: jobs_by_pk.ownr_addr1,
|
// Addr1: jobs_by_pk.ownr_addr1,
|
||||||
Addr2: jobs_by_pk.ownr_addr2,
|
// Addr2: jobs_by_pk.ownr_addr2,
|
||||||
City: jobs_by_pk.ownr_city,
|
// City: jobs_by_pk.ownr_city,
|
||||||
State: jobs_by_pk.ownr_st,
|
// State: jobs_by_pk.ownr_st,
|
||||||
PostalCode: jobs_by_pk.ownrzip,
|
// PostalCode: jobs_by_pk.ownrzip,
|
||||||
},
|
// },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -181,6 +181,25 @@ const generateJobQbxml = (
|
|||||||
FullName: ParentRefName,
|
FullName: ParentRefName,
|
||||||
}
|
}
|
||||||
: null,
|
: null,
|
||||||
|
...(tierLevel === 3
|
||||||
|
? {
|
||||||
|
BillAddress: {
|
||||||
|
Addr1: jobs_by_pk.ownr_addr1,
|
||||||
|
Addr2: jobs_by_pk.ownr_addr2,
|
||||||
|
City: jobs_by_pk.ownr_city,
|
||||||
|
State: jobs_by_pk.ownr_st,
|
||||||
|
PostalCode: jobs_by_pk.ownrzip,
|
||||||
|
},
|
||||||
|
ShipAddress: {
|
||||||
|
Addr1: jobs_by_pk.ownr_addr1,
|
||||||
|
Addr2: jobs_by_pk.ownr_addr2,
|
||||||
|
City: jobs_by_pk.ownr_city,
|
||||||
|
State: jobs_by_pk.ownr_st,
|
||||||
|
PostalCode: jobs_by_pk.ownrzip,
|
||||||
|
},
|
||||||
|
Email: jobs_by_pk.ownr_ea,
|
||||||
|
}
|
||||||
|
: {}),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -446,6 +465,18 @@ const generateInvoiceQbxml = (
|
|||||||
|
|
||||||
TxnDate: moment(jobs_by_pk.date_invoiced).format("YYYY-MM-DD"),
|
TxnDate: moment(jobs_by_pk.date_invoiced).format("YYYY-MM-DD"),
|
||||||
RefNumber: jobs_by_pk.ro_number,
|
RefNumber: jobs_by_pk.ro_number,
|
||||||
|
BillAddress: {
|
||||||
|
Addr1: jobs_by_pk.ownr_co_nm
|
||||||
|
? jobs_by_pk.ownr_co_nm.substring(0, 30)
|
||||||
|
: `${`${jobs_by_pk.ownr_ln || ""} ${
|
||||||
|
jobs_by_pk.ownr_fn || ""
|
||||||
|
}`.substring(0, 30)}`,
|
||||||
|
Addr2: jobs_by_pk.ownr_addr1,
|
||||||
|
Addr3: jobs_by_pk.ownr_addr2,
|
||||||
|
City: jobs_by_pk.ownr_city,
|
||||||
|
State: jobs_by_pk.ownr_st,
|
||||||
|
PostalCode: jobs_by_pk.ownrzip,
|
||||||
|
},
|
||||||
ShipAddress: {
|
ShipAddress: {
|
||||||
Addr1: jobs_by_pk.ownr_co_nm
|
Addr1: jobs_by_pk.ownr_co_nm
|
||||||
? jobs_by_pk.ownr_co_nm.substring(0, 30)
|
? jobs_by_pk.ownr_co_nm.substring(0, 30)
|
||||||
@@ -459,6 +490,11 @@ const generateInvoiceQbxml = (
|
|||||||
PostalCode: jobs_by_pk.ownrzip,
|
PostalCode: jobs_by_pk.ownrzip,
|
||||||
},
|
},
|
||||||
PONumber: jobs_by_pk.clm_no,
|
PONumber: jobs_by_pk.clm_no,
|
||||||
|
IsToBePrinted: bodyshop.accountingconfig.printlater,
|
||||||
|
...(jobs_by_pk.ownr_ea
|
||||||
|
? { IsToBeEmailed: bodyshop.accountingconfig.emaillater }
|
||||||
|
: {}),
|
||||||
|
|
||||||
InvoiceLineAdd: InvoiceLineAdd,
|
InvoiceLineAdd: InvoiceLineAdd,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ query QUERY_JOBS_FOR_RECEIVABLES_EXPORT($ids: [uuid!]!) {
|
|||||||
ownr_zip
|
ownr_zip
|
||||||
ownr_city
|
ownr_city
|
||||||
ownr_st
|
ownr_st
|
||||||
|
ownr_ea
|
||||||
ins_co_nm
|
ins_co_nm
|
||||||
job_totals
|
job_totals
|
||||||
rate_la1
|
rate_la1
|
||||||
|
|||||||
Reference in New Issue
Block a user