Skip to main content

Posts

Showing posts with the label ax form control

CST in Microsoft axapta

1)     CST – CST is a tax on sale/ purchase of goods. Credit on Sales Tax is not available. à Tax on purchases is added to the inventory. Also any incidental charges of purchases like freight, clearing & forwarding charges etc are to be added to the inventory. à Components of CST – a) CST à Rates of CST differ from forms to forms like Form C, Form F , Form H , Form E1. Form C is issued when – Goods are purchased\sold outside state in manufacturing, Mining etc. Rate is 2 %. Form F is issued when – There is a stock transfer between two units \ warehouses. Rate is 0% Form H is issue when – There is a Merchant Export i.e. when goods are given to a merchant for export sales purpose. Rate is 0%.

How to Generate group control at run time in dynamics axapta

To Generate dynamics axapta group control at run time in axapta you can try following code. Group is nothing but its one type of control like frame. In that group you can create other control like stringedit,date,enum and extended data types. In group you can set caption,name ,width,height, left,right etc properties . str groupMarkup = ' '; str fieldsMarkup = ' '; str label; str caption; str name; // only generate a group if in a form and not already in a grid if (_inAxFormControl && !_inGridControl && !_inAxGroupControl) { if (controlNode) { name = controlNode.AOTname(); label = controlNode.AOTgetProperty('Caption'); } if (label != '') { caption = 'Caption="' + this.generateLabelMarkup(label) + '"'; } _markup.appendText(strfmt(groupMarkup, name, this.getNextId(), caption)); _markup.appendText('\r\n'); _markup.appendText(fieldsMarkup); _m