The header data in the report is realized in dynamic generation of the details.

zhaozj2021-02-16  88

The functionality to be implemented;

=> Head portion: customer name: xxxxxxxxxxxxxxxx cargo name: prepReg Copper Clad Laminate (EPOXY LAMINATE)

........................................... => Forms: Project Product number Product name quantity .................... ----------------------- -------------------------------------------------- ------------------------------ 1 7456aba951 xxxx ............... .... 2 7456ABA951 XXXX ..................... 3 87653ba951 xxxx ................... .. -------------------------------------------------- -------------------------------------------------- ---------------------- Description: 1) The product number begins with '7'. The product number is Copper Clad Laminate at the beginning of '8'; 2) If the detail has the product starting with '7', the title of the head is part of the cargo name: if there is no need to display; the same: Header Cargo Name: To display Copper Clad Laminate (EPOXY LAMINATE) If you don't display

There may be three cases: 1) There are two products, such as the picture format; 2) only predeg products; 3) Only Copper Clad Laminate products;

Only the prepReg product report format is as follows: => Head section: Customer Name: xxxxxxxxxxxxxxxxx Cargo Name: PrepReg

=> Table body part: Project product number product name quantity ....................------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ -------------------------------------------------- ------------------------------------- 1 7456aba951 xxxx .......... ........... 2 7456aba951 xxxx ..................... ----------------- -------------------------------------------------- -------------------------------------------------- ---- Only the Copper Clad Laminate product report format is as follows: => Header section: Customer Name: XXXXXXXXXXXXXXXXXXD goods Name: Copper Clad Laminate (EPOXY LAMINATE) => Table Meshics: Item Product Number Product Name Number .... .................. -------------------------------- -------------------------------------------------- --------------------- 1 84436ABA951 XXXX ..... ................ 2 8453434a951 xxxx ..................... ------------ -------------------------------------------------- -------------------------------------------------- ---------- 1) According to the rules of the product classification, there is a predegu and copper clad in PREG and CCL (Copper Clad Laminate 2). Laminate's number; 3) Display the corresponding cargo name according to the corresponding PP and CCL's pen; PS: I haven't thought of better ways, this method is a bit trouble; 1) Define IPP, ICCL IPP: = if MID ({qr_customer_invoice / .catalog_no}, 1, 1) = '7' Then 1ELSE 0; ICCL: = IF MID ({qr_customer_invoice / .catalog_no}, 1, 1) = '8' Then 1ELSE 0 2) Convection to the corresponding IPP, ICCL, then define itotalpp, itotalccl, equal to the corresponding IPP, ICCL summary; itotalpp: = sum ({@ipp}, {qr_customer_invoice / .GROUP_ID}) itotalccl: = sum ({@@

转载请注明原文地址:https://www.9cbs.com/read-11997.html

New Post(0)