To give different style rules for different media types. example ipad, mobile, tablet etc. To add media query in css file, Kindly find below. @media mediatype and(expressions) { write the css code here……………………… } * Here in mediatype section, we need to add the type of device the document is being displayed on screen. And… Continue reading How to add media query in css
Month: October 2022
Workflow to set email preference
The default email preference to set the email transaction field in the customer record is set as true in the navigation Setup>Company> Email Preference> CUSTOMERS DEFAULT TO EMAIL TRANSACTIONS. So new customers created will have this check box automatically ticked. Using workflow we can untick the email transaction check box as per our requirements. For… Continue reading Workflow to set email preference
Hide Close Button on the Purchase Order for Some Roles using a Workflow
Scenario User wants to Hide/Remove Close Button on the Purchase Order for Some Roles using a Workflow Solution 1. Navigate to Customization > Workflow > Workflows > New 2. Basic Information: Name: Provide a name for the workflow Record Type: Select Transaction Sub Types: Select Purchase Order Release Status: Select Released Execute as Admin: Enter Checkmark Enable Logging: Enter Checkmark 3. Event Definition: On View or Update: Enter Checkmark 4. Click Save… Continue reading Hide Close Button on the Purchase Order for Some Roles using a Workflow
Proposal For Intercompany transaction for Consolidation Report V2
Proposal summary JCurve Solutions would like to create new report to retrieve data for data from Account balance based on the chart of accounts that are set to show in the report. And the Report will show the intercompany amount effect on each account in the separate column between AP and AR records based on… Continue reading Proposal For Intercompany transaction for Consolidation Report V2
To Get The Current View
In case we need to get the current view displayed on the site. We can use getLayout().currentView; which will be useful to work with extensions based on different views. If we are on checkout we get the view from that section similarly on the pages Sample
API to fetch the statements
Configuring Shipping Method in Magento
Shipping methods are managed in Stores > Configuration > Sales > Shipping Methods. Flat Rate Shipping Method Flat Rate is the standard Magento 2 shipping method that can be applied per single item or per order regardless of the product attributes such as size or weight etc. Set the values in each field as per our… Continue reading Configuring Shipping Method in Magento
npm Error on Implementations
In some implementations of Denali R2, the npm install command returns an error. As a result, the installation cannot continue. This error occurs due to a version mismatch with the request HTTP client. You must change the version of the request client to correct the error. Step 1: Modify package.jsonIf you have not already done… Continue reading npm Error on Implementations
Send XML files to SFTP server
This script summarizes on creating XML files for Purchase Orders and save to an SFTP server. A saved search is used to find the Purchase Orders to be send. The passGUID and hostkey mentioned in the below code should be generated using the SFTP helper tools suitelet.
Proposal For Show The Quantity of Product that is in stock
This proposal covers both the functional and UI development to Show The Quantity of Product that is in stock for the SCA webstore for Second Source Rx-USA-NS. Requirement We have decided that we would like to show the quantity of product that is in stock Our Solution We will extend the corresponding view using Extension… Continue reading Proposal For Show The Quantity of Product that is in stock