Hello together I have a problem with a dataport in Attain 3.60 My Dataport looks like this: Cust. Ledger Entry <Cust. Ledger Entry> .Sales Invoice Header …Sales Invoice Line …Sales Invoice Line PortoZeileSales .Sales Cr.Memo Header …Sales Cr.Memo Line …Sales Cr.Memo Line PortoZeileCredit Integer My Problem is now that the Data from the DataItem Sales Invoice Line(PortoZeileSales) is not written on a new Line. As Property for DataItemSeparator i have . If i Change this to f.e. <CR/LF> i will get my new Line but the Dataport generats also 3 Blank Lines. Can anybody help?
I’m not sure if this is of any help. You may be able to write the CR/LF values directly. [CR and LF are type “Char”] CR := 13; LF := 10; CurrFile.WRITE(CR); CurrFile.WRITE(LF);
I’m not sure exactly what it is you’re trying to accomplish, but if I read your posting correctly your goal is to export (by indenting) the Sales Invoices data and the Sales Credit Memo data attached to each Cust. Ledger Entry record. Obviously there won’t be both Invoice and Credit Memo data attached to a Cust. Ledger Entry record - it’s either (exclusive) or. It follows logically that you’re Dataport will generate 3 blank lines per CLE when using <cr/lf>. DataItemSeparator makes no sense at all [?]