Hello there,
So I added new document type as described here and here. The procedure seems to be quite simple and consists of 3 basic steps:
- Add new element to DocumentStatus base enum
- Add new element to SalesPrintDocumentStatus base enum
- Duplicate the last if statement in SalesPrintCopies.initDocuments() method and adjust it to match newly created base enum element
After all this is done, one will be able to create new print destinations for the chosen document type in the Order print management form like so:
The problem that I'm having (which not used to be the case before, apparently) is that the record created in SalesPrintSetup table has DocumentStatus field empty:
If I post-populate it with the value I need, then print destination is not being shown in Order print management form.
It works for all other document types, even newly created ones a while ago. Just no new doc. types seem to work neither for purchases nor for sales.
What am I missing here?
Thank you, guys!
Kind regards,
Donatas
*This post is locked for comments
I have the same question (0)

Report
All responses (
Answers (