Overflow in Decimal
 
            
                
                    abhinavmehra                
                
                    Member Posts: 34                
            
                        
            
                    Hi To all....
I am stuck in 1 problem.....
When i am posting PO,it gives an error "Overflow in Decimal"
I have customize the RG 23 D table and entry will go there.
But its running perfect in test database,creating problem in Live...
Please give me the solution as soon as possible...
Thanks in advance
                I am stuck in 1 problem.....
When i am posting PO,it gives an error "Overflow in Decimal"
I have customize the RG 23 D table and entry will go there.
But its running perfect in test database,creating problem in Live...
Please give me the solution as soon as possible...
Thanks in advance
0                
            Comments
- 
            Check with Debugger where exactly you are getting problem..
 You may be assigning to a small length variable..0
- 
            But Decimal has no length....
 I check my debugger also....
 3 field r there...
 Amount, Exciece Base Per unit, Quantity
 They r decimal.....0
- 
            Check DecimalPlaces property..
 Check where exactly debugger is stopping..not the all decimals..0
- 
            U can Check alos in Standerd....Codeunit 13701
 Triger
 InitRG23Dpurch0
- 
            Debugger Gave an error in
 RG23D Insert(True);0
- 
            why should I check?
 tell the exact code where you are getting error?0
- 
            I already set DecimalPlace property 1:40
- 
            Hey in there some problem....
 Debugger will stop when i insert
 RG23D."Vendor Invoice No." := PurchHeader."Vendor Invoice No.";
 RG23D."Detail RG 23 D Entry No." := DetailRG23D."Entry No.";
 VENDor.GET("Buy-from Vendor No.");
 RG23D."Vendor Type" := VENDor."Vendor Type";
 RG23D."Setoff Available" := "SetOff Available";
 GetRGEntryNo(RG23D."Posting Date",4,RG23D."E.C.C. No.",RG23D."Document No.",RG23D."RG Entry No.");
 RG23D.Amount:=RG23D."Excise Amt Per Unit"*RG23D.Quantity;
 RG23D.INSERT(TRUE);0
- 
            abhinavmehra wrote:RG23D.Amount:=RG23D."Excise Amt Per Unit"*RG23D.Quantity;
 I guess you are getting error in above code
 Is this customized code?
 Check the values in RG23D."Excise Amt Per Unit" and RG23D.Quantity0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 323 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
