I would like to place a button on the Customer Ledger Entries form which, when clicked, would open up the Credit Memo form with the selected customer (from Ledger Entries) info already selected and filled in. All my attempts seem to mess up the auto-numbering of the Credit Memo form. Thanks in advance for any assistance.
You have to create the Sales Header (T36) before you call the Form. Assign the Document Type::Credit Memo, get the next number and validate the “Sell to Customer” etc. You might want to do the same with the sales Line (T37) and generate a default Credit Memo based on the amount of the CLE you selected. Before you call the form make sure to save and commit. Marcus Marcus Fabian phone: +41 79 4397872 email@example.com