Skip to content

Document Entities - Mapping Documentation

Domain: Document
Entity Count: 6
Source File: document-entities.xml

Table of Contents


DocumentPrintout

Entity Class: com.perun.tlinq.entity.document.CDocumentPrintout
ID Field: documentId
Default Factory: OdooServiceFactory

Factory: OdooServiceFactory

Native Entity: com.perun.tlinq.client.odoo.entity.OdooDocPrintout

Field Mappings

Target Field Source Field Mapping Type Reverse Mapping Notes
documentId id DirectMapping - -
nativeModel model DirectMapping - -
reportName reportName DirectMapping - -
data data DirectMapping - -
format format DirectMapping - -

Quote

Entity Class: com.perun.tlinq.entity.document.CQuote
ID Field: quoteId
Default Factory: OdooServiceFactory

Factory: OdooServiceFactory

Native Entity: com.perun.tlinq.client.odoo.entity.OdooQuote

Services

Service Name Action Return Class Parameters
getQuote search - -
getQuote read - -
createQuote create - -
updateQuote update - -
deleteQuote delete - -
printQuote print com.perun.tlinq.entity.document.CDocumentPrintout report_name (config), res_ids (field)
confirmQuote confirm java.lang.Boolean -
invoiceQuote createInvoice java.lang.Integer -

Field Mappings

Target Field Source Field Mapping Type Reverse Mapping Notes
quoteId id DirectMapping - -
quoteNumber refNo DirectMapping - -
quoteReference custRefNo DirectMapping - -
amountTotal amountTotal DirectMapping - -
amountTax amountTax DirectMapping - -
amountBeforeTax amountBeforeTax DirectMapping - -
customerId customerId DirectMapping - -
customerName customerName DirectMapping NoMapping -
currencyId currencyId DirectMapping - -
currencyCode currencyCode DirectMapping NoMapping -
itemIds itemIds DirectMapping NoMapping -
invoiceIds invoiceIds DirectMapping NoMapping -
websiteId websiteId DirectMapping - -
state state DirectMapping - -
paymentReference paymentReference DirectMapping - -
pgwReference pgwReference DirectMapping - -
pgwUrl pgwUrl DirectMapping - -
pgwStatus pgwStatus DirectMapping - -
pgwCart pgwCartId DirectMapping - -
createDate createDate DirectMapping - -
modifyDate modDate DirectMapping - -
userId userId DirectMapping - -
userName userName DirectMapping - -

QuoteItem

Entity Class: com.perun.tlinq.entity.document.CQuoteItem
ID Field: id
Default Factory: OdooServiceFactory

Factory: OdooServiceFactory

Native Entity: com.perun.tlinq.client.odoo.entity.OdooQuoteLine

Services

Service Name Action Return Class Parameters
getQuoteLine search - -
getQuoteLine read - -
createQuoteLine create - -
updateQuoteLine update - -
deleteQuoteLine delete - -

Field Mappings

Target Field Source Field Mapping Type Reverse Mapping Notes
id id DirectMapping - -
description itemDesc DirectMapping - -
productId productId DirectMapping - -
productName productName DirectMapping - -
quoteId quoteId DirectMapping - -
unitPrice priceUnit DirectMapping - -
purchasePrice purchasePrice DirectMapping - -
totalPrice priceTotal DirectMapping - -
unitId unitId DirectMapping - -
unitName unitName DirectMapping NoMapping -
quantity quantity DirectMapping - -
cartItemId cartItemId DirectMapping - -
serviceTime serviceTime DirectMapping - -
bookingDate bookDate DirectMapping - -
extAttrs extAttributes DirectMapping - -
extVariantId extVariantId DirectMapping - -
isChild isChild DirectMapping - -
isInfant isInfant DirectMapping - -
serviceLocation serviceLocation DirectMapping - -
pickupLocation pickupLocation DirectMapping - -
timeSlot timeslot DirectMapping - -
transferType transferType DirectMapping - -
reservationName reservationName DirectMapping - -

