my knowledge has fogged a bit cuz I don't deal w/ this much anymore, but here's hopefully an understandable explanation:
To put in simple terms, w/in a cash account, all purchases must be paid for before sold.
So if your account was flat, zero balance and you purchased a security then...