Printing Serials with ALD print first serial double in last row

Hallo,
when we print serials the first serial will be printed  in a additionally last row befor the next article will be print out.
Example:
Article      quantity    
4711         3
Serial: abc
Serial: def
Serial: ghi
Serial: abc <- This line is unnecessary and should not
               be print out
To print the serial numbers we use the following formula:
if(Belegzeile.Seriennummer.Seriennummer<>"", "Seriennummer: " + Belegzeile.Seriennummer.Seriennummer ,"") 
Datstellungsbedinung:
Previous (Belegzeile.Zeilennummer) = Belegzeile.Zeilennummer and Previous (Belegzeile.Seriennummer.Seriennummer) <> Belegzeile.Seriennummer.Seriennummer
The Version of the ALD ist 6.70.1.5
Any Idea?
Best regards,
Michael

Hi,
Check SAP Business One Customer Portal on The Marketplace.
Search the Hint Nr. 813796
"... It is possible to create a data line definition for a document line and its item information. Also
it is possible to create a data definition line for all serial number information using ONLY fields from the
node "DocumentLine(s)->SerialNumber")
IT IS NOT ALLOWED TO MIX THE FIELDS!
How to identify the different line types?
The designing tool has to identify which line type should be printed, e.g. should data definition line for the
document line or the data definition line for the serial number be printed
There is a Field below the folder "DocuemtLine(s)" named "LineType". This line type identifies which line
definition should be used. Use this field as an appearance condition for the several data definition lines.
e.g. Use the data definition line or the serial number only if DocumentLines.LineType = "SRI", or use the
fields of the document line and the item only if DocumentLines.LineType = "R"
Which line types do exist?
Currently the following line types exist
LineType Description Valid Folder
"S" "Summation" (DocumentLines->Structure)
"T" "Text" (see LineType "S")
"IBT" "Batch Number" (DocumentLines->BatchNumber)
"SRI" "Serial Number" (DocumentLines->SerialNumber)
"R" "Regular Item" (Everything else but above)
"A" "Alternative Article" (see LineType "R")
this Doc may help

