6 "table": "xt.invcheadinfo",
8 "idSequenceName": "invchead_invchead_id_seq",
9 "orderSequence":"InvcNumber",
11 "comment": "Invoice Map",
14 "create": "MaintainMiscInvoices",
15 "read": "ViewMiscInvoices",
16 "update": "MaintainMiscInvoices",
17 "delete": "MaintainMiscInvoices"
36 "column": "invchead_id",
44 "column": "invchead_invcnumber",
49 "name": "invoiceDate",
52 "column": "invchead_invcdate",
64 "name": "discountDate",
74 "column": "invchead_printed",
82 "column": "invchead_posted",
90 "column": "invchead_void",
97 "type": "BillingCustomer",
98 "column": "invchead_cust_id",
104 "name": "billtoName",
107 "column": "invchead_billto_name"
111 "name": "billtoAddress1",
114 "column": "invchead_billto_address1"
118 "name": "billtoAddress2",
121 "column": "invchead_billto_address2"
125 "name": "billtoAddress3",
128 "column": "invchead_billto_address3"
132 "name": "billtoCity",
135 "column": "invchead_billto_city"
139 "name": "billtoState",
142 "column": "invchead_billto_state"
146 "name": "billtoPostalCode",
149 "column": "invchead_billto_zipcode"
153 "name": "billtoCountry",
156 "column": "invchead_billto_country"
160 "name": "billtoPhone",
163 "column": "invchead_billto_phone"
170 "column": "invchead_curr_id"
177 "column": "invchead_terms_id",
185 "column": "invchead_salesrep_id"
189 "name": "commission",
192 "column": "invchead_commission",
200 "column": "invchead_saletype_id"
204 "name": "customerPurchaseOrderNumber",
207 "column": "invchead_ponumber"
214 "column": "invchead_taxzone_id"
221 "column": "invchead_notes"
225 "name": "miscCharge",
228 "column": "invchead_misc_amount"
232 "name": "recurringInvoice",
234 "type": "InvoiceRelation",
235 "column": "invchead_recurring_invchead_id"
239 "name": "allocatedCredit",
242 "column": "allocated_credit"
246 "name": "outstandingCredit",
249 "column": "outstanding_credit"
263 "column": "tax_total"
281 "name": "characteristics",
283 "type": "InvoiceCharacteristic",
284 "column": "invchead_id",
285 "inverse": "invoice",
293 "type": "InvoiceLine",
294 "column": "invchead_id",
299 "name": "taxAdjustments",
302 "type": "InvoiceTax",
303 "column": "invchead_id",
308 "name": "allocations",
311 "type": "InvoiceAllocation",
312 "column": "invchead_id",
320 "type": "InvoiceContact",
321 "column": "invchead_id",
329 "type": "InvoiceAccount",
330 "column": "invchead_id",
338 "type": "InvoiceCustomer",
339 "column": "invchead_id",
347 "type": "InvoiceFile",
348 "column": "invchead_id",
356 "type": "InvoiceUrl",
357 "column": "invchead_id",
365 "type": "InvoiceItem",
366 "column": "invchead_id",
376 "type": "InvoiceListItem",
377 "table": "xt.invcheadinfo",
379 "idSequenceName": "invchead_invchead_id_seq",
381 "comment": "Invoice List Item Map",
385 "read": "MaintainMiscInvoices ViewMiscInvoices",
391 "read": "ViewPersonalCRMAccounts",
404 "column": "invchead_id",
412 "column": "invchead_invcnumber",
417 "name": "invoiceDate",
420 "column": "invchead_invcdate",
428 "column": "invchead_printed",
436 "column": "invchead_posted",
444 "column": "invchead_void",
459 "column": "invchead_curr_id"
463 "name": "billtoName",
466 "column": "invchead_billto_name"
470 "name": "billtoCity",
473 "column": "invchead_billto_city"
477 "name": "billtoState",
480 "column": "invchead_billto_state"
484 "name": "billtoCountry",
487 "column": "invchead_billto_country"
493 "type": "BillingCustomer",
494 "column": "invchead_cust_id",
500 "name": "crmaccountUsers",
502 "type": "ShareUsers",
503 "column": "obj_uuid",
513 "type": "InvoiceRelation",
514 "table": "xt.invcheadinfo",
516 "idSequenceName": "invchead_invchead_id_seq",
518 "comment": "Invoice Relation Map",
532 "column": "invchead_id",
540 "column": "invchead_invcnumber",
545 "name": "invoiceDate",
548 "column": "invchead_invcdate",
556 "column": "invchead_posted",
564 "column": "invchead_void",
571 "type": "CustomerRelation",
572 "column": "invchead_cust_id",
583 "type": "InvoiceCharacteristic",
585 "idSequenceName": "charass_charass_id_seq",
586 "comment": "Invoice Characteristic Map",
600 "column": "charass_id",
608 "column": "obj_uuid",
613 "name": "targetType",
616 "column": "charass_target_type",
624 "column": "charass_target_id"
628 "name": "characteristic",
630 "type": "Characteristic",
631 "column": "charass_char_id",
639 "column": "charass_value"
643 "isNestedOnly": true,
649 "type": "InvoiceTax",
650 "table": "invcheadtax",
652 "idSequenceName": "taxhist_taxhist_id_seq",
653 "comment": "Invoice Tax Map",
667 "column": "taxhist_id",
675 "column": "obj_uuid",
683 "column": "taxhist_parent_id"
690 "column": "taxhist_tax_id",
698 "column": "taxhist_tax"
705 "column": "taxhist_basis",
713 "column": "taxhist_percent",
718 "name": "taxRateAmount",
721 "column": "taxhist_amount",
729 "column": "taxhist_taxtype_id",
734 "name": "documentDate",
737 "column": "taxhist_docdate"
741 "isNestedOnly": true,
747 "type": "InvoiceAllocation",
748 "table": "aropenalloc",
750 "idSequenceName": "aropenalloc_aropenalloc_id_seq",
751 "comment": "Invoice Allocation Map",
754 "create": "ApplyARMemos",
756 "update": "ApplyARMemos",
757 "delete": "ApplyARMemos"
765 "column": "aropenalloc_aropen_id",
773 "column": "obj_uuid",
781 "column": "aropenalloc_doctype",
789 "column": "aropenalloc_doc_id"
796 "column": "aropenalloc_amount"
803 "column": "aropenalloc_curr_id"
807 "isNestedOnly": true,
813 "type": "InvoiceContact",
815 "idSequenceName": "docass_docass_id_seq",
816 "comment": "Invoice Contact Map",
838 "column": "obj_uuid",
843 "name": "sourceType",
846 "column": "source_type",
854 "column": "source_id"
858 "name": "targetType",
861 "column": "target_type",
869 "type": "ContactRelation",
870 "column": "target_id"
881 "isNestedOnly": true,
887 "type": "InvoiceAccount",
889 "idSequenceName": "docass_docass_id_seq",
890 "comment": "Invoice Account Map",
912 "column": "obj_uuid",
917 "name": "sourceType",
920 "column": "source_type",
928 "column": "source_id"
932 "name": "targetType",
935 "column": "target_type",
943 "type": "AccountRelation",
944 "column": "target_id"
955 "isNestedOnly": true,
961 "type": "InvoiceCustomer",
963 "idSequenceName": "docass_docass_id_seq",
964 "comment": "Invoice Customer Map",
986 "column": "obj_uuid",
991 "name": "sourceType",
994 "column": "source_type",
1002 "column": "source_id"
1006 "name": "targetType",
1009 "column": "target_type",
1017 "type": "CustomerRelation",
1018 "column": "target_id"
1029 "isNestedOnly": true,
1033 "context": "xtuple",
1035 "type": "InvoiceFile",
1037 "idSequenceName": "docass_docass_id_seq",
1038 "comment": "Invoice File Map",
1053 "isPrimaryKey": true
1060 "column": "obj_uuid",
1061 "isNaturalKey": true
1065 "name": "sourceType",
1068 "column": "source_type",
1076 "column": "source_id"
1080 "name": "targetType",
1083 "column": "target_type",
1091 "type": "FileRelation",
1092 "column": "target_id"
1103 "isNestedOnly": true,
1107 "context": "xtuple",
1109 "type": "InvoiceUrl",
1111 "idSequenceName": "docass_docass_id_seq",
1112 "comment": "Invoice Url Map",
1127 "isPrimaryKey": true
1134 "column": "obj_uuid",
1135 "isNaturalKey": true
1139 "name": "sourceType",
1142 "column": "source_type",
1150 "column": "source_id"
1154 "name": "targetType",
1157 "column": "target_type",
1166 "column": "target_id"
1177 "isNestedOnly": true,
1181 "context": "xtuple",
1183 "type": "InvoiceItem",
1185 "idSequenceName": "docass_docass_id_seq",
1186 "comment": "Invoice Item Map",
1201 "isPrimaryKey": true
1208 "column": "obj_uuid",
1209 "isNaturalKey": true
1213 "name": "sourceType",
1216 "column": "source_type",
1224 "column": "source_id"
1228 "name": "targetType",
1231 "column": "target_type",
1239 "type": "ItemRelation",
1240 "column": "target_id"
1251 "isNestedOnly": true,
1255 "context": "xtuple",
1257 "type": "InvoiceLine",
1258 "table": "xt.invciteminfo",
1260 "idSequenceName": "invcitem_invcitem_id_seq",
1261 "comment": "Invoice Line Map",
1264 "create": "MaintainMiscInvoices",
1265 "read": "ViewMiscInvoices",
1266 "update": "MaintainMiscInvoices",
1267 "delete": "MaintainMiscInvoices"
1271 "create": "OverrideTax",
1273 "update": "OverrideTax"
1282 "column": "invcitem_id",
1283 "isPrimaryKey": true
1290 "column": "obj_uuid",
1291 "isNaturalKey": true
1298 "column": "invcitem_invchead_id"
1302 "name": "lineNumber",
1305 "column": "invcitem_linenumber"
1312 "type": "ItemRelation",
1313 "column": "invcitem_item_id",
1321 "type": "SiteRelation",
1322 "column": "invcitem_warehous_id",
1327 "name": "customerPartNumber",
1330 "column": "invcitem_custpn"
1334 "name": "isMiscellaneous",
1337 "column": "invcitem_is_misc"
1341 "name": "itemNumber",
1344 "column": "invcitem_number"
1348 "name": "itemDescription",
1351 "column": "invcitem_descrip"
1358 "column": "invcitem_ordered"
1362 "name": "quantityUnit",
1365 "column": "invcitem_qty_uom_id"
1369 "name": "quantityUnitRatio",
1371 "type": "UnitRatio",
1372 "column": "invcitem_qty_invuomratio"
1379 "column": "invcitem_billed"
1383 "name": "customerPrice",
1386 "column": "invcitem_custprice"
1392 "type": "SalesPrice",
1393 "column": "invcitem_price"
1397 "name": "priceUnit",
1400 "column": "invcitem_price_uom_id"
1404 "name": "priceUnitRatio",
1406 "type": "UnitRatio",
1407 "column": "invcitem_price_invuomratio"
1411 "name": "extendedPrice",
1413 "type": "ExtendedPrice",
1414 "column": "invcitem_ext_price"
1421 "column": "invcitem_notes"
1428 "column": "invcitem_taxtype_id"
1435 "column": "invcitem_tax_total"
1442 "type": "InvoiceLineTax",
1443 "column": "invcitem_id",
1448 "isNestedOnly": true,
1452 "context": "xtuple",
1454 "type": "InvoiceLineTax",
1455 "table": "xt.invcitemtaxinfo",
1457 "idSequenceName": "taxhist_taxhist_id_seq",
1458 "comment": "Invoice Line Tax Map",
1472 "column": "taxhist_id",
1473 "isPrimaryKey": true
1480 "column": "obj_uuid",
1481 "isNaturalKey": true
1488 "column": "taxhist_taxtype_id"
1495 "column": "taxhist_tax_id",
1503 "column": "taxhist_parent_id"
1510 "column": "taxhist_tax"
1514 "isNestedOnly": true,