Quantcast
Channel: Dynamics User Group
Viewing all articles
Browse latest Browse all 15740

How to skip CSV Header Line?

$
0
0

Hi Expert,

 

       I want to skip description/header/title  when i import the data.

 

1. I close Auto Save - No.

2.

Item-Test OnBeforeImportRecord()

 IF CurrFile.POS = 0 THEN
         CurrDataport.SKIP;

 

-------------------------------------------

I get this error.

Item Category Code is too long. The text in code fields can have a maximum length of 10 char:

 

I skip 1st line but it show that error. Why? How to skip header/title/caption?

 

'My Data

Item No,Alternative Item No,Description,descr,Description 2 (Text 30),Item Category Code,Product Group Code,Base Unit of Measure,Purch Unit of Measure,Sales Unit of Measure,Gen Prod Posting Group1,GST Prod Posting Group,Inventory Posting Group,Shelf No,Item Disc Group,Unit Price,Price/Profit Calculation,Profit %,Costing Method1,Unit Cost,Standard Cost,Lead Time Calculation,Reorder Point,Maximum Inventory,Reorder Quantity,Reserve,Scrap %,Minimum Order Quantity,Maximum Order Quantity,Safety Stock Quantity,Safety Lead Time,Replenishment System,Reordering Policy,Reorder Cycle,Include Inventory,Rounding Precision,Item Tracking Code,Serial/Lot Nos
CL-7190-12 R.02,,SR20 FXT (7.09*3.66) - 125*2*1,"00*2*PP-2""EB*PH",,,,UNIT,UNIT,UNIT,FG,GST7,FG,,FG,,Profit=Price-Cost,,Average,,,,,,,Never,,,,,,Produce,Fixed Reorder Qty.,,,,,

 

Regards


Viewing all articles
Browse latest Browse all 15740

Trending Articles