Auto generated item lookup codes and customer numbers

Dear King, you can do so to create the trigger of database, but there is one issue, the UI(user intereface) has it own validation in RMS. mean whenever you create new item the UI of RMS> Item Screen give you warning that you must enter the item lookup code. you can do so by entering anything may be one numerical character but the system generate the code base on the below trigger as item lookupcode : here is the code: CREATE TRIGGER CreateLoookupCode ON Item FOR INSERT AS

UPDATE Item SET ItemLookupcode=(Select Max(B.ItemLookupcode)+1 from item As B) FROM Item INNER JOIN Inserted ON Item.ID= Inserted.ID

Before try make sure that you understand the code. If solution is good please rate me.

"knightsbridge" wrote:

Reply to
Akber Alwani
Loading thread data ...

Hi King, Regarding the customer it is default feature mean if you not provide the account no to customer the system automatically create it.

For the item is not not avaialble however there might be some customizati> Is there a way to have Item lookup codes and customer numbers automatically

Reply to
Akber Alwani

Our coding scheme currently uses 6 digit numerical item codes, for example

104564.

"Akber Alwani" wrote:

Reply to
knightsbridge

Is there a way to have Item lookup codes and customer numbers automatically generated in RMS? Apprecite the help!

Reply to
knightsbridge

Digtial retail solutions has an addon for this works great

Reply to
Rick

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.