Invoice

Entity Class: com.perun.tlinq.entity.document.CInvoice
ID Field: invoiceId
Default Factory: OdooServiceFactory

Factory: OdooServiceFactory

Native Entity: com.perun.tlinq.client.odoo.entity.OdooInvoice

Services

Service Name Action Return Class Parameters
getInvoice search - -
getInvoice read - -
createInvoice create - -
updateInvoice update - -
deleteInvoice delete - -
validateInvoice validate java.lang.Integer -
printInvoice print com.perun.tlinq.entity.document.CDocumentPrintout report_name (config)
registerPayment register_payment com.perun.tlinq.entity.document.CPayment invoice_id (field), payment_reference (input), payment_channel (input)

Field Mappings

Target Field Source Field Mapping Type Reverse Mapping Notes
invoiceId id DirectMapping - -
invoiceNumber invNumber DirectMapping - -
dueDate dueDate DirectMapping - -
invoiceDate invoiceDate DirectMapping - -
invoiceOpen invoiceOpen DirectMapping - -
amountTotal amountTotal DirectMapping - -
amountTax amountTax DirectMapping - -
amountBeforeTax amountBeforeTax DirectMapping - -
amountDue amountDue DirectMapping - -
originDoc originDoc DirectMapping - -
customerId customerId DirectMapping - -
customerName customerName DirectMapping NoMapping -
currencyId currencyId DirectMapping - -
currencyCode currencyCode DirectMapping NoMapping -
itemIds itemIds DirectMapping NoMapping -
paymentReference reference DirectMapping - -

InvoiceItem

Entity Class: com.perun.tlinq.entity.document.CInvoiceItem
ID Field: id
Default Factory: OdooServiceFactory

Factory: OdooServiceFactory

Native Entity: com.perun.tlinq.client.odoo.entity.OdooInvoiceLine

Services

Service Name Action Return Class Parameters
getInvoiceLine search - -
getInvoiceLine read - -
createInvoiceLine create - -
updateInvoiceLine update - -
deleteInvoiceLine delete - -

Field Mappings

Target Field Source Field Mapping Type Reverse Mapping Notes
id itemId DirectMapping - -
invoiceId invoiceId DirectMapping - -
accountId accountId DirectMapping - -
itemDesc itemDesc DirectMapping - -
unitPrice priceUnit DirectMapping - -
totalPrice priceTotal DirectMapping - -
subTotalPrice priceSubtotal DirectMapping - -
taxPrice priceTax DirectMapping - -
productId productId DirectMapping - -
productName productName DirectMapping - -
unitId unitId DirectMapping - -
unitName unitName DirectMapping NoMapping -
quantity quantity DirectMapping - -
sequence sequence DirectMapping - -

Payment

Entity Class: com.perun.tlinq.entity.document.CPayment
ID Field: id
Default Factory: OdooServiceFactory

Factory: OdooServiceFactory

Native Entity: com.perun.tlinq.client.odoo.entity.OdooPayment

Services

Service Name Action Return Class Parameters
getPayment search - -
getPayment read - -
createPayment create - -

Field Mappings

Target Field Source Field Mapping Type Reverse Mapping Notes
paymentId id DirectMapping - -
amount amount DirectMapping - -
paymentCode paymentCode DirectMapping - -
paymentReference paymentReference DirectMapping - -
paymentDesc paymentName DirectMapping - -
paymentDate paymentDate DirectMapping - -
customerId customerId DirectMapping - -
invoiceIds invoiceIds DirectMapping - -
currencyId currencyId DirectMapping - -
currencyName currencyName DirectMapping - -
transactionId pmtTxnId DirectMapping - -
paymentMethodId methodId DirectMapping NoMapping -
paymentMethod methodName DirectMapping - -
paymentStatus paymentStatus DirectMapping - -


Generated from document-entities.xml