Subversion Repositories SmartDukaan

Rev

Rev 23780 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed

#Generic Errors

GE_1000=User not found
GE_1002=Role is already exist
GE_1003=Email is not verified
GE_1004=Accessed uri is forbidden
GE_1005=Unable to get ok response from server
GE_1006=Unable to connect to server
GE_1007=Internal server error
GE_1008=Cookies are invalid

OK_1000=Migration has been done
OK_1001=Mongo Migration has been done

#Validation
VE_1000=Empty Json request check syntex
VE_1001=Invalid json request check syntex
VE_1002=userId is required
VE_1003=userId can not be blank
VE_1004=emailId is required
VE_1005=emailId can not be blank
VE_1006=roleId is required
VE_1007=roleId can not be blank
VE_1008=roleName is required
VE_1009=roleName can not be blank
VE_1010=interval is empty
VE_1011=interval should be in assending order
VE_1014=privilegeId is required
VE_1015=privilegeId can not be blank
VE_1016=emailId is not valid
VE_1069=mobileNumber is required
VE_1070=mobileNumber can not be blank
VE_1071=mobileNumber is not valid
VE_1072=gstNumber is not valid

VE_1087=errorCode is required
VE_1088=errorCode can not be blank
VE_1089=errorCode should contain 7 characters
VE_1090=errorCode should be of 2 alphabets characters then underscore then 4 digit numeric code
VE_1091=errorMessage is required
VE_1092=errorMessage can not be blank


# User related errors
USR_1000=user not found
USR_1003=role is already added with given user
USR_1004=role is not mapped with given user
USR_1005=token is invalid
USR_1006=unable to verify token from google servers
USR_1007=user is already exist
USR_1008=user not found with the given token
USR_1009=roleTypes not found with given token
USR_1010=unable to parse given token
USR_1011=Unable to create JWT Token, or problem in signing the token
USR_1012=Token has been expired
USR_1013=Requested user is not retailer
USR_1014=Retailer fofo Store has is already created
USR_1015=Saholic user not found

# User related validation errors
USR_VE_1000=firstName is required
USR_VE_1001=firstName can not be blank
USR_VE_1002=lastName is required
USR_VE_1003=lastName can not be blank
USR_VE_1004=emailId is required
USR_VE_1005=emailId can not be blank
USR_VE_1006=mobileNumber is required
USR_VE_1007=mobileNumber can not be blank
USR_VE_1008=gender is invalid, Please choose any one [MALE, FEMALE, OTHER]
USR_VE_1009=token is required
USR_VE_1010=token can not be blank
USR_VE_1011=type is required
USR_VE_1012=type can not be blank
USR_VE_1013=type is invalid, Please choose any one [GOOGLE]
USR_VE_1014=city is required
USR_VE_1015=city can not be blank
USR_VE_1016=pinCode is required
USR_VE_1017=pinCode can not be blank
USR_VE_1018=mobileNumber is invalid length should be 10 digit

# User related response
USR_OK_1000=User has registered
USR_OK_1001=User secondry email has been updated

# Role related errors
ROL_1000=role not found
ROL_1001=role not found with given name
ROL_1002=role is already exist
ROL_1003=api is already added with given role
ROL_1004=api is not mapped with given role
ROL_1005=role not found with given api
ROL_1006=role can not be deleted
ROL_1007=System role can not be deleted
ROL_1008=System role can not be renamed
ROL_1009=Role api mapping not found
ROL_1010=User Role mapping not found

# Role validation errors
ROL_VE_1000=roleName is required
ROL_VE_1001=roleName can not be blank
ROL_VE_1002=roleType is required
ROL_VE_1003=roleType can not be blank
ROL_VE_1004=roleType is invalid, Please choose any one [USER, RETAILER, CUSTOM]
ROL_VE_1005=pricePermission is required
ROL_VE_1006=pricePermission can not be blank
ROL_VE_1007=pricePermission is invalid, Please choose any one [WITHOUT_PRICE, WITH_PRICE]

# Role related ok response
ROL_OK_1000=Role has been created
ROL_OK_1001=Api has been added with given role
ROL_OK_1002=Api has been removed from given role

# Privilege related errors
PRVLG_1000=privilege not found with given id

