thanks group.
i like uses all funcionallity the class TCPDF.
I create my first report for print sales quotation master and details products.
i use example step for step and not work http://www.scriptcase.net/scriptcase-ejemplos/tutoriais/pdf/pdf03.php
I not view label field, how to example url scriptcase pdf03.php
i like header for data master quotation and one page for line. and print data product in table and salesprice other table.
i like create report for equal a this example
http://www.fpdf.org/en/script/ex20.pdf for uses TCPDF. and not understand.
http://www.fpdf.org/en/script/script20.php
i search examples in google. http://huguidugui.wordpress.com/2013/11/15/fpdf-posiciones-x-y/
i not undertstan the block in report application. section 3
i download example TCPDF and not know running in scriptcase, for error the library // Include the main TCPDF library (search for installation path). require_once(‘tcpdf_include.php’);
/------------------ Page 1 -----------------/
sc_pdf_print($cell_QUOTATIONID);
sc_pdf_print($cell_QUOTATIONNAME);
sc_pdf_print($cell_DELIVERYNAME);
sc_pdf_print($cell_SALESRESPONSIBLE);
sc_pdf_print($cell_CURRENCYCODE);
sc_pdf_print($cell_DOCUTITLE);
sc_pdf_print($cell_SALESEXPENSESPCT);
sc_pdf_print($cell_PROFITMARGINCUST);
sc_pdf_print($cell_TAX);
sc_pdf_print($cell_EXCHRATECUST);
sc_pdf_set_y(5);
foreach ({orders_details} as $NM_ind => $Dados)
{
sc_pdf_print_sub_sel($cell_orders_details_LINENUM[$NM_ind]);
sc_pdf_print_sub_sel($cell_orders_details_CURRENCYCODE[$NM_ind]);
sc_pdf_print_sub_sel($cell_orders_details_ITEMID[$NM_ind]);
sc_pdf_print_sub_sel($cell_orders_details_NAME[$NM_ind]);
sc_pdf_print_sub_sel($cell_orders_details_SALESPRICE[$NM_ind]);
sc_pdf_print_sub_sel($cell_orders_details_SALESPRICEPVP[$NM_ind]);
sc_pdf_print_sub_sel($cell_orders_details_PROFITMARGINCUST[$NM_ind]);
sc_pdf_print_sub_sel($cell_orders_details_TAX[$NM_ind]);
sc_pdf_sub_sel_end(20);
}
/-------------------------------------------/
Espa?ol.
Buenas tardes amigos
quiero usar la generacion de reportes para tener dos tipos de reportes.
*Tengo una aplicacion maestro detalle de mis cotizaciones. quiero una hoja por linea del detalle en un formato como la imagen
*como el ejemplo que hay pero con la libreria fpdf, quiero hacer el formato de factura igual.
*he intentado usar la libreria tcpdf pero no todas las funciones estan incluidas
No logro entender como usar toda las funciones de TCPDF dentro de scriptcase.