Similar Messages

  • Adobe Encore CS6 cannot run in non-royalty serialized mode. The application needs to be serialized with a royalty bearing serial number

    Adobe Encore CS6 cannot run in non-royalty serialized mode. The application needs to be serialized with a royalty bearing serial number.

    This is an activation issue. its solution has changed over time. Assuming you have a cloud subscription, see this.
    http://helpx.adobe.com/premiere-pro/kb/features-presets-missing-premiere-pro.html

  • HT4910 Print calendar with AirPrint printer?

    How can I print calendar with AirPrint printer?

    There is an App called CalPrint which can print calendar information.
    See: https://itunes.apple.com/us/app/calprint-for-iphone-calendar/id385149531?mt=8

  • Windows 8 printing problem with 2575 printer

    My Photosmart 2575 printer worked ok with windows XP on my old Dell computer. On my new Lenovo Windows 8 computer using the usb printer connector there is a problem.
    When I try to print a word document it prints the first 6 to 8 lines of the document and then displays "printing"  and hangs, so I have to cancel the print. When I re-try the printing, it again prints 8 or so lines of the documentand, ejects the paper and says "out of paper". When I reload the paper it prints the document successfully.

    @dave_sk, Welcome to the forums!
    I read about the troubles you are now having when trying to print from your Photosmart 2575 to your Windows 8 system. I sure hope I can help you through this obstacle and have you printing again!
    I would first like to mention the error message you see when trying to print. Here is the troubleshooting guide to work through the "Out of Paper" error, please try all the steps:
    HP Deskjet, Photosmart, and PSC All-in-Ones - 'Out of Paper' Error Message and the Printer Does Not ...
    Hopefully you can print without the error message however, if you see it again, run the Print and Scan Doctor. This diagnostic tool will check for any conflicts that could be causing the issue. The tool will show you a report at the end. If there was a problem that the tool could not fix, you will notice it in the results.
    Please write back with the outcome and also the results from running the PSDr.
    Click the thumbs up button below to give me a kudos for trying to help!
    Good luck
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Adobe reader XI: doule sided print problem with network printer (windows 8 pro)

    Hi, I'm facing a problem with my old printer, the xerox phaser 3160n. It was connected to my notebook through network connection, and everything works well with Adobe X /Win 7 OS (including the double side print, of course) last month, I have upgraded my NB to windows 8 with clean install
    clean install my printer driver for windows 8 too, and Adobe reader XI was also downloaded through official website.
    However, since I was about to use double sided print in Adobe reader XI (11.00.02) it couldn't obey the order, but just print one side as usual
    I have checked the "option" of my printer, and it was correctly set to "double-sided print". I have tried word 2013 to open the same pdf, and choose the same "double-sided print" and it works perfectly.
    Is this problem a bug? and would it be corrected in the next update version??
    (I remeber I've saw a similar issue too, with network printer, but I couldn't find it)
    Thanks!!!

    Hi,
    Meanwhile, after insatlling the latest driver for printer from the manufacture website, restart the spooler service as a test.
    Start > Run > cmd and type "net stop spooler" after that "net start spooler" or start > run > service.msc and restart it over the GUI.
    Run Printer Troubleshootor under Action Center\Troubleshooting\Programs\Printer, and check if it helps.
    And yes, the manufacture should have more sence about the printer, it's recommended to contact them.
    Yolanda Zhu
    TechNet Community Support

  • Remote Desktop Services Printer Redirection with easy print not working as Desired

    Hi,
     I have a Terminal Server Farm with a number of Windows Server 2008 R2 Remote Desktop Session Host Servers in the Environment. There is also a RD Gateway server which is used to connect to the RD Session host servers in the environment. We
    had configure the policy "Use Terminal Services easy Print Driver First" for all the RD Session Host servers. Everything was working well untill a couple of users Complaint about slow printing on Easy Print. While trying to troubleshoot the issue we came
    to know that when we by-pass the RD Gatewat and make a Direct connection to the RD Session Host Servers we are able to Print Really fast using Easy Print. Only When we use the RD gateway server we get the problem with the Printing.
     As we could not get through this problem and we are not in a condition to by-pass RD Gateway for connections we decided to put the TS Easy print Driver as a Second option. We went ahead and identified the 3 printers for which printing was slow. we
    Installed the Drivers for the same printers on all the Terminal Server and Disabled the policy "Use Termianl Server Easy print Driver First". After this we were able to print fast on the 3 printers having Slow printing issues. All the other Printers were using
    Easy print.
    After a day we realised that there were more than 20 drivers for Different printers installed in the Print Server Properties. We started getting viered problems with the Printing on all the Terminal servers like, Print Spooler Service Crashing, Hanging,
    Users not able to redirect printers at all. To avoid this we Removed the Driver Packages but they came back the very next day.
     I am not sure what could be causing this kind of behavior. I would really appriciate if someone can help he with these two problems
    1) Easy print Working Slow only when using RD Gateway Server
    2) Printer Drivers Getting installed on Terminal Servers when Easy Print Policy is disabled.

    1) Easy print Working Slow only when using RD Gateway Server
    > Difficult to track down especially through forum. Looking for some known issues/hotfixes
    954743 FIX: After you apply hotfix 954744, printing performance may be significantly slower when you print documents by using Terminal Services Easy Print
    http://support.microsoft.com/?id=954743  
    The Remote Desktop Easy Print (RD Easy Print or TS Easy Print) uses the XPS print driver that ships with .NET Framework.
    2) Printer Drivers Getting installed on Terminal Servers when Easy Print Policy is disabled.
    > If Easy print is not the first driver then it installs the driver if they are InBox drivers
    > If these are non-inbox drivers - This is because administrators are RDPing to the server from another PC with several printer/drivers installed.
    When they RDP with printer redirection enabled, the drivers get automatically installed.
    To avoid this, either turn off printer redirection at server level from RDP-TCP properties - might not be feasible if users need redirected printers
    Else make sure that when admins RDP, printer redirection is turned off so that drivers are not automatically installed
    This was a major issue in 2k3, i havent tested it in 2k8 though
    This behavior is related to the change you made in Easy print driver behavior
    Sumesh P - Microsoft Online Community Support

  • PSE 9 printing problem with Epson printer

    hello there,
    I am using PSE 9  with Windows XP and Epson 3880 printer. I have re-installed all programs/drivers a couple of times. PSE9 Printer dialogue will not let me print choosing "Let Photoshop Manage Colour".  It will only let me print with "Let Printer Manage Colour".  I am using Epson papers.
    When I select "Let Photoshop Manage Colour", a box appears saying "ICC profile no longer available" and it won't let me print.  Is this a PSE 9 problem or an Epson problem?
    thanks !!!

    Well, I actually found the answer. I spoke to an Epson Rep!
    I used to have the Epson 2200 printer, then the Epson 3800, and now I use the 3880 printer on Windows XP and Windows 7 on my laptop.
    When you uninstall the other 2 printers, the color profiles are still in your program files and can become corrupted.
    This is why, in PSE 9, when I checked the box Let Photoshop Elements Manage Colour, it woildn`t print and instead there was the pop-up box ``ICC profile no longer available`` because it was trying to access the old paper profiles and not the ones that came with the 3880. I use Epson papers, by the way.
    The solution was to go into C-Drive, Program Files, System 32, spool,drivers, colour, and this opens to the ICC profiles used by the printer. Then I deleted the old paper profiles associated with my former printers.
    And it worked !!

  • Printing Problem with Wipro Printer

    hi ,
    i have developed the smartform which contain page format of size height DINA4 .when i am giving print in wipro dot printer it is printing in correct postion in first page but in next page it displaying below the postion what i am given .plz tell me how to solve the problem.

    Hi,
    If you are using front end printing then try just by changing the device types it would work.Also check your printer settings at your end.
    Regards,
    Vamshi.

  • Printing Problem With Wipro Printer its very urgent

    hi ,
    i have developed the smartform which contain  page format of size height DINA4  .when i am giving print in wipro dot printer it is printing in correct postion in first page but in next page it displaying below the postion what i am given .plz tell me how to solve the problem.
    Edited by: srinivas peram on Mar 29, 2008 7:00 AM

    Hi,
    If you are using front end printing then try just by changing the device types it would work.Also check your printer settings at your end.
    Regards,
    Vamshi.

  • Printing problems with new printer

    I printed out two different InDesign documents last week with my ailing Epson R260 inkjet printer and everything printed fine (with the exception of the printer head problems with the R260).
    I purchased and installed a new Epson Artisan 50 (which is supposedly the successor to the R260) today, and when I print out the same documents the images and text are reduced in size by about 1/3 and part of the page is not printing. I have made no changes to the InDesign files so I don't understand why I am having this problem. Hope someone can help.

    From ID's print dialog, have you entered the Artisan's Advanced Features (the Setup button at the botton of the Print dialog). The doc could be calling up info from the last printers features.
    Also, the drivers on that CD could be old, always check for Driver Updates from the manufactures site when installing anything.

  • Printing dashboard with network printer

    Is there any way to send/print the dashboard page to physical network printer? i am having links to HTML print and PDF print. But i want to print with network printer. please give some suggetion.
    thanks

    Currently there is no out of the box solution. But with some amount of work you can make it very robust by using ibots and BI Publisher Java APIs. You need to basically call the delivery manager API from the ibot. You can pass the output of a dashboard to the API which can print to a local printer. I have an example in my blog entry here http://oraclebizint.wordpress.com/2008/02/01/oracle-bi-ee-101332-calling-bi-publisher-java-apis-from-ibots-storing-reports-in-file-system-using-delivers-and-bi-publisher-scheduler/. Though this talks about storing the reports in a file system, the idea is the same. Instead of a file-system destination use printer as the destination.
    Thanks,
    Venkat
    http://oraclebizint.wordpress.com

  • Printing differ with differ printer

    hi all,
    i am facing problem while printing script result showing different display with diff. printer.
    Issue is : printing more characters in column so, all other  column values are shifting right side while with another printer it is printing correct.
    thanks

    Hi,
    Its problem with paragraph formats that can't support
    need to mange by creating different paragraph formats & use
    left ,centre allignments based on your requirement
    & check its allignments
    check the font family in the previous forms which are working properly.
    Thanks,
    Phani.

  • Print PDF with special print options of Canon IR printer

    Hi,
    We have a collection (db driven) of PDF documents that we want to send to our network printers. Some document need a hole punch of some other specific printeroptions of a Canon IR printer.
    The ideal solutions is a windows application where i could define virtual printers with their print options (pdf and printer specific).
    Eg:
    A user creates in a the windows app a virtual printer with name and print options
    - FastPunch: Printer IR5570 with hole punch
    - Fast: Printer IR5570
    - Color: IR C4080
    - ColorBooklet: IR C4080 with booklet options
    When the app starts its batch it will look at de db and find rows with an PDF and the name of a virtual printer. The documents are printed with specific printer preferences.
    Does someone has experience with such an solution? Tips?
    Someone wants to make this in vb.net (or c#)? What cost?
    gtx, Pierre

    I have downloaded the Acrobat SDK but I haven't really waded through the documentation or samples yet. I've only been working on this project for about 3 days now and not full time. This isn't the highest priority at work. I've worked a bit with the adobe reader control and that looks like it has some promise.
    I have two significant problems:
    1) I don't want the user to see any windows appear other than my console application. That way I have it working right now, Acrobat is required and appears minimized while the file is spooled and then is closed after spooling completes. Not so horrible but I'd like to get away from it if possible. To print the file right now I'm using the startprocess module or something (new version of shell I think). I'm starting the pdf with the verb "Printto" and that tells Acrobat to print to a printer that I specify.
    2)Biggest problem. I have no reliable way to change the number of copies or any other print settings. I am not willing to write a program that spools a single copy multiple times just to get multiple copies. Currently my program uses rundll to open a printer preferences dialog, and SendKeys to modify the print settings. This means that the computer cannot be used while automated printing is occurring.
    Right now the program's only saving grace is that it allows the user to be ignorant of the job settings so that all the user has to do is indicate an item number and quantity and walk away (hoping nothing changes the focus and derails SendKeys - but we know that kind of thing never happens in XP :P )

  • Smart form printing issue with LOCL printer and SAP printer

    Hi,
    The issues are as follows:
    1. the top portion of the Invoice and PO does not print when using the SAP printer (works when using LOCL)
    2. the shaded areas of the Order Confirmation and Invoice are black when printing to a SAP printer (works when using LOCL)
    In an attempt to correct the printing issue is was suggested that we change the SAP printer device type from HPLJ4 to POST2. This did address the problem where the shaded areas were black but then we received reports that other reports printed "garbage". Its possible that using POST2 device type causes issues when printing to HP compatible printers.
    Apparently all the testing was done using the SAP printer LOCL and not the SAP printer name and SAP spool system. LOCL uses the SAP GUI and Windows system to produce the output. Our production users at the plant site and Toledo are using SAP defined printers with the device type of HPLJ4. HPLJ4 is our standard here as OC for our printer definitions and we have HP compatible printers installed in our Toledo location and all of our remote sites. We need to be able to correctly print the Invoices, Purchase Orders, Sales Order Confirmations on our SAP printers.
    What can be done to the reports to allow them to print on our HPLJ4?
    Thanks,
    Babu

    Hi Prathap,
    Check the background shading of the windows of the Smartform where you get the black boxes. If it is set something like this:
    Color: White
    Saturation: 100%
    this can be the problem.
    I know it is strange but some black and white printers cannot handle this setting. They only know one color black so the ignore the color setting and just take the saturation 100% setting.
    The reason it works with local and device type SAPWIN is that the print data is created in Windows and sent to the printer as graphic.
    Please change the shading for window MAIN -> tab 'Output Options' to:
    Color: Black
    Saturation: 0%
    and this should resolve the problem.
    Then create a new spool and check if the problem is resolved. See SAP Note #400050.
    Regards,
    Prabhu

  • Printing HTML with Java Printing Service(JDK1.4 beta)

    Hi there!
    I'm currently checking out the new Java Printing Service (JPS) in the new JDK1.4 beta. This looks like a very promising printing API, with amongst others printer discovery and support for MIME types - but I have some problems with printing HTML displayed in a JEditorPane.
    I'm developing an application that should let the user edit a (HTML)document displayed in a JEditorPane and the print this document to a printer. I have understood that this should be peace-of-cake using the JPS which has pre-defined HTML DocFlavor amongst others, in fact here is what Eric Armstrong says on Javaworld (http://www.javaworld.com/javaone01/j1-01-coolapis.html):
    "With JPS, data formats are specified using MIME types, for example: image/jpeg, text/plain, and text/html. Even better, the API includes a formatting engine that understands HTML, and an engine that, given a document that implements the Printable or Pageable interface, generates PostScript. The HTML formatting engine looks particularly valuable given the prevalence of XML data storage. You only need to set up an XSLT (eXtensible Stylesheet Language Transformation) stylesheet, use it to convert the XML data to HTML, and send the result to the printer."
    After one week of reasearch I have not been able to do what Armstrong describes; print a String that contains text of MIME type text/html.
    I have checked the supported MIMI types of the Print Service returned by PrintServiceLookup.lookupDefaultPrintService(). This is the result:
    DocFlavor flavor = DocFlavor.INPUT_STREAM.GIF;
    PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
    aset.add(MediaSizeName.ISO_A4);
    aset.add(new Copies(2));
    PrintService[] service = PrintServiceLookup.lookupPrintServices(flavor,aset);
    if (service.length > 0) {
    System.out.println("Selected printer " + service[0].getName());
    DocFlavor[] flavors = service[0].getSupportedDocFlavors();
    for (int i = 0;i<flavors.length;i++) {
    System.out.println("Flavor "+i+": "+flavors.toString());
    Selected printer \\MUNIN-SERVER\HP LaserJet 2100 Series PCL 6
    Flavor 0: image/gif; class="[B"
    Flavor 1: image/gif; class="java.io.InputStream"
    Flavor 2: image/gif; class="java.net.URL"
    Flavor 3: image/jpeg; class="[B"
    Flavor 4: image/jpeg; class="java.io.InputStream"
    Flavor 5: image/jpeg; class="java.net.URL"
    Flavor 6: image/png; class="[B"
    Flavor 7: image/png; class="java.io.InputStream"
    Flavor 8: image/png; class="java.net.URL"
    Flavor 9: application/x-java-jvm-local-objectref; class="java.awt.print.Pageable"
    Flavor 10: application/x-java-jvm-local-objectref; class="java.awt.print.Printable"
    As you can see there is no support for text/html here.
    If anyone has a clue to what I'm missing here or any other (elegant, simple) way to print the contents of a JEditorPane, please speak up!
    Reply to: [email protected] or [email protected] or here in this forum

    Since you have 'printable' as one of your flavors, try this using a JTextPane (assuming you can dump your HTML into a JTextPane, which shouldn't be a big problem)...
    1. Have your JTextPane implement Printable
    ie. something like this:
    public class FormattedDocument extends JTextPane implements Printable 2. Read your HTML into the associated doc in the text pane.
    3. Implement the printable interface, since you have it as one of your available flavors (I'd imagine everybody has printable in their available flavors). Something like this:
    public int print(Graphics g, PageFormat pf, int pageIndex) {
            Graphics2D g2 = (Graphics2D) g;
            g2.translate((int)pf.getImageableX(), (int)pf.getImageableY());
            g2.setClip(0, 0, (int)pf.getImageableWidth(), (int)pf.getImageableHeight()); 
            if (pageIndex == 0)
                setupPrintView(pf);
            if (!pv.paintPage(g2, pageIndex))
                return NO_SUCH_PAGE;
            return PAGE_EXISTS;
        }Here's my setupPrintView function, which is executed once on page 0 (which still needs some polishing in case I want to start from page 5). It sets up a 'print view' class based on the root view of the document. PrintView class follows...
    public void setupPrintView(PageFormat pf) {
    View root = this.getUI().getRootView(this);
            pv = new PrintView(this.getStyledDocument().getDefaultRootElement(), root,
                               (int)pf.getImageableWidth(), (int)pf.getImageableHeight());Note of obvious: 'pv' is of type PrintView.
    Here's my PrintView class that paints your text pane line by line, a page at a time, until there is no more.
    class PrintView extends BoxView
        public PrintView(Element elem, View root, int w, int h) {
            super(elem, Y_AXIS);
            setParent(root);
            setSize(w, h);
            layout(w, h);
        public boolean paintPage(Graphics2D g2, int pageIndex) {
            int viewIndex = getTopOfViewIndex(pageIndex);
            if (viewIndex == -1) return false;
            int maxY = getHeight();
            Rectangle rc = new Rectangle();
            int fillCounter = 0;
            int Ytotal = 0;
            for (int k = viewIndex; k < getViewCount(); k++) {
                rc.x = 0;
                rc.y = Ytotal;
                rc.width = getSpan(X_AXIS, k);
                rc.height = getSpan(Y_AXIS, k);
                if (Ytotal + getSpan(Y_AXIS, k) > maxY) break;
                paintChild(g2, rc, k);
                Ytotal += getSpan(Y_AXIS, k);
            return true;
    // find top of page for a given page number
        private int getTopOfViewIndex(int pageNumber) {
            int pageHeight = getHeight() * pageNumber;
            for (int k = 0; k < getViewCount(); k++)
                if (getOffset(Y_AXIS, k) >= pageHeight) return k;
            return -1;
    }That's my 2 cents. Any questions?

Maybe you are looking for

  • External hard drive will not show up on my desktop?!?!

    I have a 2 TB G-Technology G-Drive) external hard drive and when I plug it in to my macbook pro via firewire and turn it on, nothing happens. The light on the HD is on but no HD shows up on my desktop? Any help would be great! Thanks!

  • CS5 crash when synchronize document styles in a book

    Hi I work with ID C5, Windows XP pro Have a book with few documents When trying to synchronize (styles, swatches.. ) the documents of the book, ID crashes reporting "Win32 exception unhandled in Indesign.exe (with numbers 4452 or 1632 )". after readi

  • How i can make VPN connection in my app really need

    I need to make an app which thro VPN takes data from server How To make a VPN connection?

  • Apps on CC menu

    I subscribe to a single apps: Dreamweaver CC.  On the Adobe CC Menu there are Apps that have "Try" or "Install" buttons. Are those Apps with "Install" next to them (Bridge CC, Adobe Scout CC, Extension Manager CC, etc)  available for a single apps su

  • HOW TO FIX MOUNT ISSUE ON OSX 10.8.3 AND ENCRYPTED EXTERNAL DRIVES

    OSX version 10.8.3 doesn't mount my encrypted external drive (MAC OSX extended journalled encrypted). When I enter my password the window greys out and stays there forever without mounting the drive. I have two seperate drives on this HDD ( one Fat a