# Privilege related OK response
PRVLG_OK_1000=privilege has been created
PRVLG_OK_1000=privilege has been deleted

# Api related errors
API_1000=api not found
API_1001=api not found with given name
API_1002=api not found with given uri
API_1003=api is already exist

# Api validation errors
API_VE_1000=apiName is required
API_VE_1001=apiName can not be blank
API_VE_1002=apiUri is required
API_VE_1003=apiUri can not be blank
API_VE_1004=apiMethod is required
API_VE_1005=apiMethod can not be blank
API_VE_1006=apiMethod is invalid, Please choose any one [GET, POST, PUT, DELETE]
API_VE_1007=apiId is required
API_VE_1008=apiId must be positive integer
# Api related OK response
API_OK_1000=Api has been created
API_OK_1001=Api has been deleted
API_OK_1002=Api has been updated


# Address related errors
ADRS_1000=Address not found
ADRS_1001=Address is duplicate

# Address related validation errors
ADRS_VE_1000=name is required
ADRS_VE_1001=name can not be blank
ADRS_VE_1002=line1 is required
ADRS_VE_1003=line1 can not be blank
ADRS_VE_1004=line2 is required
ADRS_VE_1005=line2 can not be blank
ADRS_VE_1006=landmark is required
ADRS_VE_1007=landmark can not be blank
ADRS_VE_1008=city is required
ADRS_VE_1009=city can not be blank
ADRS_VE_1010=state is required
ADRS_VE_1011=state can not be blank
ADRS_VE_1012=pinCode is required
ADRS_VE_1013=pinCode can not be blank
ADRS_VE_1014=country is required
ADRS_VE_1015=country can not be blank
ADRS_VE_1016=phoneNumber is required
ADRS_VE_1017=phoneNumber can not be blank

#Document related errors
DCMNT_1000=Document not found
DCMNT_1001=Unable to detect file type
DCMNT_1002=Unknown file type for file detection

# Shop related errors
SHP_1000=Shop not found
SHP_1001=This is existing document of another shop
SHP_1002=Shop Address is duplicate
SHP_1003=Shop is duplicate
SHP_1004=Shop not found with the given retailer
SHP_1005=Shop document not found
SHP_1006=Shop document file not found

# Recharge Provider related errors
RCHRG_PRVDR_1000=Recharge Provider not found

# Recharge Transaction related errors
RCHRG_TXN_1000=Recharge Transaction not found

# Recharge Operator related errors
RCHRG_OPRTR_1000=Recharge Operator not found

# Item related errors
ITM_1000=Item not found

# Retailer brand errors
RTLR_BRND_1000=Retailer Brand not found

# Fofo partner payment option related errors
FF_PRTNR_PMNT_OPT_1000=Fofo Partner payment option related errors

# Shop related validation errors
SHP_VE_1000=name is required
SHP_VE_1001=name can not be blank
SHP_VE_1002=retailerId is required
SHP_VE_1003=retailerId can not be blank
SHP_VE_1004=documentId is required
SHP_VE_1005=documentId can not be blank
SHP_VE_1006=address is requred

#Retailer related errors
RTLR_1000=Retailer not found
RTLR_1001=Retailer is already exist with given number and type
RTLR_1002=Retailer address is duplicate
RTLR_1003=Retailer is already mapped with the given brand
RTLR_1004=Retailer registered address is already exist
RTLR_1005=Retailer not found with the given brand
RTLR_1006=Retailer not found with the given address
RTLR_1007=Retailer does not exist with given document
RTLR_1008=Fofo Retailer does not exist with given email id
RTLR_1009=Fofo Retailer session is not valid
RTLR_1010=Retailer is not fofo
RTLR_1011=Retailer is already registered with given email
RTLR_1012=Retailer document not found
RTLR_1013=Retailer document file not found
RTLR_1014=Requested retailer is not the owner of the requested document

