Jump to content

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

Recommended Posts

Posted

Hi,

I've run into a brick wall while trying to develop my solution. I'm making a simple contracting managment system with couple of tables "contracts", "contract_articles" and "contracts_lines" similar to regular product/invoicing system.

However there is one special feature I want when creating new contracts: I want to automatically insert client and price data (from external table) into contract articles where appropriate. For example I would select "Price and payment" article from contract_articles table and insert price into article text. First I thought I would be able to use some sort of variable inside article text which would be then replaced with proper data. But I guess this is not possible.

Do you guys have some advice on how I should handle this problem?

Thanks in advance!

Posted

I'm not quite sure if I understand your question, but if I do then this might help...

http://www.briandunning.com/cf/831

Posted

I'm not quite sure if I understand your question, but if I do then this might help...

http://www.briandunning.com/cf/831

Thanks! This looks to be exactly what I need. Now what would be the best way to perform this function on my text? I imagine I could run it with script triggers or maybe when I generate contract for printing?

Posted

I don't know what will work best for your database, but here are a few ways to perform it:

- custom menu: perform script on New Record

- script triggers

- button on layout

- have a separate calculated field

This topic is 5191 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.