Custom Bid and Invoice Numbers
Posted: Thu Oct 14, 2010 6:55 pm
We've always used MYOB for generating project estimates or bids. It has it's good and bad points. The good is that once a project is complete the estimate can be easily turned into an invoice within the accounting package. The bad is that we have one seat, so when an estimate needs to be done, the person occupying that seat (our bookkeeper) has to go make herself a cup of tea. Another downside is that tracking the estimate alongside the project is awkward.
Feedback from staff here on our newly implemented SeedCode Complete 2 has been very positive, so we're giving the bid function in Seedcode Complete a go. So far so good; Ive added a couple of lines to the print bid script, one to copy the bid contact's email address to the clipboard for later pasting into the mail client address window;
Copy [Select; Contacts::Email]
The script finishes;
Save Records as PDF [Restore; No dialog; "$$sc_BidID"; Create email; Records being browsed]
Set Field [Projects::Status; Projects Status = "Bid Sent"
The bid id variable is comprised of Bid_ID and ".pdf" so mail clients can display the pdf properly and windows users can open it.
Set Variable [$$sc_BidID; Value:ProjectBids::_id & ".pdf"]
I'm sure there's a tidier way that opens an email and addresses it without the extra paste keystrokes, but it's a whole lot simpler than emailing an estimate from MYOB.
I've also customised the bid number in the Create Bid { ProjectID } script;
Set Field [ProjectBids::_id; $sc_ProjectID & "E" & $sc_Number]
So the bid number is comprised of the Project number that it belongs to, the letter E (for estimate) and a serial number - results in numbers like this 9723E2 where the project number is 9723.
It's all working so well I'd like to trial invoicing direct from Seedcode Complete. Our bookkeeper would then just enter the bare necessities in MYOB and we'd track estimating and invoicing alongside projects. Part of this is customising invoice numbers to follow the same scheme as the bids; Project number, letter "I" and a serial. I can't make it work though... I have this line in the New Invoice script;
Set Field [Invoices::_id; Invoices::_id_Project & "I" & $sc_Number]
Auto enter serial number is turned of in the SeedCodeData file Invoice ID field and the $sc_Number is from
Set Variable [$sc_Number; Value:Count ( ProjectInvoices::_id ) + 1]
It results in a non incrementing Invoice number I2
Any help much appreciated
Rob
Feedback from staff here on our newly implemented SeedCode Complete 2 has been very positive, so we're giving the bid function in Seedcode Complete a go. So far so good; Ive added a couple of lines to the print bid script, one to copy the bid contact's email address to the clipboard for later pasting into the mail client address window;
Copy [Select; Contacts::Email]
The script finishes;
Save Records as PDF [Restore; No dialog; "$$sc_BidID"; Create email; Records being browsed]
Set Field [Projects::Status; Projects Status = "Bid Sent"
The bid id variable is comprised of Bid_ID and ".pdf" so mail clients can display the pdf properly and windows users can open it.
Set Variable [$$sc_BidID; Value:ProjectBids::_id & ".pdf"]
I'm sure there's a tidier way that opens an email and addresses it without the extra paste keystrokes, but it's a whole lot simpler than emailing an estimate from MYOB.
I've also customised the bid number in the Create Bid { ProjectID } script;
Set Field [ProjectBids::_id; $sc_ProjectID & "E" & $sc_Number]
So the bid number is comprised of the Project number that it belongs to, the letter E (for estimate) and a serial number - results in numbers like this 9723E2 where the project number is 9723.
It's all working so well I'd like to trial invoicing direct from Seedcode Complete. Our bookkeeper would then just enter the bare necessities in MYOB and we'd track estimating and invoicing alongside projects. Part of this is customising invoice numbers to follow the same scheme as the bids; Project number, letter "I" and a serial. I can't make it work though... I have this line in the New Invoice script;
Set Field [Invoices::_id; Invoices::_id_Project & "I" & $sc_Number]
Auto enter serial number is turned of in the SeedCodeData file Invoice ID field and the $sc_Number is from
Set Variable [$sc_Number; Value:Count ( ProjectInvoices::_id ) + 1]
It results in a non incrementing Invoice number I2
Any help much appreciated
Rob