#Retailer related validation errors
RTLR_VE_1000=name is required
RTLR_VE_1001=name can not be blank
RTLR_VE_1002=number is required
RTLR_VE_1003=number can not be blank
RTLR_VE_1004=type is required
RTLR_VE_1005=type can not be blank, possible values are [TIN, ESTABLISHMENT]
RTLR_VE_1006=monthlySaleValue is required
RTLR_VE_1007=monthlySaleValue can not be blank
RTLR_VE_1008=smartphoneSaleValue is required
RTLR_VE_1009=smartphoneSaleValue can not be blank
RTLR_VE_1010=brandNames are required
RTLR_VE_1011=brandNames must be array
RTLR_VE_1012=recharge is required
RTLR_VE_1013=mobile is required
RTLR_VE_1014=accessories is required
RTLR_VE_1015=other1 is required
RTLR_VE_1016=other2 is required
RTLR_VE_1017=address is required
RTLR_VE_1018=documentId is required
RTLR_VE_1019=documentId can not be blank
RTLR_VE_1020=shop is required
RTLR_VE_1021=Given types are not valid

#Retailer OK response
RTLR_OK_1000=Retailer has been created
RTLR_OK_1001=Retailer is already login
RTLR_OK_1002=Retailer has been login successfully.
RTLR_OK_1003=Retailer fofo Store has been created
RTLR_OK_1004=Retailer fofo Store lattitude longitude has been updated


#Order Related Codes
CART_CHANGED=cart has changed
SELF_PICKUP_NOT_ALLOWED=self pickup not allowed
INVALID_TR_ID=invalid transaction id

#Scan Record and InventoryItem related codes
SCNSR_II_1000=Scan serialized record has been created

SCNNSR_II_1000=Scan non serialized record has been created

# FofoLineItemImei related errors
FFLINITMIMEI_1000=FofoLineItemImei not found

#Fofo Order Item related errors
FFORDRITM_1000=Fofo Order Item not found

#Fofo Order related errors
FFORDR_1000=Fofo Order not found
FFORDR_1001=Given Item Ids quantity does not match the size of given serial numbers
FFORDR_1002=Given item ids selling price must be greater than zero
FFORDR_1003=Given item ids are not completly found in database
FFORDR_1004=Given item ids's serialNumbers are not completly found in database
FFORDR_1005=Given item ids quantity are not sufficient for non serialized items
FFORDR_1006=Unable to prepare cart for placing order.
FFORDR_1007=insurance margin should be greater than equal to item profit margin
FFORDR_1008=insurance sale amount can not be lesser than insurance purchase amount
FFORDR_1009=insurance sale amount can not be greater than than insurance max amount
FFORDR_1010=Given item Ids selling prices should be greater than mop prices
FFORDR_1011=Given item Ids discount amounts should be lesser than discount max prices
FFORDR_1012=Given date of birth is invalid
FFORDR_1013=Given item Id's serialNumbers are invalid for serialized case
FFORDR_1014=Given item Id's serialNumbers are invalid for non serialized case
FFORDR_1015=Given item ids quantity are greater than the available quantities.
FFORDR_1016=Payment options amount is not equal to total amount
FFORDR_1017=Given payment options ids are invalid
FFORDR_1018=Given payment options amount should be greater than zero
FFORDR_1019=Maximum limit reached for the day
FFORDR_1020=Invalid OTP
FFORDR_1021=OTP expired
FFORDR_1022=Maximum try count reached
FFORDR_1023=Quantity are unequal in size

# Fofo Order ok responses
FFORDR_OK_1000=OTP generated less than 2 minutes ago
FFORDR_OK_1001=OTP generated successfully
FFORDR_OK_1002=OTP validated successfully


# ImeiLot related errors
IMEILT_1000=ImeiLot not found

# Imei related erros
IMEI_1000=Imei not found

# InventoryItem related errors
INVNTRITM_1000=InventoryItem not found

# InvoiceNumberGenerationSequence related erros
INVCNMBRGNRTNSQNC_1000=Invoice Number Generation Sequence not found

# Order related errors
ORDR_1000=Order not found

# PaymentOption related errors
PMNTOPT_1000=PaymentOption not found
PMNTOPT_1001=Payment option is already exist

PMNTOPT_VE_1000=Payment option name is invalid

# Prebooking Customer amount related errors
PRBKNG_CSTMR_AMNT_1000=Prebooking customer amount not found

# Prebooking related errors
PRBKNG_1000=Given item id not found in active prebooking listing
PRBKNG_1001=Given item id is alrady booked with given customer mobile number

