Blanket orders and specific sales order number

Is it possible to assign a particular no.-series to sales orders that are created out of blanket orders[?] (by default the sales order no.-series seems to be the default no.-series of sales orders).

Hi Markus Using the standard system the conversion of a blanket will always take the next number in the default sales number series. You can make this a unique series so it is not used by any other sales entry clerks - they use their own series, and hten by virtue it becomes unique (unless someone manually chooses it) but otherwise you will have to mod it. [:D]

Hi Marcus, the mod is very simple though… There is a field on the Blanket Order header called “No. Series”. It is unfortunately uneditable. If you set it to editable, you can enter the desired No. Series here. Don’t forget that the new No. Series must be associated to the default sales no series, and also it should have default set to FALSE.

quote:


Originally posted by David Singleton
Hi Marcus, the mod is very simple though… There is a field on the Blanket Order header called “No. Series”. It is unfortunately uneditable. If you set it to editable, you can enter the desired No. Series here. Don’t forget that the new No. Series must be associated to the default sales no series, and also it should have default set to FALSE.


Thanks guys. David, what exactly do you mean? Isn’t the “No. Series” of the blanket Order Header the no. series for the blanket order? What I want to change is the no. series of the sales order[!] that will eventually be created when one presses the button “Make order”.

Yes, but the way blanet orders work is like this. SalesOrderHeader.copy(BlanketOrderHeader); SalesOrderHeader.Doc Type := Order; SalesOrderHeader.No := ‘’; SalesOrderHeader.Insert(true); So when it trys to create a new No., it looks at the NoSeries int he record (in this case for th Blanket order). Since this is not associated with a sales order number series, it is reset, and the default sales order series is used. If you cheat and insert the number series in that you want to use, then you will get the number you want. The only problem (and the reason that it is non editable) is that once changed on the original Blanket order, the next blanket order will be generated sing the default, and not the last one you used (As per the series stored in the ZUP file). But since virtually no one even knows of this feture, there is very little chance you are actually using it anyway. Anyway just mark the field as editable, put it on the Blanket order form, and you are there.