Skip to main content

MGCLatticeFreeTextInvoiceTemplateLineEntity

The MGCLatticeFreeTextInvoiceTemplateLineEntity exposes free text invoice template standard lines (CustInvoiceStandardLineTemplate) including line description, invoice text, amount, quantity, unit price, sales tax groups, project defaults, and the main account / ledger dimension display value. The owning template is identified by TemplateName, surfaced through a read-only join to the CustInvoiceTemplate header: a line is written to an existing template, which the entity never creates or changes.

  • Public collection name: LatticeFreeTextInvoiceTemplateLines
  • Primary key: TemplateName, LineNumber

Fields​

NameTypeMandatoryDescription
TemplateNameCustInvoiceTemplateNameNo
LineNumberLineNumNo
DescriptionDescriptionNo
InvoiceTextNotesNo
LineAmountAmountCurNo
QuantityInvoiceQuantityNo
UnitPriceInvoiceUnitPriceNo
SalesTaxGroupTaxGroupNo
ItemSalesTaxGroupTaxItemGroupNo
OverrideSalesTaxTaxIntegrationOverrideSalesTaxNo
ProjectIdProjIdNo
ProjectCategoryIdProjCategoryIdNo
LedgerAccountDisplayValueDimensionDisplayValueNo
DefaultDimensionDisplayValueDimensionDisplayValueNo
ExternalSystemMGCLatticeExternalSystemIdNoThe external system, such as a CRM, a marketplace or a legacy ERP, whose key this is.
ProjectIdExternalKeyMGCLatticeExternalKeyNoThe external system's key for the project. Send it instead of the project ID.

Mappings​

Entity fieldData sourceField
TemplateNameCustInvoiceTemplateTemplateName
LineNumberCustInvoiceStandardLineTemplateLineNum
DescriptionCustInvoiceStandardLineTemplateDescription
InvoiceTextCustInvoiceStandardLineTemplateLineTxt
LineAmountCustInvoiceStandardLineTemplateAmountCur
QuantityCustInvoiceStandardLineTemplateQuantity
UnitPriceCustInvoiceStandardLineTemplateUnitPrice
SalesTaxGroupCustInvoiceStandardLineTemplateTaxGroup
ItemSalesTaxGroupCustInvoiceStandardLineTemplateTaxItemGroup
OverrideSalesTaxCustInvoiceStandardLineTemplateOverrideSalesTax
ProjectIdCustInvoiceStandardLineTemplateProjId
ProjectCategoryIdCustInvoiceStandardLineTemplateProjCategoryId
LedgerAccountDisplayValueLedgerDimensionDAVCDisplayValue
DefaultDimensionDisplayValueDefaultDimensionDAVSDisplayValue