# Purchase related errors
PRCHS_1000=Purchase not found
PRCHS_1001=Found serial numbers are less in size than given serial numbers
PRCHS_1002=Given serial numbers are invalid
PRCHS_1003=Mentioned Quantity is not same as total invoiced quantity
PRCHS_1004=Serial numbers are duplicate

# Tag related errors
TG_1000=Tag not found
TG_1001=Tag ids not found
TG_1002=Tag item ids not found

# Tag Ok responses
TG_OK_1000=Tag has been created
TG_OK_1001=Tag has been activated
TG_OK_1001=Tag has been deactivated

# PinCodeTag related Errors
PNCDTG_1000=PinCodeTag not found

# PinCodeTag validation errors
PNCD_VE_1000=PinCode is invalid

# PinCodeTag Ok responses
PNCDTG_OK_1000=PinCodeTag has been created
PNCDTG_OK_1001=PinCodeTag has been activated
PNCDTG_OK_1002=PinCodeTag has been deactivated

# Tag Listing related errors
TGLSTNG_1000=Tag Listing not found
TGLSTNG_1001=Tag Listing list is empty

# Tag Listing Ok responses
TGLSTNG_OK_1000=Tag Listing has been created
TGLSTNG_OK_1001=Tag Listing has been activated
TGLSTNG_OK_1002=Tag Listing has been deactivated
TGLSTNG_OK_1003=Tag Listing has updated

# Tag Listing bulk upload validation errors
TGLSTNG_VE_1000=Tag Id header is invalid
TGLSTNG_VE_1001=Tag Label header is invalid
TGLSTNG_VE_1002=Item Id header is invalid
TGLSTNG_VE_1003=Brand header is invalid
TGLSTNG_VE_1004=Model Name is header is invalid
TGLSTNG_VE_1005=Model Number is header is invalid
TGLSTNG_VE_1006=Color header is invalid
TGLSTNG_VE_1007=Selling Price header is invalid
TGLSTNG_VE_1008=Support Price header is invalid
TGLSTNG_VE_1009=Start Date header is invalid
TGLSTNG_VE_1010=Given Cell is invalid
TGLSTNG_VE_1011=Invalid columns expected 11 columns
TGLSTNG_VE_1012=Header is missing in first row

# Excel file validation errors
EXL_VE_1000=Excel File unable to parse

ITM_AGNG_OK_1000=Item Aging report successfully generated

# Retailer Scheme tag errors
RTLR_SCHM_TG_1000=Retailer Scheme tag not found

# Inventory Item tag errors
INVNTRY_ITM_1000=InventoryItem not found


# Scheme tag errors
SCHM_1000=Scheme not found
SCHM_1001=Scheme retailer Ids can not be null or empty
SCHM_1002=Scheme retailer Ids are invalid
SCHM_1003=Scheme item Ids can not be null or empty
SCHM_1004=Scheme item Ids are invalid
SCHM_1005=Scheme is already activated
SCHM_1006=Expired scheme can not be activated
SCHM_1007=Scheme must be activated for expiring
SCHM_1008=Scheme is already expired



SCHM_VE_1000=Scheme name can not be empty
SCHM_VE_1001=Scheme amount must be greater than zero
SCHM_VE_1002=Scheme amount can not greater than 100 if scheme type is percentage
SCHM_VE_1003=Scheme start date can not be null or empty
SCHM_VE_1004=Scheme end date can not be null or empty
SCHM_VE_1005=Scheme start date can not greater than end date

# Prebooking related errors
PRBKNG_LSTNG_1000=Prebooking listing not found
PRBKNG_LSTNG_1001=Prebooking listing is already active
PRBKNG_LSTNG_1002=Expire Prebooking listing can not be active
PRBKNG_LSTNG_1003=Prebooking listing must be active for expiring
PRBKNG_LSTNG_1004=Expire Prebooking listing is already expire

# Recharge Commission related errors
RCHRG_CMSN_1000=Recharge Commission not found

# Wallet related errors
WLT_1000=Wallet has insufficient balance

# District Master related errors
DSTRCT_1000=District not found

# Fofo Store related errors
FOFOSTR_1000=Fofo store not found

# Fofo Store Sequence Generation related errors
FOFOSTRSQNCGNRTN_1000=Fofo store sequence generation not found 

