HomeTechnical Support » Sage 300 ERP

(fka Sage Accpac ERP)

PB trigger formula for PrintBossMisc Messages in this topic - RSS

paula
Administrator
Posts: 208


6/26/2014
paula
Administrator
Posts: 208
Sent: Tuesday, June 04, 2013 11:29 AM

Actually, the statement is misleading. We should fix our own internal document. The trigger will work if only the PrintBoss Form is used. However, if the rest of the trigger will be used, PrintBossMisc cannot be blanked out. It needs to contain an empty value. Including PrintBossMisc out of order, though, causes a bigger problem.

The options are:

'PB#INFO ['+{@PrintBossForm}']

Or

PB#INFO CA_PO2 (Where CA_PO2 is the name of the PrintBoss Form and this string is added directly to the crystal report rather than placed in the @PrintBossTrigger string)

OR

'PB#INFO ['+{@PrintBossForm}+'], '+
'['+{@PrintBossBank}+'],'+
'['+{@PrintBossDocNo}+'],'+
'['+{@PrintBossAmnt}+'],'+
'['+{@PrintBossRecip}+'],'+
'['+{@PrintBossMisc}+']'

In the last example, some of the fields can be replaced with the blank bracket '[],'+, but the PrintBossMisc must have a value as the last field. PrintBossMisc2 was added later and adjusted so it is an optional field when it appears at the end. The PrintBoss Trigger looks for PrintBossMisc when the trigger includes more than the PrintBossForm field.
0 link
email submissions
Administrator
Posts: 173


6/26/2014
email submissions
Administrator
Posts: 173
Sent: Tuesday, June 04, 2013 10:13 AM

Hi Paula, This is what I found in the document that you sent:

A "PrintBossMisc" formula is required in the PrintBossTrigger, even if you are not using the miscellaneous field. The syntax of the formula in these cases should be a space between quotes. Do not enter two quotes without the space. The space is also required.

I expect that this would be the reason that the formula was created that way and entered into the pb#info line. I have now removed it from many forms. Should I continue to remove it?
0 link






Powered by Jitbit Forum 8.3.8.0 © 2006-2013 Jitbit Software