Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7819 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Can someone help me.

I am working on an estimating database that once sold will convert the information to an order. My problem lies in that I cannot figure out how to serialize the work order # field with a script. I can easily serialize the estimate # when the record is created, but as we all know we write 10 estimates to get 1 job. so I need to have a script that will check the last order number and add 1 to it. I know it's probally simple but for now the answer eludes me.

Warren cool.gif

Posted

Use the Set Field Script Step.

SetField(WorkOrderID, EstimateID)

HTH

Lee

Posted

Max(Self::OrderNumber) + 1

Posted

That would be if he want to keep a separate number for the work orders. I perfer to keep the chain from estimate to invoice.

Lee

Posted

Hi,

I agree about keeping the chain between Work Orders and Invoices; however, since there are more Work Orders generated than Invoices, you will end up with holes in your invoice numbers.

I would prefer to keep the chain by referencing the Work Order# in a field within the Invoice and then generate sequenced invoice numbers. Just a thought. smirk.gif

LaRetta

Posted

I agree with LaRetta. Auditors get funny about gaps in the invoice number sequence. It is less important that the invoice number matches the estimate number, as long as there is a link.

-bd

Posted

Hog wash,

A work order is an authorization to perform work. Therefore an Invoice would naturally follow.

An Estimate, or Request for proposal, well now, that is a horse of a different color and doesn't even need a number until it becomes a Work Order.

Lee

Posted

No rule established for this IMO.

Surely depends upon each case.

you may have a Work Order splitted in several Invoices too...

You may establish some links in the line item, but it doesn't necessarily mean you need a serial for Work Order "linked" to the Invoice.

This topic is 7819 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.