Hi friends
I have a problem in number series, In number series setup, the Number given in for posted Shipment S-001,and the shipment crossed S-999, the number series is properly generating but in list view S-1000 is shown below S-100 and not below S-999. Can someone suggest some solution for it.
Thanks
0
Comments
Check property "SQL Data Type" on your field in table.
Variable type in Navision will be mapped to SQL Server data type as follows:
Integet --> Integer
Option --> Integer
Code --> Varchar / Integer / Variant
Text --> Varchar
Decimal --> Decimal (38,20)
Date/Time/DateTime --> DateTime
Boolean --> TinyInt
Binary --> Varbinary
BLOB --> Image
DateFormula --> Varchar
TableFilter --> Varbinary
BigInteger --> Bigint
Duration --> BigInt
GUID --> UniqueIdentifier
RecordID --> Varbinary
Also, if you change the property to "Integer", then you can't use alphanumeric Signs. This is not so good, also better -> variant.
But :-( "Integer" / "Variant" can't handle leading Zeros. so the following recs exists, 1, 01, 00001 so you have, after changing the property 3 recs with the same Primary key. And this is :-(
So VarChar for code is not realy a problem, because it's alphanumeric sotring.
You can also change you numberseries to:
Start: S-000000001
End: S-999999999
Warning:
S-999999800
Regards
S08-000001..S08-999999
S09-000001..S09-999999
S10-000001..S10-999999
S11-000001..S11-999999
and you have enough space to generate the documents. And you know how much documents per year you need and thus how long the number must be...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.