Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

VB.net POS and Inventory System Problem

napakaubod

Recruit
Basic Member
Messages
6
Reaction score
0
Points
16
Hi mga ka-Symb,

I need help po sa mga nakakaalam jan. May Point of Sale and Invetory system po ako na isinulat sa VB.net 2015 and ang database na gamit ko is XAMPP. Not very good at programming. Nagpapatulong lang ako sa kaibigan ko. :p

Ang problem ko lang sa ngayon is yung sa user. Gusto ko sana kapag gumawa ako ng bagong account sa system, may choices ako kung ang account type is for Sales clerk, Inventory clerk or Admin. and then, if pang Sales clerk yung type ng account, restricted siya for adding or editing inventory, and adding or deleting user accounts. para sa sales lang siya. Same with Invetory Clerk, restricted siya for adding and deleteing user accounts, and sales. Well for Admin, it have absolute control of the system.

Nakaattach yung overview ng POS System ko.

I hope may makatulong. :pray: Thanks in advance.

PS:

Any help would be appreciated. Kahit yung ways lang kung paano gawin/ayusin yung problem ko. or any better, penge na lang ng working system kung pwede. hehe! :lol:
 

Attachments

  • POS.JPG
    POS.JPG
    27.7 KB · Views: 89
if check mo if ang account type is admin , sales clerk or inventory clerk.
For example if nag log in ang isang account at itoy admin full control siya

mag if-else ka sa login part.
if(accounttype=="admin")
{
//code goes here
//full control
}
else if (accounttype="salesclerk")
{
//code goes here
//required functions by the sales clerk will only enabled
}
else
{
//code goes here
//required functions by the inventory clerk will only enabled
}

Flow lang sinulat ko..
 
Hi mga ka-Symb,

I need help po sa mga nakakaalam jan. May Point of Sale and Invetory system po ako na isinulat sa VB.net 2015 and ang database na gamit ko is XAMPP. Not very good at programming. Nagpapatulong lang ako sa kaibigan ko. :p

Ang problem ko lang sa ngayon is yung sa user. Gusto ko sana kapag gumawa ako ng bagong account sa system, may choices ako kung ang account type is for Sales clerk, Inventory clerk or Admin. and then, if pang Sales clerk yung type ng account, restricted siya for adding or editing inventory, and adding or deleting user accounts. para sa sales lang siya. Same with Invetory Clerk, restricted siya for adding and deleteing user accounts, and sales. Well for Admin, it have absolute control of the system.

Nakaattach yung overview ng POS System ko.

I hope may makatulong. :pray: Thanks in advance.

PS:

Any help would be appreciated. Kahit yung ways lang kung paano gawin/ayusin yung problem ko. or any better, penge na lang ng working system kung pwede. hehe! :lol:


Ganto logic idol

sa database mo may table ka ng users

Columns
-UserName / Username ng user
-Password / Password ng user
-Name / Name ng user
-Account type / kung anung type ng user may tagging na Sales clerk, Inventory clerk or Admin


Process sa login form

kapag successful login mo sa system. Iququery mo kung anung account type niya

sa system may logic kna na kapag

if user = "Sales clerk" then
MnuSomeform.enabled = false]
end if
 
gawin mo muna yung simpleng Else If.. hindi ba tinuro yun sa school?
 
Hi mga ka-Symb,

Thanks! Itry ko po ito.

Actually nagbalik school lang ako. Working student kasi ako. Thesis(Capstone) na lang ako and onting subjects, hopefully grumaduate na. :lol: Ang tagal kong nahinto sa programming so wala ng praktis. hindi ko na din maalala mga natutunan ko nun. hehe.

Anyway thank you po. Subukan ko muna lahat tong sinuggest niyo. Sana nanjan pa din kayo kapag kelangan ko pa ng tulong. hehe! :lol::pray::p:)
 
idol pde makahingi ng related studies mo na kopya pa pm nlang po kung ok lang salamat
 
lalagyan mo sya ng tinatawag na user role or user privilege kung hanggang saan lang sya applicable na area, for admin may full access sya so lahat ng menus mo nakaenabled kung ibang user naman naka disable
 
lalagyan mo sya ng tinatawag na user role or user privilege kung hanggang saan lang sya applicable na area, for admin may full access sya so lahat ng menus mo nakaenabled kung ibang user naman naka disable

Hi Sir,

Thank you po dito. Pwede po ba pahingi ng sample code for this? sa login form ko ba siya ilalagay?

Thanks in advance.
 
Back
Top Bottom