# Gadget Cops Insurance calculation related errors
GDTCPSINSRNCCALC_1000=Gadget Cops insurance calucation not found
GDTCPSServerDown_1000=Could not create policy on Gadget Cop

# Not Buy Back related errors
NTBYBAK_1000=Not Buy back not found

# Otp related errors
OTP_1000=Otp not found

# Policy Number generation sequence related errors
PLCNMBRGNRTNSQNC_1000=Policy number generation sequence not found

# Inventory snapshot related errors
INVNTRYSNPSHT_1000=Inventory Snapshot not found

# Customer address related errors
CSTMRADRS_1000=Customer address not found

# Customer related errors
CSTMR_1000=Customer not found
CSTMR_1001=Customer is already exist
CSTMR_1002=Customer 


# Transaction related errors
TRNSCTION_1000=Transaction not found

# Cart related errors
CART_1000=Cart not found

# Counter related errors
CNTR_1000=Counter not found

# Private Deal User Address related errors
PRVTDLUSRADRS_1000=Private deal user address not found

# Private Deal related errors
PRVTDL_1000=Private deal not found

# Operator related errors
OPRTR_1000=Operator not found

# Recharge Circle related errors
RCHRG_CRCL_1000=Recharge Circle not found

# Recharge validation related errors
RCHRG_VE_1000=Provider name can not be blank
RCHRG_VE_1001=Recharge Type must be 'MOBILE' or 'DTH'
RCHRG_VE_1002=Recharge amount must be greater than zero
RCHRG_VE_1003=Recharge operator name can not be blank
RCHRG_VE_1004=Recharge reference number can not blank 

# Recharge Service related errors
RCHRG_1000=Recharge can not be done due to provider is not active
RCHRG_1001=Recharge check status can not be check after 72 hours of transaction due to provider limitation
RCHRG_1002=Recharge Operator is already exist in recharge commission
RCHRG_1003=Recharge Commission operators are not found, already have been used in recharge commission
RCHRG_1004=Same Recharge Commission details can not be updated
RCHRG_1005=More than 2500 rs recharge can not be done on the same day
RCHRG_1006=Recharge payment option does not match with total amount
RCHRG_1007=Recharge payment option ids are invalid
RCHRG_1008=Recharge provider not found

# Recharge commission related errors
RCHRGCMISN_1000=Recharge commission not found

# price drop related errors
PRCDRP_1000=Price Drop not found

# pending recharge commission related errors
PNDNGRCHRGCMSN_1000=Pending recharge commission not found

# vendor related errors
VNDR_1000=Vendor is already exist with email id
VNDR_1001=Vendor is already exist with mobile number
VNDR_1002=Vendor not found

# warehouse related errors
WRHS_1000=Warehouse is already exist with name

# admin current inventory snapshot related erros
ADMN_CRNT_INVNTR_SNPSHT_1000=Admin current inventory snapshot not found

# admin inventory item related errors
ADMN_INVNTR_ITM_1000=Admin inventory item not found

# admin scan record related errors
ADMN_SCN_RCRD_1000=Admin scan record not found

# admin delivery note related errors
ADMN_DLVR_NT_1000=Admin delivery note not found

# delivery note id generation sequence related errors
DLVR_NT_ID_GNRTN_SQNC_1000=Delivery note id generation sequence not found

# partner current inventory snapshot related erros
PRTNR_CRNT_INVNTR_SNPSHT_1000=Partner current inventory snapshot not found

# Partner inventory item related errors
PRTNR_INVNTR_ITM_1000=Partner inventory item not found

# partner scan record related errors
PRTNR_SCN_RCRD_1000=Partner scan record not found

# user warehouse related errors
USR_WRHS_1000=User warehouse not found

# thrift related errors
THRFT_1000=Unable to fetch items state tax rate
THRFT_1001=Unable to fetch item tax rate

# category related errors
CTRGY_1000=Category not found

# daily recharge related errors
DLYRCHRG_1000=Daily recharge not found

# insurance provider related errors
INSRNC_PRVDR_1000=Insurance provider not found

# nonbillable items related errors
NNBLBL_ITM_1000=Requested quantity can not be more than available quantities
NNBLBL_ITM_1001=Requested quantity should be equal to serial numbers size
NNBLBL_ITM_1002=Given delivery note is already completed